aboutsummaryrefslogtreecommitdiff
path: root/libio/__fpurge.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-01 17:49:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-01 17:49:19 +0000
commitaebb1faa198634a318bc14cf1e577f5806fafc38 (patch)
tree84d2cb338c61c9afeb4dda6d3b01901a182ce0bb /libio/__fpurge.c
parenta8e58aa9ab2667045c1b21e5c1c5e21b075a782f (diff)
downloadglibc-aebb1faa198634a318bc14cf1e577f5806fafc38.zip
glibc-aebb1faa198634a318bc14cf1e577f5806fafc38.tar.gz
glibc-aebb1faa198634a318bc14cf1e577f5806fafc38.tar.bz2
Update.
* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last patch (_mode -> _flags).
Diffstat (limited to 'libio/__fpurge.c')
-rw-r--r--libio/__fpurge.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/__fpurge.c b/libio/__fpurge.c
index dd83d9f..2956385 100644
--- a/libio/__fpurge.c
+++ b/libio/__fpurge.c
@@ -24,6 +24,7 @@
General Public License. */
#include <stdio_ext.h>
+#include "libioP.h"
void
__fpurge (FILE *fp)
@@ -31,7 +32,7 @@ __fpurge (FILE *fp)
if (fp->_mode > 0)
{
/* Wide-char stream. */
- if (_IO_in_wbackup (fp))
+ if (_IO_in_backup (fp))
_IO_free_wbackup_area (fp);
fp->_wide_data->_IO_read_end = fp->_wide_data->_IO_read_ptr;