about summary refs log tree commit diff
path: root/libio/oldiofopen.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-05-07 03:48:45 +0000
committerUlrich Drepper <drepper@redhat.com>2003-05-07 03:48:45 +0000
commit14a2bd4b6d7a6fff5b4f6916af7eed796b919153 (patch)
treed3b33d8aee6abb3c6c288b185c53e064318b1963 /libio/oldiofopen.c
parent445506e34149d6f11c5b39aa9046d453a6fd0e7f (diff)
downloadglibc-14a2bd4b6d7a6fff5b4f6916af7eed796b919153.tar.gz
glibc-14a2bd4b6d7a6fff5b4f6916af7eed796b919153.tar.xz
glibc-14a2bd4b6d7a6fff5b4f6916af7eed796b919153.zip
Update.
2003-05-06  Ulrich Drepper  <drepper@redhat.com>

	* libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init.
	* libio/oldiofopen.c (_IO_old_fopen): Likewise.
	* libio/libioP.h: Declare _IO_old_init.
	* libio/genops.c (_IO_no_init): Split in two.  New function
	_IO_old_init.
Diffstat (limited to 'libio/oldiofopen.c')
-rw-r--r--libio/oldiofopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/oldiofopen.c b/libio/oldiofopen.c
index 67a9eba6a6..29c0a18a21 100644
--- a/libio/oldiofopen.c
+++ b/libio/oldiofopen.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1997,1999,2000,2002,2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -53,7 +53,7 @@ _IO_old_fopen (filename, mode)
 #ifdef _IO_MTSAFE_IO
   new_f->fp.file._lock = &new_f->lock;
 #endif
-  INTUSE(_IO_init) (&new_f->fp.file, 0);
+  _IO_old_init (&new_f->fp.file, 0);
   _IO_JUMPS (&new_f->fp) = &_IO_old_file_jumps;
   _IO_old_file_init (&new_f->fp);
 #if  !_IO_UNIFIED_JUMPTABLES