]> Savannah Git Hosting - gnulib.git/commitdiff
regex: merge patch from libc
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Jun 2014 15:22:20 +0000 (08:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Jun 2014 15:58:54 +0000 (08:58 -0700)
2014-02-12  Joseph Myers  <joseph@codesourcery.com>
Combine __USE_BSD and __USE_SVID into __USE_MISC.
* lib/regex.h [__USE_BSD]: Change condition to [__USE_MISC].

ChangeLog
lib/regex.h

index 818ff806e4e4f7852d1ca9c17a0c48dc1f532fa6..687a79d7b2dd6fcb4a371e81736128df3b6567d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-06-19  Paul Eggert  <eggert@penguin.cs.ucla.edu>
+
+       regex: merge patch from libc
+       2014-02-12  Joseph Myers  <joseph@codesourcery.com>
+       Combine __USE_BSD and __USE_SVID into __USE_MISC.
+       * lib/regex.h [__USE_BSD]: Change condition to [__USE_MISC].
+
 2014-06-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        acl: port to gcc -Wredundant-decls
index 54327c69e3e3bec052e3d49a6b1002336b23fc18..45ac1a0da60587d9c1bf5de0bf41a458e223c59f 100644 (file)
@@ -608,7 +608,7 @@ extern void re_set_registers (struct re_pattern_buffer *__buffer,
                              regoff_t *__starts, regoff_t *__ends);
 #endif /* Use GNU */
 
-#if defined _REGEX_RE_COMP || (defined _LIBC && defined __USE_BSD)
+#if defined _REGEX_RE_COMP || (defined _LIBC && defined __USE_MISC)
 # ifndef _CRAY
 /* 4.2 bsd compatibility.  */
 extern char *re_comp (const char *);