guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 4/5] [mingw]: Delete existing target file before attempting r


From: Andy Wingo
Subject: Re: [PATCH 4/5] [mingw]: Delete existing target file before attempting rename.
Date: Sun, 01 May 2011 13:40:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

On Tue 15 Feb 2011 16:35, Jan Nieuwenhuizen <address@hidden> writes:

> From: Jan Nieuwenhuizen <address@hidden>
>
> 2011-02-15  Jan Nieuwenhuizen  <address@hidden>
>
>       * libguile/filesys.c [MINGW32] (my_rename): Add implementation
>       that deletes target if it exists.  Fixes rename behaviour.

This patch has the obvious race condition.  Why does the `rename'
library routine not work on Win32?  The man page says

    CONFORMING TO
           4.3BSD, C89, C99, POSIX.1-2001.

so I am surprised about this behavior.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]