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

Comparing rxvt-unicode/src/rxvtd.C (file contents):
Revision 1.22 by root, Fri Dec 23 14:46:35 2005 UTC vs.
Revision 1.23 by root, Wed Jan 11 00:59:58 2006 UTC

186 } 186 }
187 187
188 envv->push_back (0); 188 envv->push_back (0);
189 189
190 { 190 {
191 char **old_environ = environ;
192 environ = envv->begin ();
193
194 rxvt_term *term = new rxvt_term; 191 rxvt_term *term = new rxvt_term;
195 192
196 term->log_hook = &log_cb; 193 term->log_hook = &log_cb;
197 term->getfd_hook = &getfd_cb; 194 term->getfd_hook = &getfd_cb;
198 term->argv = argv; 195 term->argv = argv;
209 success = false; 206 success = false;
210 } 207 }
211 208
212 term->log_hook = 0; 209 term->log_hook = 0;
213 210
214 environ = old_environ;
215 chdir ("/"); 211 chdir ("/");
216 212
217 if (!success) 213 if (!success)
218 term->destroy (); 214 term->destroy ();
219 215

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines