diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-06-08 13:37:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-06-08 13:37:25 +0000 |
commit | 31f7410f5c413605f039e898151f01231f11efa5 (patch) | |
tree | 3c920d642b67b6d739877f2f22faf2d8b9ee6e84 /libio | |
parent | c0fb8a563c1c49e5fbec9bc22deac618910a3ff4 (diff) | |
download | glibc-31f7410f5c413605f039e898151f01231f11efa5.zip glibc-31f7410f5c413605f039e898151f01231f11efa5.tar.gz glibc-31f7410f5c413605f039e898151f01231f11efa5.tar.bz2 |
Update.
1998-06-08 13:34 Ulrich Drepper <drepper@cygnus.com>
* elf/sprof.c: Implement call graph profiling.
* sysdeps/generic/getenv.c: Optimize to use strncmp less often.
1998-06-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* pwd/fgetpwent_r.c (__fgetpwent_r): Correct buffer overflow fix.
* grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
* shadow/fgetspent_r.c (__fgetspent_r): Likewise.
Noticed by Jake Garver <garver@valkyrie.net>.
1998-06-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/genops.c (__underflow): Read character from read pointer
as unsigned.
(__uflow): Likewise.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/genops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/genops.c b/libio/genops.c index b0334d6..4286eef 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -273,7 +273,7 @@ __underflow (fp) { _IO_switch_to_main_get_area (fp); if (fp->_IO_read_ptr < fp->_IO_read_end) - return *fp->_IO_read_ptr; + return *(unsigned char *) fp->_IO_read_ptr; } if (_IO_have_markers (fp)) { @@ -298,7 +298,7 @@ __uflow (fp) { _IO_switch_to_main_get_area (fp); if (fp->_IO_read_ptr < fp->_IO_read_end) - return *fp->_IO_read_ptr++; + return *(unsigned char *) fp->_IO_read_ptr++; } if (_IO_have_markers (fp)) { |