From 3a90addad18fcbb6373c3a6d18a258cdc24b88a3 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 26 Mar 1999 18:23:22 +0000 Subject: * 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. --- libio/oldiofdopen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libio/oldiofdopen.c') diff --git a/libio/oldiofdopen.c b/libio/oldiofdopen.c index 0e015226cc..613c3330e4 100644 --- a/libio/oldiofdopen.c +++ b/libio/oldiofdopen.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1994, 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 @@ -127,7 +127,7 @@ _IO_old_fdopen (fd, mode) _IO_mask_flags (&new_f->fp.file, read_write, _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); - return (_IO_FILE *) &new_f->fp; + return &new_f->fp.file; } strong_alias (_IO_old_fdopen, __old_fdopen) -- cgit v1.2.3