delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/18/02:56:49

Date: Fri, 18 Jun 1999 09:47:04 +0300 (WET)
From: Andris Pavenis <pavenis AT ieva01 DOT lanet DOT lv>
To: Alain Magloire <alainm AT rcsm DOT ece DOT mcgill DOT ca>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Wrong errno value from rename() when sharing problems under
Win9X
In-Reply-To: <199906180313.XAA23452@mccoy2.ECE.McGill.CA>
Message-ID: <Pine.A41.4.05.9906180945400.64480-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


On Thu, 17 Jun 1999, Alain Magloire wrote:

> Bonjour M. Eli Zaretskii
> 
> > On Mon, 14 Jun 1999, Alain Magloire wrote:
> > 
> > > I thought, according to an old thread in this list, you could not
> > > do fd=open("file",..);unlink("file");read(fd,...);
> > 
> > That's not the problem that Andris was reporting.  His test program
> > worked as expected: the file was indeed NOT renamed, and the call to
> > `rename' failed.
> 
> ...
> Ha ! Sorry for the interruption
> But does this mean one can not rename() an open file in
> DOS/Win9x ? If yes, dommage.
> 

It's seems to be so with Win95. It's not so with plain DOS, WinNT however
I havent' tested for different side effects. 

Complain to Bill Gates

Andris

- Raw text -


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