about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.