Re: fix for rename function on Mingw, take 2

2009-04-08 Thread Ben Pfaff
Michael Haubenwallner writes: > On Tue, 2009-04-07 at 20:23 -0700, 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

Re: Build on old SCO - ftruncate

2009-04-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-gnulib] According to Chris Leighton on 4/7/2009 4:05 PM: > Release = 3.2v4.2 > KernelID = 93/04/28 That IS old. > configure: error: in `/u/local/src/coreutils-7.2': > configure: error: Your system lacks the ftruncate function. Does your

Re: fix for rename function on Mingw, take 2

2009-04-08 Thread Michael Haubenwallner
On Tue, 2009-04-07 at 20:23 -0700, 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 at

Re: fix for rename function on Mingw, take 2

2009-04-08 Thread Michel Boaventura
2009/4/8 Ben Pfaff : > Michel, can you test that this works for you?  Thanks! It works! I just had to put "rename" on GNULIB_MODULES inside Smake, as John told me.