I installed this:

2005-08-24  Paul Eggert  <[EMAIL PROTECTED]>

        * srclist.txt: Comment out lib/regex.c.  Add glibc bug 1238.
        * lib/regex.c: Do not include <sys/types.h>, as POSIX no longer
        requires this.  (The code never needed it.)

--- config/srclist.txt  24 Aug 2005 23:29:39 -0000      1.83
+++ config/srclist.txt  24 Aug 2005 23:40:45 -0000
@@ -102,7 +102,8 @@ $LIBCSRC/stdlib/getsubopt.c         lib gpl
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1237
 #$LIBCSRC/posix/regcomp.c              lib gpl
 #
-$LIBCSRC/posix/regex.c                 lib gpl
+# http://sources.redhat.com/bugzilla/show_bug.cgi?id=1238
+#$LIBCSRC/posix/regex.c                        lib gpl
 #
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1201
 # http://sources.redhat.com/bugzilla/show_bug.cgi?id=1207
--- lib/regex.c 7 Jul 2005 08:08:39 -0000       1.90
+++ lib/regex.c 24 Aug 2005 23:40:45 -0000
@@ -70,10 +70,6 @@
 # include "../locale/localeinfo.h"
 #endif
 
-/* POSIX says that <sys/types.h> must be included (by the caller) before
-   <regex.h>.  */
-#include <sys/types.h>
-
 /* On some systems, limits.h sets RE_DUP_MAX to a lower value than
    GNU regex allows.  Include it before <regex.h>, which correctly
    #undefs RE_DUP_MAX and sets it to the right value.  */


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to