about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-25 04:38:09 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-25 04:38:09 +0000
commit5c8d1fc0f687643184ff7f8fe8e49a36d93bcc4f (patch)
tree6132a7e7a0533d2ae3b490facec1936f9bb6264e
parent7b5fd91d777e44e212556a4bbee51b6429ddd869 (diff)
downloadglibc-5c8d1fc0f687643184ff7f8fe8e49a36d93bcc4f.tar.gz
glibc-5c8d1fc0f687643184ff7f8fe8e49a36d93bcc4f.tar.xz
glibc-5c8d1fc0f687643184ff7f8fe8e49a36d93bcc4f.zip
Update.
	* libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
	of __overflow.
-rw-r--r--ChangeLog3
-rw-r--r--libio/fileops.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ea210bbc09..f296f0dc4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-08-24  Ulrich Drepper  <drepper@cygnus.com>
 
+	* libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
+	of __overflow.
+
 	* conform/conformtest.pl (@headers): Add monetary.h-data,
 	mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
 	* conform/data/monetary.h-data: New file.
diff --git a/libio/fileops.c b/libio/fileops.c
index 7c6e271495..52039a4a13 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -812,7 +812,7 @@ _IO_new_file_xsputn (f, data, n)
     {
       _IO_size_t block_size, do_write;
       /* Next flush the (full) buffer. */
-      if (__overflow (f, EOF) == EOF)
+      if (_IO_OVERFLOW (f, EOF) == EOF)
 	return n - to_do;
 
       /* Try to maintain alignment: write a whole number of blocks.