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

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.240 by ayin, Sat Jan 19 13:05:55 2008 UTC vs.
Revision 1.241 by root, Sat Jan 19 14:23:33 2008 UTC

331 dup2 (i, STDIN_FILENO); 331 dup2 (i, STDIN_FILENO);
332 close (i); 332 close (i);
333 } 333 }
334 334
335 dup2 (STDERR_FILENO, STDOUT_FILENO); 335 dup2 (STDERR_FILENO, STDOUT_FILENO);
336
337#if 0 // schmorp sayz closing filies is murder
338 for (i = STDERR_FILENO + 1; i < num_fds; i++)
339 {
340#ifdef __sgi /* Alex Coventry says we need 4 & 7 too */
341 if (i == 4 || i == 7)
342 continue;
343#endif
344 close (i);
345 }
346#endif
347} 336}
348 337
349/*----------------------------------------------------------------------*/ 338/*----------------------------------------------------------------------*/
350const char ** 339const char **
351rxvt_term::init_resources (int argc, const char *const *argv) 340rxvt_term::init_resources (int argc, const char *const *argv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines