More open files

This commit is contained in:
Orion Poplawski 2007-04-20 21:36:58 +00:00
commit eb4022e201

View file

@ -5,7 +5,7 @@
/* Maximum number of files can be opened at one time; subtract 3 from
the system allowed to account for stdin, stdout, and stderr */
-#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 3)
+#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 10)
+#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 12)
static int _ncdf = 0 ; /* high water mark on open cdf's */
static NC **_cdfs;