Search
SailfishOS Open Build Service
>
Projects
>
home:MartinK
:
sailfish
:
geo
>
libhdf4
> hdf-4.2r3-maxavailfiles.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File hdf-4.2r3-maxavailfiles.patch of Package libhdf4
--- HDF4.2r3/mfhdf/libsrc/file.c 2008-01-27 17:47:11.000000000 +0100 +++ HDF4.2r3_copy/mfhdf/libsrc/file.c 2009-01-06 10:34:49.000000000 +0100 @@ -45,7 +45,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) static int _curr_opened = 0 ; /* the number of files currently opened */ /* NOTE: _ncdf might have been the number of files currently opened, yet it