From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 20/24] setnetgrent.3: Fix prototype
Date: Wed, 21 May 2014 20:15:26 +0200 [thread overview]
Message-ID: <537CED3E.6020100@gmail.com> (raw)
In-Reply-To: <1400684275-20972-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
Thank you, Rasmus. Applied.
Cheers,
Michael
On 05/21/2014 04:57 PM, Rasmus Villemoes wrote:
> The buflen argument to getnetgrent_r has type size_t.
>
> Signed-off-by: Rasmus Villemoes <rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
> ---
> man3/setnetgrent.3 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man3/setnetgrent.3 b/man3/setnetgrent.3
> index 2a85a95..25293e6 100644
> --- a/man3/setnetgrent.3
> +++ b/man3/setnetgrent.3
> @@ -22,7 +22,7 @@ handle network group entries
> .BI "int getnetgrent(char **" host ", char **" user ", char **" domain );
>
> .BI "int getnetgrent_r(char **" host ", char **" user ","
> -.BI " char **" domain ", char *" buf ", int " buflen );
> +.BI " char **" domain ", char *" buf ", size_t " buflen );
>
> .BI "int innetgr(const char *" netgroup ", const char *" host ","
> .BI " const char *" user ", const char *" domain );
>
--
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
next prev parent reply other threads:[~2014-05-21 18:15 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 14:57 [PATCH 00/24] Yet more prototype fixes Rasmus Villemoes
[not found] ` <1400684275-20972-1-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 14:57 ` [PATCH 01/24] inet.3: Fix prototype Rasmus Villemoes
[not found] ` <1400684275-20972-2-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:44 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 02/24] makecontext.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-3-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:45 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 03/24] makedev.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-4-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:46 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 04/24] malloc_trim.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-5-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:47 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 05/24] mq_getattr.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-6-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:49 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 06/24] perror.3: Fix declaration Rasmus Villemoes
[not found] ` <1400684275-20972-7-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:50 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 07/24] pthread_sigqueue.3: Include needed header Rasmus Villemoes
[not found] ` <1400684275-20972-8-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 17:56 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 08/24] pthread_attr_set*.3: Constify parameters Rasmus Villemoes
[not found] ` <1400684275-20972-9-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-22 6:47 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 09/24] pthread_cleanup_push_defer_np.3: Mention feature test macro Rasmus Villemoes
[not found] ` <1400684275-20972-10-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:06 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 10/24] pthread_setname_np.3: Fix prototype Rasmus Villemoes
[not found] ` <1400684275-20972-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:07 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 11/24] pthread_setschedparam.3: Fix prototypes Rasmus Villemoes
[not found] ` <1400684275-20972-12-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:08 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 12/24] pthread_setschedprio.3: Fix prototype Rasmus Villemoes
[not found] ` <1400684275-20972-13-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:08 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 13/24] rcmd.3: Fix prototypes Rasmus Villemoes
[not found] ` <1400684275-20972-14-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:09 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 14/24] re_comp.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-15-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:10 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 15/24] rexec.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-16-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:10 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 16/24] rtime.3: Replace header Rasmus Villemoes
[not found] ` <1400684275-20972-17-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:14 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 17/24] resolver.3: Fix prototypes and extern-declaration Rasmus Villemoes
[not found] ` <1400684275-20972-18-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:31 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 18/24] scandir.3: Fix prototypes Rasmus Villemoes
[not found] ` <1400684275-20972-19-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:40 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 19/24] sigvec.3: Fix prototype Rasmus Villemoes
[not found] ` <1400684275-20972-20-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:15 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 20/24] setnetgrent.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-21-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:15 ` Michael Kerrisk (man-pages) [this message]
2014-05-21 14:57 ` [PATCH 21/24] tsearch.3: " Rasmus Villemoes
[not found] ` <1400684275-20972-22-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:48 ` Michael Kerrisk (man-pages)
[not found] ` <537CF50D.2080400-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-05-21 20:02 ` Rasmus Villemoes
[not found] ` <87oayqew8p.fsf-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 20:15 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 22/24] getauxval.3: Fix permissions Rasmus Villemoes
[not found] ` <1400684275-20972-23-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:17 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 23/24] key_setsecret.3: Fix prototypes Rasmus Villemoes
[not found] ` <1400684275-20972-24-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:19 ` Michael Kerrisk (man-pages)
2014-05-21 14:57 ` [PATCH 24/24] xdr.3: tfix Rasmus Villemoes
[not found] ` <1400684275-20972-25-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org>
2014-05-21 18:17 ` Michael Kerrisk (man-pages)
2014-05-21 18:13 ` [PATCH 00/24] Yet more prototype fixes Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=537CED3E.6020100@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.