Mail Archives: djgpp-workers/2000/11/28/23:11:49
> Waiting to hear from Mark on this, but it seems to me a reasonable
> change to make. Mark, what do you think?
I haven't been following the discussion. But from reading the earlier posts I
see no problem with the change.
Also, I believe I wrote the mysterious comment (from my original code):
/* DOS/Windows only support read locks on a per-file basis,
so any attempted use of a read lock is an error. */
based on some document, possibly the RBIL. Perhaps a better way to have put
it would have been:
/* DOS/Windows 9x do not support read locks, so any attempted use is an
error. */
It's better to specify Windows 9x and not just Windows since Windows NT can
emulate read locks.
I can go along with the extra file handle checks, but I don't really think
they're neccessary because the early _get_dev_info test does the job of
filtering out bad handles.
Mark
- Raw text -