This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/17653] New: ftell returns incorrect offset when a fd handle is activated due to stream read resulting in EOF


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]