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/22140] ftell() returns incorrect value for memory stream


https://sourceware.org/bugzilla/show_bug.cgi?id=22140

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg
         Resolution|---                         |DUPLICATE

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
I can't really tell which kind of backports OpenSUSE LEAP 22 carries on its
glibc package, but my understanding is this is in fact BZ#20005 (which has been
fixed on 2.24). I can't reproduce it on master:

$ /home/azanella/Projects/glibc/build/x86_64-linux-gnu/testrun.sh ./test
2.26.90
written=4
fstatus=0
ftellpos=4
fstatus=0
ftellpos2=4

I would like to ask you for future bug report if you could use the canonical
source tree [1] instead of reporting against distro releases.  It is mostly
because distro usually carry both backports and non-upstream patches that make
difficult to track down which version it really occurs.

Also, avoid reporting bug against old releases and check against master to see
it has been already fixed upstream. This helps us pinpoint the commit for
possible backport.

[1] https://www.gnu.org/software/libc/sources.html

*** This bug has been marked as a duplicate of bug 20005 ***

-- 
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]