[PATCH/RFC] Keep exported _nl_default_dirname constant when prefix changes

Andreas Schwab schwab@suse.de
Tue Dec 11 11:18:00 GMT 2012


Jonathan Nieder <jrnieder@gmail.com> writes:

> diff --git a/intl/Versions b/intl/Versions
> index d76982db..4491e595 100644
> --- a/intl/Versions
> +++ b/intl/Versions
> @@ -1,7 +1,14 @@
> +%define SHARED
> +%include <shlib-compat.h>
> +
>  libc {
>    GLIBC_2.0 {
>      # global variables
> -    _nl_msg_cat_cntr; _nl_default_dirname; _nl_domain_bindings;
> +    _nl_msg_cat_cntr;
> +%if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_17)
> +    _nl_default_dirname;
> +%endif

Do you need this?  AFAIU if the symbol is not defined (ie. min-ABI is
2.17) it is just ignored.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



More information about the Libc-alpha mailing list