summaryrefslogtreecommitdiff
path: root/libio/strops.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-05 23:36:21 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-05 23:36:21 +0000
commit044b16f4e9ae773187f4fee8a9a0a54f9a51f13f (patch)
tree58bc41e16535e0d0f61d51e6af15ce4128864fc9 /libio/strops.c
parentc59a94711c6a9d38811b828863076f39000831b4 (diff)
update for 2.0.5pre1
Diffstat (limited to 'libio/strops.c')
-rw-r--r--libio/strops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/strops.c b/libio/strops.c
index 9c2650f352..afc293bd7d 100644
--- a/libio/strops.c
+++ b/libio/strops.c
@@ -88,7 +88,7 @@ DEFUN(_IO_str_init_static, (fp, ptr, size, pstart),
if (pstart)
{
fp->_IO_write_ptr = pstart;
- fp->_IO_write_end = ptr+size;
+ fp->_IO_write_end = ptr + size;
fp->_IO_read_end = pstart;
}
else
@@ -193,7 +193,7 @@ _IO_ssize_t
DEFUN(_IO_str_count, (fp),
register _IO_FILE *fp)
{
- return (fp->_IO_write_ptr > fp->_IO_read_end ? fp->_IO_write_ptr
+ return (fp->_IO_write_end > fp->_IO_read_end ? fp->_IO_write_end
: fp->_IO_read_end)
- fp->_IO_read_base;
}