home *** CD-ROM | disk | FTP | other *** search
- diff -c old/getdtabl.c ./getdtabl.c
- *** old/getdtabl.c Thu Mar 7 12:06:02 1991
- --- ./getdtabl.c Sat Feb 15 08:14:34 1992
- ***************
- *** 12,18 ****
- ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
- getdtablesize()
- {
- ! return 50; /* really depends on FILES= in config.sys */
- }
- --- 12,29 ----
- ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- */
-
- + /*
- + Modified (50->255) by W. Metzenthen to reflect changed code for the
- + maximum number of handles.
- + Note: there are up to 252 handles which can be aquired under
- + MS-DOS 5.00 (apart from the standard handles). DJGPP pre-defines
- + three streams (stdin,stdout,stderr). Therefore the maximum number
- + of streams is 252+3 = 255. (Actually, go32 already grabs three
- + handles for its own use, so we can really have just 252 streams!)
- + 12 Feb 1992.
- + */
- +
- getdtablesize()
- {
- ! return 255; /* really depends on FILES= in config.sys */
- }
-