This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/17653] New: ftell returns incorrect offset when a fd handle is activated due to stream read resulting in EOF
- From: "siddhesh at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 27 Nov 2014 09:13:33 +0000
- Subject: [Bug stdio/17653] New: ftell returns incorrect offset when a fd handle is activated due to stream read resulting in EOF
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17653
Bug ID: 17653
Summary: ftell returns incorrect offset when a fd handle is
activated due to stream read resulting in EOF
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: stdio
Assignee: siddhesh at redhat dot com
Reporter: siddhesh at redhat dot com
POSIX allows applications to switch file handles when a read results
in an end of file. Using the cached offset after this point is incorrect since
it may get invalidated by operations on another handle.
Patch coming up.
--
You are receiving this mail because:
You are on the CC list for the bug.