Commit Graph

5 Commits

Author SHA1 Message Date
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