All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Andreas Wiese
	<aw-lkml-Y2ul+VlnGkTSryWq8ScI/qxOck334EZe@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [Bug] str(n)dup(3) typo in feature test macros
Date: Wed, 04 Sep 2013 08:15:22 +0200	[thread overview]
Message-ID: <5226CFFA.1080801@gmail.com> (raw)
In-Reply-To: <d8384bdbedc49ebaba2362b2dd559d5e-YjGdiButnEYOIcSUmuw+JF6tKEld0gVj@public.gmane.org>

On 09/03/13 09:31, Andreas Wiese wrote:
> Hey, folks.
> 
> I just stumbled upon a typo in strdup(3)-family manual page.  Took me an
> hour and much cursing on flex, that strndup wasn't defined when building
> with -std=c99 since it's spelled _POSIX_C_SOURCE, not POSIX_C_SOURCE.  I
> should've known myself, indeed… :/

Thanks for the fix, Andreas. Applied.

Cheers,

Michael


> --- /usr/share/man/man3/strdup.3	2013-09-02 15:04:48.736602203 +0200
> +++ strdup.3	2013-09-03 09:26:50.210203381 +0200
> @@ -63,7 +63,7 @@
>   .RS 4
>   .TP 4
>   Since glibc 2.10:
> -POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700
> +_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700
>   .TP
>   Before glibc 2.10:
>   _GNU_SOURCE
> 
> 
> Best regards, a.
> 

--
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

      parent reply	other threads:[~2013-09-04  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03  7:31 [Bug] str(n)dup(3) typo in feature test macros Andreas Wiese
     [not found] ` <d8384bdbedc49ebaba2362b2dd559d5e-YjGdiButnEYOIcSUmuw+JF6tKEld0gVj@public.gmane.org>
2013-09-04  6:15   ` Michael Kerrisk (man-pages) [this message]

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=5226CFFA.1080801@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=aw-lkml-Y2ul+VlnGkTSryWq8ScI/qxOck334EZe@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@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.