From 2ee444b5fe414a627f8600cb3989b8eed1676b9f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 15 Aug 2006 19:17:30 +0000 Subject: [./] * .x-sc_require_config_h: Add lib/at-func.c. [lib/] * at-func.c: New file, with the logic of all emulated at-functions. * openat-priv.h: Include and define ENOSYS, in support of the EXPECTED_ERRNO macro. * openat.c (fstatat, unlinkat, fchownat): Remove function definitions. Instead, define the appropriate symbols and include "at-func.c". * mkdirat.c (mkdirat): Likewise. * fchmodat.c (fchmodat): Likewise. (ENOSYS): Remove definition. * openat.c: Don't include , now that "openat-priv.h" does it. Don't include "unistd--.h" -- it wasn't ever used. [m4/] * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES. --- m4/ChangeLog | 4 ++++ m4/openat.m4 | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/ChangeLog b/m4/ChangeLog index f5c55d13d..d225958c7 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-08-15 Jim Meyering + + * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES. + 2006-08-10 Jim Meyering Update from gnulib. diff --git a/m4/openat.m4 b/m4/openat.m4 index 9879a0112..0abb8c87d 100644 --- a/m4/openat.m4 +++ b/m4/openat.m4 @@ -1,4 +1,4 @@ -#serial 8 +#serial 9 # See if we need to use our replacement for Solaris' openat et al functions. dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. @@ -10,7 +10,7 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_OPENAT], [ - AC_LIBSOURCES([openat.c, openat.h, openat-priv.h, openat-die.c]) + AC_LIBSOURCES([openat.c, openat.h, openat-priv.h, openat-die.c, at-func.c]) AC_LIBSOURCES([intprops.h]) AC_LIBSOURCES([mkdirat.c]) AC_LIBSOURCES([fchmodat.c]) -- cgit v1.2.3-70-g09d2