delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/08/16/05:06:07

Message-ID: <399A58A0.473D5E04@softhome.net>
Date: Wed, 16 Aug 2000 11:02:24 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.74 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
Subject: Re: Patch: open() adjustment for symlinks
References: <39998D7D DOT 70F85B9E AT softhome DOT net> <5137-Tue15Aug2000223737+0300-eliz AT is DOT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> Also note that the special precautions that `open' takes not to fail
> in the case of a file that's open by another program on Windows, in
> this fragment:
> aren't in __solve_symlinks, sop `open' might fail inside
> __solve_symlinks in these cases.

One more thing is unclear: in open() there is another _open() call, if
the first fail. I assume it is OK to get away with single _open() call
in readlink(), if it has SH_DENYNO set?

Laurynas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019