diff options
author | Andreas Schwab <schwab@suse.de> | 1999-03-26 18:23:22 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1999-03-26 18:23:22 +0000 |
commit | 3a90addad18fcbb6373c3a6d18a258cdc24b88a3 (patch) | |
tree | fce9d72d19c48cd8eb00313fdedb00fdc74231ba /libio/oldiofopen.c | |
parent | d782afad08fffe060035b641c25d6fdef9299a95 (diff) | |
download | glibc-3a90addad18fcbb6373c3a6d18a258cdc24b88a3.zip glibc-3a90addad18fcbb6373c3a6d18a258cdc24b88a3.tar.gz glibc-3a90addad18fcbb6373c3a6d18a258cdc24b88a3.tar.bz2 |
* libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
in iofdopen.c.
* libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
iofopen.c.
* libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
in iofclose.c.
* libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
_IO_old_file_seekoff): Bring over recent changes in fileops.c.
Diffstat (limited to 'libio/oldiofopen.c')
-rw-r--r-- | libio/oldiofopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/oldiofopen.c b/libio/oldiofopen.c index 5dffae8..7fc48b9 100644 --- a/libio/oldiofopen.c +++ b/libio/oldiofopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 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 @@ -55,7 +55,7 @@ _IO_old_fopen (filename, mode) new_f->fp.vtable = NULL; #endif if (_IO_old_file_fopen (&new_f->fp.file, filename, mode) != NULL) - return (_IO_FILE *) &new_f->fp; + return &new_f->fp.file; _IO_un_link (&new_f->fp.file); free (new_f); return NULL; |