From 80c00d3173bbca4784787733578e868751bcfec0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 Apr 2002 22:02:03 +0000 Subject: Update. 2002-04-14 Bruno Haible * posix/regex.c (re_max_failures): Add back symbol for binary compatibility. --- ChangeLog | 5 +++++ posix/regex.c | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7a322dd464..57d990eff2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-04-14 Bruno Haible + + * posix/regex.c (re_max_failures): Add back symbol for binary + compatibility. + 2002-04-22 Isamu Hasegawa * posix/regcomp.c (re_compile_internal): Adapt it to new interface diff --git a/posix/regex.c b/posix/regex.c index 03bda25f0b..0fe38d3c63 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -50,3 +50,12 @@ #include "regcomp.c" #include "regexec.c" #include "regex_internal.c" + +/* Binary backward compatibility. */ +#if _LIBC +# include +# 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 -- cgit v1.2.3-70-g09d2