Todd C. Miller
3b8b88407f
Add __unused to rcsids
2005-01-27 15:42:30 +00:00
Todd C. Miller
2c2daa8eca
Use: #include <config.h>
...
Not: #include "config.h"
That way we get the correct config.h when build dir != src dir
2004-11-19 18:39:14 +00:00
Todd C. Miller
cebfa4c030
Only check /proc/$$/fd if we have the dirfd function/macro.
2004-06-01 20:51:56 +00:00
Todd C. Miller
a79bb72689
dirfd() is now defined in compat.h as needed.
2004-06-01 18:59:28 +00:00
Todd C. Miller
e2a573d6cc
If there is a /proc/$$/fd directory, behave like the Solaris closefrom()
...
and only close the descriptors listed therein.
2004-06-01 16:44:14 +00:00
Todd C. Miller
2f323ada7f
o sysconf returns a long, not an int.
...
o check for negative return value from sysconf/getdtablesize and use
OPEN_MAX in this case.
o define OPEN_MAX to 256 for those without it (a fair guess...)
2004-05-31 18:16:34 +00:00
Todd C. Miller
5b217d36a3
More to a less restrictive, ISC-style license.
2004-02-13 21:36:43 +00:00
Todd C. Miller
a34078ac33
closefrom(3) for systems w/o it
2004-01-12 18:55:30 +00:00