diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-02 16:14:49 +0100 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-02 16:23:19 +0100 |
commit | 9c048ec1956e4c9e1f3060775b4d6b34a2fcb346 (patch) | |
tree | b6e9fb42efd9ec51caf928d4e5588f88153abce7 | |
parent | 39ef79baadf985b6bb8cfbe1d29f2b61ecca429e (diff) | |
download | man-pages-9c048ec1956e4c9e1f3060775b4d6b34a2fcb346.tar.gz |
fmemopen.3: Note one more memory stream bug that was fixed in glibc 2.22
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man3/fmemopen.3 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/man3/fmemopen.3 b/man3/fmemopen.3 index 7df0950bad..47f38c8587 100644 --- a/man3/fmemopen.3 +++ b/man3/fmemopen.3 @@ -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 |