Hello Markus, On Wed, Nov 25, 2009 at 2:34 PM, Markus Peuhkuri <puhuri@xxxxxx> 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html