+2003-09-15 NeilBrown <neilb@cse.unsw.edu.au>
+
+ Release 1.0.6
+
+ * configure.in, nfs-utils.spec: Update version to 1.0.4
+ * run autoconf
+
2003-09-12 Chip Salzenberg <chip@pobox.com>
* debian/changelog: Version 1.0.6-1.
argv [0], strerror(errno));
else {
/* glibc sunrpc code dies if getdtablesize > FD_SETSIZE */
- if (descriptors == 0 && rlim.rlim_cur > FD_SETSIZE)
+ if ((descriptors == 0 && rlim.rlim_cur > FD_SETSIZE) ||
+ descriptors > FD_SETSIZE)
descriptors = FD_SETSIZE;
if (descriptors) {
-
rlim.rlim_cur = descriptors;
if (setrlimit (RLIMIT_NOFILE, &rlim) != 0) {
fprintf(stderr, "%s: setrlimit (RLIMIT_NOFILE) failed: %s\n",