Re: [PATCH 3/3] faccessat, etc.: support AT_FDCWD-only use

2012-10-15 Thread Jim Meyering
Paul Eggert wrote: > Thanks for mentioning that. > Sorry, I was a bit too clever with fchmodat etc. > I reproduced the problem on Fedora 17 when building > with CFLAGS=-g, and fixed it as follows. > > --- > ChangeLog| 15 +++ > lib/chmodat.c| 3 +++ > lib/chownat.c| 3

Re: [PATCH 3/3] faccessat, etc.: support AT_FDCWD-only use

2012-10-15 Thread Paul Eggert
Thanks for mentioning that. Sorry, I was a bit too clever with fchmodat etc. I reproduced the problem on Fedora 17 when building with CFLAGS=-g, and fixed it as follows. --- ChangeLog| 15 +++ lib/chmodat.c| 3 +++ lib/chownat.c| 3 +++ lib/fchmodat.c | 2 -- lib/

Re: [PATCH 3/3] faccessat, etc.: support AT_FDCWD-only use

2012-10-15 Thread Jim Meyering
Paul Eggert wrote: > * lib/at-func.c: If GNULIB_SUPPORT_ONLY_AT_FDCWD, then support > this function only if its first argument is AT_FDCWD. > Emacs wants faccessat for AT_EACCESS but not for any first-arg > values other than AT_FDCWD, so it doesn't want all the openat > machinery with fchdir etc. >

[PATCH] fchmodat.c, fchownat.c: compile-impeding typos

2012-10-15 Thread Jim Meyering
Spotted these while investigating freebsd-vs-coreutils-w/latest-gnulib link failures: >From 5ee63ec3af75a07c25f68bfda5fdb55947d06d11 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 15 Oct 2012 18:34:56 +0200 Subject: [PATCH] fchmodat.c, fchownat.c: compile-impeding typos * lib/fchmodat.c

[PATCH] fcntl-h: support GNU flags like O_IGNORE_CTTY

2012-10-15 Thread Paul Eggert
ChangeLog| 11 +++ doc/posix-headers/fcntl.texi | 7 --- lib/fcntl.in.h | 12 tests/test-fcntl-h.c | 15 --- 4 files changed, 39 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 45637f3..ab27b51