Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 24 Apr 2002 22:02:03 +0000 (22:02 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 24 Apr 2002 22:02:03 +0000 (22:02 +0000)
2002-04-14  Bruno Haible  <bruno@clisp.org>

* posix/regex.c (re_max_failures): Add back symbol for binary
compatibility.

ChangeLog
posix/regex.c

index 7a322dd..57d990e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-14  Bruno Haible  <bruno@clisp.org>
+
+       * posix/regex.c (re_max_failures): Add back symbol for binary
+       compatibility.
+
 2002-04-22  Isamu Hasegawa  <isamu@yamato.ibm.com>
 
        * posix/regcomp.c (re_compile_internal): Adapt it to new interface
index 03bda25..0fe38d3 100644 (file)
 #include "regcomp.c"
 #include "regexec.c"
 #include "regex_internal.c"
+
+/* Binary backward compatibility.  */
+#if _LIBC
+# include <shlib-compat.h>
+# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_3)
+link_warning (re_max_failures, "the 're_max_failures' variable is obsolete and will go away.")
+int re_max_failures = 2000;
+# endif
+#endif