Bill Allombert on Fri, 19 Oct 2012 18:33:38 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: temporary files under win32

On Fri, Oct 19, 2012 at 02:05:43PM +0200, Loïc Grenié wrote:
> 2012/10/19 Bill Allombert <>:
> > Maybe we should fix get_file not to be racy.
> > We should remove fix pari_unique_dir/pari_unique_filename.
> > pari_unique_filename is only used to implement pip on DOS EMX which will not
> > be missed.
> >
> > pari_unique_dir could be replaced by pari_create_unique_dir() which create the
> > directory (I think it is already the case though).
>       You are right. get_file and pari_unique_dir should thus not be racy...
>   However if MPQS is unreliable, it looks as if it *is* racy. Is it possible
>   that mkdir can succeed on the same dir if executed in two different
>   processes ?

The error is
  *** bigomega: cannot rename file .\MPae/LPTMP to .\MPae/FREL.
and it seems it also happens if all gp use different PWD.