delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/17/23:13:12

From: Alain Magloire <alainm AT rcsm DOT ece DOT mcgill DOT ca>
Message-Id: <199906180313.XAA23452@mccoy2.ECE.McGill.CA>
Subject: Re: Wrong errno value from rename() when sharing problems under Win9X
To: djgpp-workers AT delorie DOT com
Date: Thu, 17 Jun 1999 23:13:25 -0400 (EDT)
In-Reply-To: <Pine.SUN.3.91.990615100240.2646N-100000@is> from "Eli Zaretskii" at Jun 15, 99 10:03:06 am
X-Mailer: ELM [version 2.4 PL25]
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

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.

-- 
au revoir, alain
----
Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!

- Raw text -


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