\fIneedle\fP と \fIhaystack\fP 引数が 入れ替わっており、 \fIneedle\fP が最初に出現する部分の最後を
示すポインタが返されていたのである。
-Both old and new libc's have the bug that if \fIneedle\fP is empty,
-\fIhaystack\-1\fP (instead of \fIhaystack\fP) is returned. And glibc 2.0 makes it
-worse, returning a pointer to the last byte of \fIhaystack\fP. This is fixed
-in glibc 2.1.
+新旧両方の libc ライブラリが、 \fIneedle\fP が空の場合 (\fIhaystack\fP のかわりに) \fIhaystack\-1\fP\ が
+返されるというバグを持っている。 そして、glibc 2.0 ではさらに悪くなっており、 \fIhaystack\fP の最後のバイトへのポインタを返す。
+これは glibc 2.1 で修正された。
.SH 関連項目
\fBstrstr\fP(3)
.SH この文書について