]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
memmem.3: Remove ancient Linux libc details
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 29 Jun 2014 09:06:53 +0000 (11:06 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 18 Aug 2014 22:01:49 +0000 (17:01 -0500)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/memmem.3

index 5552e6e0175f3a40dc69d1d8d007b4ea113348f8..766bdfa82970b2bc00b43808a2958ec48e9bd9d5 100644 (file)
@@ -64,23 +64,23 @@ function is thread-safe.
 .SH CONFORMING TO
 This function is a GNU extension.
 .SH BUGS
-This function was broken in Linux libraries up to and including libc 5.0.9;
-there the
-.IR needle
-and
-.I haystack
-arguments were interchanged,
-and a pointer to the end of the first occurrence of
-.I needle
-was returned.
-
-Both old and new libc's have the bug that if
-.I needle
-is empty,
-.I haystack\-1
-(instead of
-.IR haystack )
-is returned.
+.\" This function was broken in Linux libraries up to and including libc 5.0.9;
+.\" there the
+.\" .IR needle
+.\" and
+.\" .I haystack
+.\" arguments were interchanged,
+.\" and a pointer to the end of the first occurrence of
+.\" .I needle
+.\" was returned.
+.\" 
+.\" Both old and new libc's have the bug that if
+.\" .I needle
+.\" is empty,
+.\" .I haystack\-1
+.\" (instead of
+.\" .IR haystack )
+.\" is returned.
 And glibc 2.0 makes it worse, returning a pointer to the
 last byte of
 .IR haystack .