Date: Thu, 20 Aug 1998 10:02:25 -0400 (EDT) Message-Id: <199808201402.KAA13999@delorie.com> From: DJ Delorie To: djgpp-workers AT delorie DOT com Subject: [zimmer AT dpk DOT berlin DOT fido DOT de: djdev202/djlsr202 from 26.jul.98] Precedence: bulk ------- Start of forwarded message ------- From: zimmer AT dpk DOT berlin DOT fido DOT de (Franz Zimmer) Date: 19 Aug 98 13:08:56 +0000 Subject: djdev202/djlsr202 from 26.jul.98 Organization: Welt am Draht To: dj AT delorie DOT com Hi DJ, I found a strange behaviour of the stat-function. If the named file is missing, i get the error-code ENFILE instead of ENOENT. Maybe this ist located in the transformation-table from dos-error to errno. If findfirst/findnext fail, the resulting dos-error-code is 12h, which will be remapped to the errno-value ENFILE :-( p.s. you can also reach me at fzimmer AT frey DOT de freundliche Gruesse Franz AT dpk DOT berlin DOT fido DOT de ------- End of forwarded message -------