/[packages]/cauldron/HDF/current/SOURCES/hdf-4.2r3-maxavailfiles.patch
ViewVC logotype

Contents of /cauldron/HDF/current/SOURCES/hdf-4.2r3-maxavailfiles.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 72538 - (show annotations) (download)
Wed Mar 16 13:11:09 2011 UTC (13 years, 1 month ago) by grenoya
File size: 588 byte(s)
imported package HDF
1 --- HDF4.2r3/mfhdf/libsrc/file.c.maxavailfiles 2008-01-27 09:47:11.000000000 -0700
2 +++ HDF4.2r3/mfhdf/libsrc/file.c 2008-10-01 11:48:53.000000000 -0600
3 @@ -45,7 +45,7 @@
4
5 /* Maximum number of files can be opened at one time; subtract 3 from
6 the system allowed to account for stdin, stdout, and stderr */
7 -#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 3)
8 +#define MAX_AVAIL_OPENFILES (MAX_SYS_OPENFILES - 10)
9
10 static int _curr_opened = 0 ; /* the number of files currently opened */
11 /* NOTE: _ncdf might have been the number of files currently opened, yet it

  ViewVC Help
Powered by ViewVC 1.1.30