From: Martin Str|mberg Message-Id: <199808222118.XAA29605@father.ludd.luth.se> Subject: Re: stat c:/con To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS) Date: Sat, 22 Aug 1998 23:18:08 +0200 (MET DST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk > IMHO, this is a bug. Either `stat' should avoid calling > `_is_executable' on devices, or `_is_executable' should fail > immediately, without reading, when presented with a file that's really a > device. I'm not sure which is better. Well, better to correct the bug at the source. Devices can't ever be executed, or? If they can't then _is_executable shouldn't try to read from a device. Silence, MartinS