]> granicus.if.org Git - sudo/commit
o sysconf returns a long, not an int.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 31 May 2004 18:16:34 +0000 (18:16 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 31 May 2004 18:16:34 +0000 (18:16 +0000)
commit2f323ada7f3f18318b46bc4381a5a917200f2551
treee5402bd33766e5bc641df64de3cb5abe936e356e
parent8d8bc778d1d6ae1ec843fb0e303816bdb2b40b26
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...)
closefrom.c