bug-gnulib
[Top][All Lists]
Advanced

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

Re: fix for rename function on Mingw


From: Jim Meyering
Subject: Re: fix for rename function on Mingw
Date: Sat, 21 Mar 2009 08:23:38 +0100

Ben Pfaff wrote:
> On the Windows platform, Microsoft documents the rename function
> as refusing to replace existing destination files.  This is
> allowed by C89 (and C99) but it is not POSIX-compliant, and it
> can be quite surprising to programs that want to atomically
> replace files.
>
> Here is a gnulib commit that I am proposing.  It (cross)compiles
> on Mingw, but I am waiting to hear back from my Windows tester to
> find out whether it actually solves the problem for him.
>
> Comments?

Hi Ben,

That looks fine.
Please increment the serial number in rename.m4.
Also, you'll want to remove the trailing blanks on two lines: s/fi  $//.

Thanks!




reply via email to

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