This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] manual/users.texi: Modify race markings of fgetpwent and fgetgrent
- From: Zeng Linggang <zenglg dot jy at cn dot fujitsu dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 27 May 2015 18:18:05 +0800
- Subject: Re: [PATCH] manual/users.texi: Modify race markings of fgetpwent and fgetgrent
- Authentication-results: sourceware.org; auth=none
- References: <1431660865-14140-1-git-send-email-zenglg dot jy at cn dot fujitsu dot com> <5565990A dot 4060305 at cn dot fujitsu dot com>
Hello,
Ping!
Best regards,
Zeng
> As we know, document written in unified format that would be easy for
> users to understand. strtok, ecvt, ttyname and other functions use their
> names as identifier to mark race. But fgetgrent and fgetpwent use
> fgrent and fpwent as identifier to mark race, the race identifier is
> different from other functions.
>
> Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
> ---
> manual/users.texi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/manual/users.texi b/manual/users.texi
> index e8f0f3b..9ad8aa9 100644
> --- a/manual/users.texi
> +++ b/manual/users.texi
> @@ -2177,8 +2177,8 @@ particular file.
> @comment pwd.h
> @comment SVID
> @deftypefun {struct passwd *} fgetpwent (FILE *@var{stream})
> -@safety{@prelim{}@mtunsafe{@mtasurace{:fpwent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
> -@c fgetpwent @mtasurace:fpwent @asucorrupt @asulock @acucorrupt @aculock
> +@safety{@prelim{}@mtunsafe{@mtasurace{:fgetpwent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
> +@c fgetpwent @mtasurace:fgetpwent @asucorrupt @asulock @acucorrupt @aculock
> @c fgetpos dup @asucorrupt @aculock @acucorrupt
> @c libc_lock_lock dup @asulock @aculock
> @c malloc dup @ascuheap @acsmem
> @@ -2489,8 +2489,8 @@ particular file.
> @comment grp.h
> @comment SVID
> @deftypefun {struct group *} fgetgrent (FILE *@var{stream})
> -@safety{@prelim{}@mtunsafe{@mtasurace{:fgrent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
> -@c fgetgrent @mtasurace:fgrent @asucorrupt @asulock @acucorrupt @aculock
> +@safety{@prelim{}@mtunsafe{@mtasurace{:fgetgrent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
> +@c fgetgrent @mtasurace:fgetgrent @asucorrupt @asulock @acucorrupt @aculock
> @c fgetpos dup @asucorrupt @aculock @acucorrupt
> @c libc_lock_lock dup @asulock @aculock
> @c malloc dup @ascuheap @acsmem