[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/2] regex: merge patch from libc
From: |
Paul Eggert |
Subject: |
[PATCH 1/2] regex: merge patch from libc |
Date: |
Thu, 19 Jun 2014 08:22:20 -0700 |
2014-02-12 Joseph Myers <address@hidden>
Combine __USE_BSD and __USE_SVID into __USE_MISC.
* lib/regex.h [__USE_BSD]: Change condition to [__USE_MISC].
---
ChangeLog | 7 +++++++
lib/regex.h | 2 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 818ff80..687a79d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-06-19 Paul Eggert <address@hidden>
+
+ regex: merge patch from libc
+ 2014-02-12 Joseph Myers <address@hidden>
+ Combine __USE_BSD and __USE_SVID into __USE_MISC.
+ * lib/regex.h [__USE_BSD]: Change condition to [__USE_MISC].
+
2014-06-17 Paul Eggert <address@hidden>
acl: port to gcc -Wredundant-decls
diff --git a/lib/regex.h b/lib/regex.h
index 54327c6..45ac1a0 100644
--- a/lib/regex.h
+++ b/lib/regex.h
@@ -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 *);
--
1.9.3
- [PATCH 1/2] regex: merge patch from libc,
Paul Eggert <=