aboutsummaryrefslogtreecommitdiff
path: root/libio/oldiofdopen.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/oldiofdopen.c
parent445506e34149d6f11c5b39aa9046d453a6fd0e7f (diff)
downloadglibc-14a2bd4b6d7a6fff5b4f6916af7eed796b919153.zip
glibc-14a2bd4b6d7a6fff5b4f6916af7eed796b919153.tar.gz
glibc-14a2bd4b6d7a6fff5b4f6916af7eed796b919153.tar.bz2
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/oldiofdopen.c')
-rw-r--r--libio/oldiofdopen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/oldiofdopen.c b/libio/oldiofdopen.c
index 9015504..824a2fb 100644
--- a/libio/oldiofdopen.c
+++ b/libio/oldiofdopen.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,94,97,99,2000,2002 Free Software Foundation, Inc.
+/* Copyright (C) 1993,94,97,99,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
@@ -114,7 +114,7 @@ _IO_old_fdopen (fd, 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