* 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.
* modules/faccessat, modules/f
* m4/faccessat.m4 (gl_PREREQ_FACCESSAT):
Use AT_CHECK_FUNCS for 'access', not AC_CHECK_FUNCS_ONCE,
since it's only on unusual platforms that we need to check for
'access', and it's better not to slow 'configure' down on all
platforms.
---
ChangeLog | 7 +++
m4/faccessat.m4 | 4 ++--
2 fi
* lib/faccessat.c: Include , for AT_EACCESS.
Needed on Solaris 10, which doesn't have AT_EACCESS,
so we need the Gnulib fcntl.h, which defines it.
---
ChangeLog | 7 +++
lib/faccessat.c | 1 +
2 files changed, 8 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 36334f4..e301fb0 100
On 10/14/2012 01:21 PM, Michael Goffioul wrote:
Hi,
I get a compilation failure in canonicalize.c due to unsupported C99 feature in
MSVC, namely the ability to define variables anywhere in C code. Is is possible
to swap lines 102 and 103 in that file? That is:
91 char *
92 canonicalize_
Hi,
I get a compilation failure in canonicalize.c due to unsupported C99
feature in MSVC, namely the ability to define variables anywhere in C code.
Is is possible to swap lines 102 and 103 in that file? That is:
91 char *
92 canonicalize_filename_mode (const char *name, canonicalize_mode_t
c