* memrchr(3): depends on _GNU_SOURCE
@ 2009-11-25 13:34 Markus Peuhkuri
[not found] ` <4B0D3255.9080305-X3B1VOXEql0@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Markus Peuhkuri @ 2009-11-25 13:34 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
At manual page (memchr, memrchr and rawmemchr) it is listed that only
rawmemchr needs _GNU_SOURCE feature test macro. However, at least in
/usr/include/string.h shipped with Debian Lenny and Ubuntu 9.04 both
have also memrchr in same #ifdef __USE_GNU block.
Correction:
--- memchr.old 2008-07-26 15:31:57.431082210 +0200
+++ memchr.3 2009-11-25 15:31:39.000000000 +0200
@@ -46,6 +46,8 @@
.BR feature_test_macros (7)):
.in
.sp
+.BR memrchr ():
+_GNU_SOURCE
.BR rawmemchr ():
_GNU_SOURCE
.SH DESCRIPTION
(or should them be at same line.)
t. Markus
--
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] 2+ messages in thread
* Re: memrchr(3): depends on _GNU_SOURCE
[not found] ` <4B0D3255.9080305-X3B1VOXEql0@public.gmane.org>
@ 2009-12-05 5:06 ` Michael Kerrisk
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk @ 2009-12-05 5:06 UTC (permalink / raw)
To: Markus Peuhkuri; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hello Markus,
On Wed, Nov 25, 2009 at 2:34 PM, Markus Peuhkuri <puhuri-X3B1VOXEql0@public.gmane.org> wrote:
> At manual page (memchr, memrchr and rawmemchr) it is listed that only
> rawmemchr needs _GNU_SOURCE feature test macro. However, at least in
> /usr/include/string.h shipped with Debian Lenny and Ubuntu 9.04 both
> have also memrchr in same #ifdef __USE_GNU block.
>
> Correction:
>
> --- memchr.old 2008-07-26 15:31:57.431082210 +0200
> +++ memchr.3 2009-11-25 15:31:39.000000000 +0200
> @@ -46,6 +46,8 @@
> .BR feature_test_macros (7)):
> .in
> .sp
> +.BR memrchr ():
> +_GNU_SOURCE
> .BR rawmemchr ():
> _GNU_SOURCE
> .SH DESCRIPTION
>
>
> (or should them be at same line.)
Thanks for the report. Indeed, it should be at the same line. Fixed for 3.24.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/
--
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] 2+ messages in thread
end of thread, other threads:[~2009-12-05 5:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25 13:34 memrchr(3): depends on _GNU_SOURCE Markus Peuhkuri
[not found] ` <4B0D3255.9080305-X3B1VOXEql0@public.gmane.org>
2009-12-05 5:06 ` Michael Kerrisk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).