Re: manpages-dev: please note thread safeness of %m in vfprintf(3)
From: Stéphane Aulery <hidden>
Date: 2015-03-09 07:47:35
Hello Ma Shimiao, Le lundi 09 mars 2015 à 02:20:07, Ma Shimiao a écrit :
On 03/07/2015 06:38 PM, Stéphane Aulery wrote:quoted
A Debian user has applied to mention that strerror_r(3) is thread safe.quoted
Frome Martin Godisch [off-list ref], Wed, 6 Apr 2011 09:30:30 +0200 Please add a note to vfprintf(3) telling users that the %m conversion specifier is thread safe.I'm not sure why he need a note to indicate that the %m conversion specifier is thread safe. From our research and glibc's document, vfprintf(3) is thread safe except when users pass float formatting, custom formatting or single quota may cause locale dependency problem. And I'm going to add thread safety information of vfprintf() into printf.3. If there is something special about %m, we'd like to know. And I'm willing to add it.
I will send you answer to Martin Godisch, but I don't think there is something special. I will wait your patch before closing this bug. Thanks. Regards, -- Stéphane Aulery -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html