delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/17/07:43:28

Date: Fri, 17 Aug 2001 14:26:11 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: wojciech DOT galazka AT polkomtel DOT com DOT pl
Message-Id: <6137-Fri17Aug2001142611+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <250B3114DA16D511B82C00E0094005F8023FC088@MSGWAW11> (message from
=?iso-8859-2?Q?Wojciech_Ga=B3=B1zka?= on Fri, 17 Aug 2001 12:04:36
+0200)
Subject: Re: Win2K : what about _creat* ?
References: <250B3114DA16D511B82C00E0094005F8023FC088 AT MSGWAW11>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: =?iso-8859-2?Q?Wojciech_Ga=B3=B1zka?= <wojciech DOT galazka AT polkomtel DOT com DOT pl>
> Date: Fri, 17 Aug 2001 12:04:36 +0200
> > 
> > I suggest the other way around: open first, then close the LFN
> > handle.  This way, you minimize the risk of something removing the
> > file in between.  (You might need to fsync the handle before the call
> > to _open, though.)
> > 
> 	Shouldn't we worry about sharing permission on the file being
> oopened twice?

I don't know; is there some problem?

- Raw text -


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