Linux Manual Pages development
 help / color / mirror / Atom feed
* [PATCH] getgrent.3: Modify thread-safety information
@ 2015-02-10  7:54 Ma Shimiao
       [not found] ` <1423554863-26245-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ma Shimiao @ 2015-02-10  7:54 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Ma Shimiao

As annotation in glibc manual is more detailed, change the 
thread-safety information to be the same as glibc manual.

Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
 man3/getgrent.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man3/getgrent.3 b/man3/getgrent.3
index f3240aa..21d4759 100644
--- a/man3/getgrent.3
+++ b/man3/getgrent.3
@@ -168,16 +168,16 @@ For an explanation of the terms used in this section, see
 .BR attributes (7).
 .TS
 allbox;
-lbw22 lb lb
+lbw11 lb lbw41
 l l l.
 Interface	Attribute	Value
 T{
 .BR getgrent ()
-T}	Thread safety	MT-Unsafe
+T}	Thread safety	MT-Unsafe race:grent race:grentbuf locale
 T{
 .BR setgrent (),
 .BR endgrent ()
-T}	Thread safety	MT-Safe
+T}	Thread safety	MT-Unsafe race:grent locale
 .TE
 .SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
-- 
1.9.3

--
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 related	[flat|nested] 3+ messages in thread

* Re: [PATCH] getgrent.3: Modify thread-safety information
       [not found] ` <1423554863-26245-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
@ 2015-02-11  7:13   ` Michael Kerrisk (man-pages)
       [not found]     ` <54DB00FF.2060502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-02-11  7:13 UTC (permalink / raw)
  To: Ma Shimiao
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA

On 02/10/2015 08:54 AM, Ma Shimiao wrote:
> As annotation in glibc manual is more detailed, change the 
> thread-safety information to be the same as glibc manual.

Thanks, Ma Shimiao. Applied.

Cheers,

Michael

> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>

> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/getgrent.3 | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/getgrent.3 b/man3/getgrent.3
> index f3240aa..21d4759 100644
> --- a/man3/getgrent.3
> +++ b/man3/getgrent.3
> @@ -168,16 +168,16 @@ For an explanation of the terms used in this section, see
>  .BR attributes (7).
>  .TS
>  allbox;
> -lbw22 lb lb
> +lbw11 lb lbw41
>  l l l.
>  Interface	Attribute	Value
>  T{
>  .BR getgrent ()
> -T}	Thread safety	MT-Unsafe
> +T}	Thread safety	MT-Unsafe race:grent race:grentbuf locale
>  T{
>  .BR setgrent (),
>  .BR endgrent ()
> -T}	Thread safety	MT-Safe
> +T}	Thread safety	MT-Unsafe race:grent locale
>  .TE
>  .SH CONFORMING TO
>  SVr4, 4.3BSD, POSIX.1-2001.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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] 3+ messages in thread

* Re: [PATCH] getgrent.3: Modify thread-safety information
       [not found]     ` <54DB00FF.2060502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-02-11  7:16       ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Kerrisk (man-pages) @ 2015-02-11  7:16 UTC (permalink / raw)
  To: Ma Shimiao; +Cc: Michael Kerrisk, linux-man

I meant to add: for this patch and the getpwent.3 patch, I adjusted
the formatting somewhat. As far as possible, I prefer not to have
tables wrap wider than 80 columns.

Thanks,

Michael


On 11 February 2015 at 08:13, Michael Kerrisk (man-pages)
<mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On 02/10/2015 08:54 AM, Ma Shimiao wrote:
>> As annotation in glibc manual is more detailed, change the
>> thread-safety information to be the same as glibc manual.
>
> Thanks, Ma Shimiao. Applied.
>
> Cheers,
>
> Michael
>
>> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
>
>> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
>> ---
>>  man3/getgrent.3 | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/man3/getgrent.3 b/man3/getgrent.3
>> index f3240aa..21d4759 100644
>> --- a/man3/getgrent.3
>> +++ b/man3/getgrent.3
>> @@ -168,16 +168,16 @@ For an explanation of the terms used in this section, see
>>  .BR attributes (7).
>>  .TS
>>  allbox;
>> -lbw22 lb lb
>> +lbw11 lb lbw41
>>  l l l.
>>  Interface    Attribute       Value
>>  T{
>>  .BR getgrent ()
>> -T}   Thread safety   MT-Unsafe
>> +T}   Thread safety   MT-Unsafe race:grent race:grentbuf locale
>>  T{
>>  .BR setgrent (),
>>  .BR endgrent ()
>> -T}   Thread safety   MT-Safe
>> +T}   Thread safety   MT-Unsafe race:grent locale
>>  .TE
>>  .SH CONFORMING TO
>>  SVr4, 4.3BSD, POSIX.1-2001.
>>
>
>
> --
> Michael Kerrisk
> Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
> Linux/UNIX System Programming Training: http://man7.org/training/



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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] 3+ messages in thread

end of thread, other threads:[~2015-02-11  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10  7:54 [PATCH] getgrent.3: Modify thread-safety information Ma Shimiao
     [not found] ` <1423554863-26245-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-02-11  7:13   ` Michael Kerrisk (man-pages)
     [not found]     ` <54DB00FF.2060502-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-02-11  7:16       ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox