Hi Jan, On Sun 01 May 2011 13:40, Andy Wingo <wi...@pobox.com> writes:
> On Tue 15 Feb 2011 16:35, Jan Nieuwenhuizen <janneke-l...@xs4all.nl> writes: > >> From: Jan Nieuwenhuizen <jann...@gnu.org> >> >> 2011-02-15 Jan Nieuwenhuizen <jann...@gnu.org> >> >> * 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. C99 actually doesn't specify what happens if the destination file exists. I have added the `rename' gnulib module, which should fix this particular issue (modulo canonicalize-lgpl, of course). Andy -- http://wingolog.org/