* utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
instead of OPEN_MAX.
+2000-06-27 H.J. Lu <hjl@lucon.org>
+
+ * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
+ instead of OPEN_MAX.
+
2000-06-27 H.J. Lu <hjl@lucon.org>
* README: Updated.
setsid ();
chdir (DIR_BASE);
- for (filedes = 0; filedes < OPEN_MAX; filedes++) {
+ for (filedes = 0; filedes < sysconf (_SC_OPEN_MAX); filedes++) {
close (filedes);
}
}