Re: avoiding obsolete macros like AC_TRY_RUN

2009-09-07 Thread Simon Josefsson
Ralf Wildenhues ralf.wildenh...@gmx.de writes: Simon Josefsson for m4/gc-camellia.m4 m4/getaddrinfo.m4 m4/getline.m4 m4/readline.m4 m4/select.m4 m4/sockets.m4 m4/socklen.m4 m4/sockpfaf.m4 m4/sysexits.m4 OK to commit? I welcome this change. I have not tested it manually, but please

Re: avoiding obsolete macros like AC_TRY_RUN

2009-09-07 Thread Paolo Bonzini
Paolo Bonzini for m4/poll.m4 Goes without saying, thanks. Paolo

Re: make lchmodat friendlier

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 9/6/2009 11:49 PM: +openat: with no lchmod, only fail lchmodat on symlinks +* lib/fchmodat.c (lchmod) [!HAVE_LCHMOD]: Perform lstat first, to +minimize failure cases. Is this useful to you on Cygwin?

Re: make lchmodat friendlier

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 9/6/2009 11:49 PM: Also, should openat.h provide shortcuts named: accessat() = faccessat(,0) euidaccessat() = faccessat(,AT_EACCESS) statat() = fstatat(,0) lstatat() = fstatat(,AT_SYMLINK_NOFOLLOW) to match the

gnulib-tool -S --test

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It would be nice if './gnulib-tool -S --with-tests --test xxx' created the testdir with symlinks rather than hard links, so that if a test fails, recompilation of the testdir will work even if the editor used to fix the source file breaks hard links.

merge rename and rename-dest-slash

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any objections to deleting the rename-dest-slash module? It performs a subset of the rename module, and I'm about to: a) improve the rename module to work around a cygwin 1.5 bug (rename(a/.,b) succeeds when a is a directory, instead of failing with

Re: merge rename and rename-dest-slash

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 9/7/2009 10:30 AM: Any objections to deleting the rename-dest-slash module? It performs a subset of the rename module, Correction. As currently written, rename.m4 checks whether: rm -rf d1 d2 mkdir d1 rename(d1/,d2)

Re: windows.h: No such file or directory

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 8/22/2009 1:58 AM: John Taylor wrote: I'm trying to build coreutils-7.4 with a cross-compilator (gcc-4.4.1) that runs on i686-unknown-linux-gnu and produces code for x86_64-unknown-linux-gnu. When building coreutils, I

Re: merge rename and rename-dest-slash

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 9/7/2009 11:12 AM: According to Eric Blake on 9/7/2009 10:30 AM: Any objections to deleting the rename-dest-slash module? It performs a subset of the rename module, Correction. As currently written, rename.m4 checks

Re: new snapshot available: coreutils-7.5.65-61cc6

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Pádraig Brady on 9/7/2009 6:32 PM: fstatat.c, line 39: undefined symbol: AT_SYMLINK_NOFOLLOW Hmm. That should be taken care of by the gnulib fcntl.h replacement. Are we missing a #include? Can you post the full failure? gnulib

mkfifoat, renameat

2009-09-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Two more *at functions. mkfifoat is rather simple; the hardest part was ensuring the test still compiles on mingw. renameat is more complex, although I intentionally made it call into a helper function, at_func2, so that I can reuse that function