This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] manual: unmark locale from addmntent and putpwent
- From: Florian Weimer <fweimer at redhat dot com>
- To: Ma Shimiao <mashimiao dot fnst at cn dot fujitsu dot com>, libc-alpha at sourceware dot org
- Cc: aoliva at redhat dot com
- Date: Tue, 03 Mar 2015 11:35:47 +0100
- Subject: Re: [PATCH] manual: unmark locale from addmntent and putpwent
- Authentication-results: sourceware.org; auth=none
- References: <1416822086-13020-1-git-send-email-mashimiao dot fnst at cn dot fujitsu dot com>
On 11/24/2014 10:41 AM, Ma Shimiao wrote:
> fprintf will use locale relative macros in the following two status:
> 1) the format passed to fprintf has "\'" character
> 2) the format passed to fprintf has custom format specifier
> when calling fprintf, addmntent and putpwent do not meet any one of
> the above conditions.
See my other comment regarding the decimal separator. I think this
patch is still valid (addmntent and putpwent do not use floating point),
so this looks good to me.
--
Florian Weimer / Red Hat Product Security