delorie.com/archives/browse.cgi | search |
From: | Martin Str|mberg <ams AT ludd DOT luth DOT se> |
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 |
> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |