diff options
author | Roland McGrath <roland@gnu.org> | 2004-11-04 23:22:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-11-04 23:22:09 +0000 |
commit | 0090226a52e0b3263fad42e1569baa3204983bb5 (patch) | |
tree | eca17fb7fe534b329512624869333740ff85cdd7 /sysdeps/x86_64 | |
parent | 3447be7bb303c1cf4d10fd059babc9681df0123b (diff) | |
download | glibc-0090226a52e0b3263fad42e1569baa3204983bb5.tar.gz glibc-0090226a52e0b3263fad42e1569baa3204983bb5.tar.xz glibc-0090226a52e0b3263fad42e1569baa3204983bb5.zip |
* libio/ftello.c (ftello): Don't subtract save_end - save_base
if pos is _IO_pos_BAD. * libio/ftello64.c (ftello64): Likewise. * libio/iofgetpos.c (_IO_new_fgetpos): Likewise. * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise. * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise. * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise. * libio/ioftell.c (_IO_ftell): Likewise. Cast to long int instead of off_t when checking for overflow.
Diffstat (limited to 'sysdeps/x86_64')
0 files changed, 0 insertions, 0 deletions