File hdf-4.2.9-maxavailfiles.patch of Package hdf

diff -ur hdf-4.2.9/mfhdf/libsrc/file.c hdf-4.2.9_fix/mfhdf/libsrc/file.c
--- hdf-4.2.9/mfhdf/libsrc/file.c	2013-02-08 05:44:46.000000000 +0100
+++ hdf-4.2.9_fix/mfhdf/libsrc/file.c	2014-02-11 09:59:47.153249768 +0100
@@ -46,7 +46,7 @@
    be in hlimits.h file in the future. EIP 2010-02-01*/
 
 #define H4_MAX_AVAIL_OPENFILES 20000
-#define MAX_AVAIL_OPENFILES  (((MAX_SYS_OPENFILES - 3) > H4_MAX_AVAIL_OPENFILES) ? H4_MAX_AVAIL_OPENFILES : (MAX_SYS_OPENFILES - 3)) 
+#define MAX_AVAIL_OPENFILES  (((MAX_SYS_OPENFILES - 10) > H4_MAX_AVAIL_OPENFILES) ? H4_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