This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] strfmon_l: Use specified locale for number formatting [BZ #19633]
- From: Andreas Schwab <schwab at suse dot de>
- To: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 05 Apr 2016 14:50:32 +0200
- Subject: Re: [PATCH] strfmon_l: Use specified locale for number formatting [BZ #19633]
- Authentication-results: sourceware.org; auth=none
- References: <56CF62D0 dot 8060803 at redhat dot com> <56CF7D30 dot 2090000 at redhat dot com> <56DD80AF dot 3000408 at redhat dot com> <56DD9E1C dot 5030408 at redhat dot com> <56DDA516 dot 4090509 at redhat dot com> <56DDB33A dot 1000405 at redhat dot com> <56DDDF0D dot 8040601 at redhat dot com> <56FBBDE3 dot 2050106 at redhat dot com> <56FBEBED dot 6050206 at gmail dot com> <57027826 dot 4000308 at redhat dot com> <ne03t8$nla$1 at ger dot gmane dot org>
Stefan Liebler <stli@linux.vnet.ibm.com> writes:
> diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
> index baada9e..fb2a763 100644
> --- a/stdio-common/printf_fp.c
> +++ b/stdio-common/printf_fp.c
> @@ -1248,8 +1248,8 @@ ___printf_fp_l (FILE *fp, locale_t loc,
> }
> return done;
> }
> -ldbl_hidden_def (___printf_fp_l, __printf_fp_l)
> -ldbl_strong_alias (___printf_fp_l, __printf_fp_l)
> +libc_hidden_def (__printf_fp_l)
> +strong_alias (___printf_fp_l, __printf_fp_l)
Please rename ___printf_fp_l to __printf_fp_l, no need for the alias.
Otherwise looks ok.
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."