All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] getpwent.3: Modify thread-safety information
@ 2015-02-10  7:51 Ma Shimiao
       [not found] ` <1423554661-26010-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ma Shimiao @ 2015-02-10  7:51 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/getpwent.3 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/man3/getpwent.3 b/man3/getpwent.3
index 8cfa9b4..c07dea1 100644
--- a/man3/getpwent.3
+++ b/man3/getpwent.3
@@ -156,16 +156,17 @@ 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 getpwent ()
-T}	Thread safety	MT-Unsafe
+T}	Thread safety	MT-Unsafe race:pwent race:pwentbuf locale
 T{
 .BR setpwent (),
+.br
 .BR endpwent ()
-T}	Thread safety	MT-Safe
+T}	Thread safety	MT-Unsafe race:pwent 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] 4+ messages in thread

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

On 02/10/2015 08:51 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.

By the way, how many pages still have remaining difference from 
the glibc manual to be resolved?

Cheers,

Michael

> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
> ---
>  man3/getpwent.3 | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/getpwent.3 b/man3/getpwent.3
> index 8cfa9b4..c07dea1 100644
> --- a/man3/getpwent.3
> +++ b/man3/getpwent.3
> @@ -156,16 +156,17 @@ 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 getpwent ()
> -T}	Thread safety	MT-Unsafe
> +T}	Thread safety	MT-Unsafe race:pwent race:pwentbuf locale
>  T{
>  .BR setpwent (),
> +.br
>  .BR endpwent ()
> -T}	Thread safety	MT-Safe
> +T}	Thread safety	MT-Unsafe race:pwent 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] 4+ messages in thread

* Re: [PATCH] getpwent.3: Modify thread-safety information
       [not found]     ` <54DB00EF.6050500-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-02-11  7:28       ` Ma Shimiao
       [not found]         ` <54DB0483.5090401-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Ma Shimiao @ 2015-02-11  7:28 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA

Hi Michael,
On 02/11/2015 03:12 PM, Michael Kerrisk (man-pages) wrote:
> On 02/10/2015 08:51 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.
> 
> By the way, how many pages still have remaining difference from 
> the glibc manual to be resolved?

There are still three pages remaining difference from the glibc manual.
They are getlogin.3, mtrace.3 and strverscmp.3.

Thanks
> 
> Cheers,
> 
> Michael
> 
>> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
>> ---
>>  man3/getpwent.3 | 7 ++++---
>>  1 file changed, 4 insertions(+), 3 deletions(-)
>>
>> diff --git a/man3/getpwent.3 b/man3/getpwent.3
>> index 8cfa9b4..c07dea1 100644
>> --- a/man3/getpwent.3
>> +++ b/man3/getpwent.3
>> @@ -156,16 +156,17 @@ 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 getpwent ()
>> -T}	Thread safety	MT-Unsafe
>> +T}	Thread safety	MT-Unsafe race:pwent race:pwentbuf locale
>>  T{
>>  .BR setpwent (),
>> +.br
>>  .BR endpwent ()
>> -T}	Thread safety	MT-Safe
>> +T}	Thread safety	MT-Unsafe race:pwent locale
>>  .TE
>>  .SH CONFORMING TO
>>  SVr4, 4.3BSD, POSIX.1-2001.
>>
> 
> 


-- 
Ma Shimiao
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
--
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

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

Hi Ma Shimiao,

On 11 February 2015 at 08:28, Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> wrote:
> Hi Michael,
> On 02/11/2015 03:12 PM, Michael Kerrisk (man-pages) wrote:
>> On 02/10/2015 08:51 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.
>>
>> By the way, how many pages still have remaining difference from
>> the glibc manual to be resolved?
>
> There are still three pages remaining difference from the glibc manual.
> They are getlogin.3, mtrace.3 and strverscmp.3.

Great news! Thank you!

Cheers,

Michael


>>> Signed-off-by: Ma Shimiao <mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
>>> ---
>>>  man3/getpwent.3 | 7 ++++---
>>>  1 file changed, 4 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/man3/getpwent.3 b/man3/getpwent.3
>>> index 8cfa9b4..c07dea1 100644
>>> --- a/man3/getpwent.3
>>> +++ b/man3/getpwent.3
>>> @@ -156,16 +156,17 @@ 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 getpwent ()
>>> -T}  Thread safety   MT-Unsafe
>>> +T}  Thread safety   MT-Unsafe race:pwent race:pwentbuf locale
>>>  T{
>>>  .BR setpwent (),
>>> +.br
>>>  .BR endpwent ()
>>> -T}  Thread safety   MT-Safe
>>> +T}  Thread safety   MT-Unsafe race:pwent locale
>>>  .TE
>>>  .SH CONFORMING TO
>>>  SVr4, 4.3BSD, POSIX.1-2001.
>>>
>>
>>
>
>
> --
> Ma Shimiao
> Development Dept.I
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)



-- 
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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10  7:51 [PATCH] getpwent.3: Modify thread-safety information Ma Shimiao
     [not found] ` <1423554661-26010-1-git-send-email-mashimiao.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-02-11  7:12   ` Michael Kerrisk (man-pages)
     [not found]     ` <54DB00EF.6050500-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-02-11  7:28       ` Ma Shimiao
     [not found]         ` <54DB0483.5090401-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2015-02-11  7:31           ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.