From eb4022e2019634ea6a45a84cfbfd2ed886dc7cd7 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Apr 20 2007 21:36:58 +0000 Subject: More open files --- diff --git a/hdf-4.2r1p4-maxavailfiles.patch b/hdf-4.2r1p4-maxavailfiles.patch index 9afa15d..8ff4f0c 100644 --- a/hdf-4.2r1p4-maxavailfiles.patch +++ b/hdf-4.2r1p4-maxavailfiles.patch @@ -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;