Mail Archives: djgpp-workers/2000/08/16/06:06:32
Eli Zaretskii wrote:
> I'm not sure I understand how readlink is going to call _open, but
> opening a file with SH_DENYNO as the default is not always a good
> idea. Take a look at the table of sharing behavior in RBIL, under
> function 3Dh of Int 21: at least for SHARE.EXE it seems to say that,
> if the file is open by another program in compatibility mode, and you
> open it with SH_DENYNO, it fails if the file is not read-only
> (whatever that means), even if, like in readlink, you open the file
> for read-only access.
Yes, I can see all the mess in the table. I will make two-step open
in readlink() too. Thanks for clarifying.
Laurynas
- Raw text -