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 | |
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.
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index d4bd994958..99c051147a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2004-11-04 Jakub Jelinek <jakub@redhat.com> + + * 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. + 2004-11-04 Richard Henderson <rth@redhat.com> * sysdeps/unix/sysv/linux/alpha/register-dump.h (regnames): Align. |