/[svn]/ircd-hybrid/branches/8.2.x/src/fdlist.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/src/fdlist.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6553 by michael, Tue Feb 17 17:55:40 2015 UTC revision 6554 by michael, Sat Oct 3 16:56:36 2015 UTC
# Line 197  close_standard_fds(void) Line 197  close_standard_fds(void)
197      close(i);      close(i);
198    
199      if (open("/dev/null", O_RDWR) < 0)      if (open("/dev/null", O_RDWR) < 0)
200        exit(-1); /* we're hosed if we can't even open /dev/null */        exit(EXIT_FAILURE); /* we're hosed if we can't even open /dev/null */
201    }    }
202  }  }
203    

Legend:
Removed from v.6553  
changed lines
  Added in v.6554

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28