ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtperl.xs
(Generate patch)

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.116 by root, Sun Nov 11 04:08:00 2007 UTC vs.
Revision 1.117 by root, Thu Dec 13 18:24:36 2007 UTC

857 for (int i = AvFILL (env) + 1; i--; ) 857 for (int i = AvFILL (env) + 1; i--; )
858 envv->push_back (strdup (SvPVbyte_nolen (*av_fetch (env, i, 1)))); 858 envv->push_back (strdup (SvPVbyte_nolen (*av_fetch (env, i, 1))));
859 859
860 envv->push_back (0); 860 envv->push_back (0);
861 861
862 bool success;
863
864 try 862 try
865 { 863 {
866 success = term->init (argv, envv); 864 term->init (argv, envv);
867 } 865 }
868 catch (const class rxvt_failure_exception &e) 866 catch (const class rxvt_failure_exception &e)
869 {
870 success = false;
871 }
872
873 if (!success)
874 { 867 {
875 term->destroy (); 868 term->destroy ();
876 croak ("error while initializing new terminal instance"); 869 croak ("error while initializing new terminal instance");
877 } 870 }
878 871

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines