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!