diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-04-24 22:02:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-04-24 22:02:03 +0000 |
commit | 80c00d3173bbca4784787733578e868751bcfec0 (patch) | |
tree | e7f77e94d83f329d76f42dfe6fef3990e522f37f /posix/regex.c | |
parent | 612546c60dd28d7af44fbb2bc98c69c33b4a0c49 (diff) | |
download | glibc-80c00d3173bbca4784787733578e868751bcfec0.tar.gz |
Update.
2002-04-14 Bruno Haible <bruno@clisp.org>
* posix/regex.c (re_max_failures): Add back symbol for binary
compatibility.
Diffstat (limited to 'posix/regex.c')
-rw-r--r-- | posix/regex.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 <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 |