[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
openat-die module
From: |
Sergey Poznyakoff |
Subject: |
openat-die module |
Date: |
Fri, 11 May 2007 22:15:39 +0300 |
Hello,
Application developers might wish to use custom versions of
openat_save_fail and openat_restore_fail, instead of the
ones provided in openat-die.c. Therefore, I propose the
following patch:
2007-05-11 Sergey Poznyakoff <address@hidden>
* m4/openat.m4 (gl_FUNC_OPENAT): Do not require openat-die
* modules/openat (Files): Remove openat-die.c
(Depends-on): Add openat-die
* modules/openat-die: New module.
Index: m4/openat.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/openat.m4,v
retrieving revision 1.13
diff -p -u -r1.13 openat.m4
--- m4/openat.m4 25 Jan 2007 03:25:54 -0000 1.13
+++ m4/openat.m4 11 May 2007 19:08:35 -0000
@@ -10,7 +10,6 @@ dnl with or without modifications, as lo
AC_DEFUN([gl_FUNC_OPENAT],
[
- AC_LIBOBJ([openat-die])
AC_LIBOBJ([openat-proc])
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_CHECK_FUNCS_ONCE([lchmod])
Index: modules/openat
===================================================================
RCS file: /cvsroot/gnulib/gnulib/modules/openat,v
retrieving revision 1.18
diff -p -u -r1.18 openat
--- modules/openat 24 Dec 2006 17:08:04 -0000 1.18
+++ modules/openat 11 May 2007 19:08:35 -0000
@@ -9,7 +9,6 @@ lib/fstatat.c
lib/mkdirat.c
lib/openat.c
lib/openat.h
-lib/openat-die.c
lib/openat-priv.h
lib/openat-proc.c
m4/openat.m4
@@ -21,6 +20,7 @@ gettext-h
intprops
lchown
lstat
+openat-die
same-inode
save-cwd
stdbool
Index: modules/openat-die
===================================================================
--- /dev/null 1994-07-18 02:46:18.000000000 +0300
+++ modules/openat-die 2007-05-11 21:44:03.000000000 +0300
@@ -0,0 +1,25 @@
+Description:
+Report an openat failure and exit.
+
+Files:
+lib/openat-die.c
+
+Depends-on:
+openat
+error
+gettext-h
+exitfail
+
+configure.ac:
+
+Makefile.am:
+lib_SOURCES += openat-die.c
+
+Include:
+"openat.h"
+
+License:
+GPL
+
+Maintainer:
+all
- openat-die module,
Sergey Poznyakoff <=