ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/fdlist.c
(Generate patch)

Comparing ircd-hybrid-8/src/fdlist.c (file contents):
Revision 1312 by michael, Mon Mar 26 16:07:20 2012 UTC vs.
Revision 1329 by michael, Sun Apr 1 12:02:12 2012 UTC

# Line 225 | Line 225 | close_standard_fds(void)
225    for (i = 0; i < LOWEST_SAFE_FD; i++)
226    {
227      close(i);
228 <    if (open(PATH_DEVNULL, O_RDWR) < 0)
228 >    if (open("/dev/null", O_RDWR) < 0)
229        exit(-1); /* we're hosed if we can't even open /dev/null */
230    }
231   }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)