bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: openat-priv.h needs intprops.h


From: Jim Meyering
Subject: Re: openat-priv.h needs intprops.h
Date: Tue, 24 Jan 2006 20:20:16 +0100

"Mark D. Baushke" <address@hidden> wrote:
> Hi Jim,
>
> The openat provided file openat-priv.h tries to
> include "intprops.h" but that file is not listed
> in the modules/openat file as a dependency.
>
> The following patch seems to fix this problem for me.
>
> There is probably a better way to do it, but I will
> leave that to you.

Hi Mark,

Thank you.
I've applied your patch as well as this one:
(Yes, it's redundant.  Eventually, I hope to find the time to make this
sort of duplication unnecessary, without sacrificing the security provided
by recording the dependency also in the .m4 file.)

2006-01-24  Jim Meyering  <address@hidden>

        * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
        Reported by Mark D. Baushke.

Index: m4/openat.m4
===================================================================
RCS file: /sources/gnulib/gnulib/m4/openat.m4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -u -r1.4 -r1.5
--- m4/openat.m4        9 Jan 2006 23:13:57 -0000       1.4
+++ m4/openat.m4        24 Jan 2006 19:15:21 -0000      1.5
@@ -1,7 +1,7 @@
-#serial 7
+#serial 8
 # See if we need to use our replacement for Solaris' openat function.
 
-dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -12,6 +12,7 @@ AC_DEFUN([gl_FUNC_OPENAT],
 [
   AC_LIBSOURCES([openat.c, openat.h, openat-priv.h, openat-die.c])
   AC_LIBSOURCES([mkdirat.c])
+  AC_LIBSOURCES([intprops.h])
 
   # No system provides a mkdirat function; compile it unconditionally.
   AC_LIBOBJ([mkdirat])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]