mirror of https://github.com/mkerrisk/man-pages
strstr.3: Remove discussion of Linux libc bugs
Linux libc is old enough that we needn't care any longer. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
531bbb0fbe
commit
0c2d0a66b8
|
@ -81,18 +81,18 @@ function conforms to C89 and C99.
|
|||
The
|
||||
.BR strcasestr ()
|
||||
function is a nonstandard extension.
|
||||
.SH BUGS
|
||||
Early versions of Linux libc (like 4.5.26) would not allow
|
||||
an empty
|
||||
.I needle
|
||||
argument for
|
||||
.BR strstr ().
|
||||
Later versions (like 4.6.27) work correctly,
|
||||
and return
|
||||
.IR haystack
|
||||
when
|
||||
.I needle
|
||||
is empty.
|
||||
.\" .SH BUGS
|
||||
.\" Early versions of Linux libc (like 4.5.26) would not allow
|
||||
.\" an empty
|
||||
.\" .I needle
|
||||
.\" argument for
|
||||
.\" .BR strstr ().
|
||||
.\" Later versions (like 4.6.27) work correctly,
|
||||
.\" and return
|
||||
.\" .IR haystack
|
||||
.\" when
|
||||
.\" .I needle
|
||||
.\" is empty.
|
||||
.SH SEE ALSO
|
||||
.BR index (3),
|
||||
.BR memchr (3),
|
||||
|
|
Loading…
Reference in New Issue