linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* manpages-dev: please note thread safeness of %m in vfprintf(3)
@ 2015-03-07 10:38 Stéphane Aulery
       [not found] ` <20150307103821.GA2043-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Stéphane Aulery @ 2015-03-07 10:38 UTC (permalink / raw)
  To: Ma Shimiao, linux-man-u79uwXL29TY76Z2rM5mHXA
  Cc: Michael Kerrisk, 621057-forwarded-61a8vm9lEZVf4u+23C9RwQ

Hello Ma Shimiao,

A Debian user has applied to mention that strerror_r(3) is thread safe.

I quote his message [1]:

> Frome Martin Godisch <martin-AOktpf5JBruELgA04lAiVw@public.gmane.org>, 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.
>
> Rationale: errno(3) is thread local, strerror_r(3) is thread safe, and
> vfprintf(3) uses errno and strerror_r (in
> eglibc-2.11.2/stdio-common/vfprintf.c:974).

This is your area, it may interest you.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621057

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-09  8:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-07 10:38 manpages-dev: please note thread safeness of %m in vfprintf(3) Stéphane Aulery
     [not found] ` <20150307103821.GA2043-GANU6spQydw@public.gmane.org>
2015-03-09  6:20   ` Ma Shimiao
     [not found]     ` <54FD3B97.5050400-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-03-09  7:47       ` Stéphane Aulery
     [not found]         ` <20150309074735.GA1144-GANU6spQydw@public.gmane.org>
2015-03-09  8:23           ` Ma Shimiao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).