Mail Archives: djgpp-workers/2001/08/16/08:14:35
On Thu, 16 Aug 2001, Charles Sandmann wrote:
> _open.c cleaned up a bit. Testing looks good. Test program below, use it
> to look at results from _open linked in (plus see what happens on other
> calls using old _open). Please make comments, then we test?
This looks fine, thanks.
Did you have an opportunity to test whether using SFN open nukes the long
file name entry from the directory, e.g. if you use O_TRUNC? I vaguely
remember something about such side effects of using legacy DOS calls.
Perhaps we should simply add the code to your test program, which would
use findfirst or stat after the last open, to see whether the file still
exists under the original long name.
- Raw text -