Date: Sun, 23 Aug 1998 16:54:25 +0300 (IDT) From: Eli Zaretskii To: Andris Pavenis cc: djgpp-workers AT delorie DOT com Subject: Re: One notes about DJGPP.ENV from DJDEV202.ZIP In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 19 Aug 1998, Andris Pavenis wrote: > If I specify COMPILER_PATH to look in $DJDIR/bin then option > -isystem $DJDIR/bin/include is added to cpp command line > and cpp terminates with message (only with LFN=N) > > c:/djgpp/bin/include/.: Too many open files in system (ENFILE) I think this is due to a typo in src/libc/dos/errno/doserr2e.c (my fault): it maps error 12h to ENFILE instead of ENMFILE. `stat' knows that when it gets ENMFILE from `findfirst', it should return ENOENT, but ENFILE breaks that. I think if you correct doserr2e.c and rebuild against a fixed libc.a, the problem will go away. Sorry about that, but getting that monstrous table in doserr2e.c right was a bitch, and similar mnemonics such as ENFILE/ENMFILE don't make it easier, either.