From 817328eea788c746131cf151b64fd250200da333 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 18 Jul 2010 14:51:45 +0200 Subject: Remove undefined operations --- libio/oldiofdopen.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libio/oldiofdopen.c') diff --git a/libio/oldiofdopen.c b/libio/oldiofdopen.c index c616b387fa..a1fc6675a4 100644 --- a/libio/oldiofdopen.c +++ b/libio/oldiofdopen.c @@ -130,9 +130,8 @@ _IO_old_fdopen (fd, mode) } new_f->fp.file._file._flags &= ~_IO_DELETE_DONT_CLOSE; - new_f->fp.file._file._IO_file_flags = - _IO_mask_flags (&new_f->fp.file._file, read_write, - _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); + _IO_mask_flags (&new_f->fp.file._file, read_write, + _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); return (_IO_FILE *) &new_f->fp; } -- cgit v1.2.3