aboutsummaryrefslogtreecommitdiff
path: root/libio/iofopen.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-24 17:29:18 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-24 17:29:18 +0000
commit8f0302ee6720d9cc86186fa29e939c6e0dfde775 (patch)
tree3985d3b8d2e8797ad478bef7c0825d1fa7de4283 /libio/iofopen.c
parent4487e30b40031d789f50f684a58b46fd2ea813cd (diff)
downloadglibc-8f0302ee6720d9cc86186fa29e939c6e0dfde775.zip
glibc-8f0302ee6720d9cc86186fa29e939c6e0dfde775.tar.gz
glibc-8f0302ee6720d9cc86186fa29e939c6e0dfde775.tar.bz2
Update.
* libio/iofopen.c (_IO_fopen): Pass correct value as fourth parameter to _IO_file_fopen. * libio/iofopen64.c (_IO_fopen64): Likewise.
Diffstat (limited to 'libio/iofopen.c')
-rw-r--r--libio/iofopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/iofopen.c b/libio/iofopen.c
index e8f39ae..92d58bb 100644
--- a/libio/iofopen.c
+++ b/libio/iofopen.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@ -52,7 +52,7 @@ _IO_new_fopen (filename, mode)
#if !_IO_UNIFIED_JUMPTABLES
new_f->fp.vtable = NULL;
#endif
- if (_IO_file_fopen (&new_f->fp.file, filename, mode, 0) != NULL)
+ if (_IO_file_fopen (&new_f->fp.file, filename, mode, 1) != NULL)
return (_IO_FILE *) &new_f->fp;
_IO_un_link (&new_f->fp.file);
free (new_f);