mirror of https://github.com/mkerrisk/man-pages
fmemopen.3: Note one more memory stream bug that was fixed in glibc 2.22
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
39ef79baad
commit
9c048ec195
|
@ -296,6 +296,23 @@ by
|
|||
.BR fopen (3).
|
||||
This bug is fixed in glibc 2.22.
|
||||
|
||||
In versions of glibc before 2.22,
|
||||
.\" https://sourceware.org/bugzilla/show_bug.cgi?id=14292
|
||||
when a call to
|
||||
.BR fseek (3)
|
||||
with a
|
||||
.I whence
|
||||
value of
|
||||
.B SEEK_END
|
||||
was performed on a stream created by
|
||||
.BR fmemopen (),
|
||||
the
|
||||
.I offset
|
||||
was
|
||||
.IR subtracted
|
||||
from the end-of-stream position, instead of being added.
|
||||
This bug is fixed in glibc 2.22.
|
||||
|
||||
The glibc 2.9 addition of "binary" mode for
|
||||
.BR fmemopen ()
|
||||
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=6544
|
||||
|
|
Loading…
Reference in New Issue