[PATCH] strfmon_l: Use specified locale for number formatting [BZ #19633]
Stefan Liebler
stli@linux.vnet.ibm.com
Tue Apr 5 15:05:00 GMT 2016
On 04/05/2016 02:50 PM, Andreas Schwab wrote:
> 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.
>
Here is an updated patch to reflect the mentioned changes.
Okay to commit?
ChangeLog:
2016-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
* stdio-common/printf_fp.c (__printf_fp_l):
Rename ___printf_fp_l to __printf_fp_l and
remove strong alias. Use libc_hidden_def instead
of ldbl_hidden_def macro.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20160405_printf_fp_l_2.patch
Type: text/x-patch
Size: 1045 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160405/bdb1c83d/attachment.bin>
More information about the Libc-alpha
mailing list