[dhcp-agent-commits] dhcp-agent/src dhcp-daemon.c,1.4,1.5
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-05-25 02:18:49
|
Update of /cvsroot/dhcp-agent/dhcp-agent/src In directory sc8-pr-cvs1:/tmp/cvs-serv22375/src Modified Files: dhcp-daemon.c Log Message: pretty up a bit Index: dhcp-daemon.c =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-daemon.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** dhcp-daemon.c 16 Nov 2002 00:23:43 -0000 1.4 --- dhcp-daemon.c 25 May 2003 02:18:46 -0000 1.5 *************** *** 97,101 **** #ifdef RLIMIT_NOFILES struct rlimit usage_limit; ! #endif /* If we have daemon() use it. */ --- 97,101 ---- #ifdef RLIMIT_NOFILES struct rlimit usage_limit; ! #endif /* RLIMIT_NOFILES */ /* If we have daemon() use it. */ *************** *** 125,129 **** do_fork_and_return_as_child(); ! #endif /* --- 125,129 ---- do_fork_and_return_as_child(); ! #endif /* HAVE_DAEMON */ /* *************** *** 180,184 **** max_descriptors = SENSIBLE_DESCRIPTOR_MAX; ! #endif /* _SC_OPEN_MAX */ for(i = 0; i < max_descriptors; i++) { --- 180,184 ---- max_descriptors = SENSIBLE_DESCRIPTOR_MAX; ! #endif /* HAVE_SYSCONF */ for(i = 0; i < max_descriptors; i++) { |