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/iofopncook.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libio/iofopncook.c') diff --git a/libio/iofopncook.c b/libio/iofopncook.c index 976ff5093a..f36e4c741d 100644 --- a/libio/iofopncook.c +++ b/libio/iofopncook.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993,95,97,99,2000,2002,2004, 2005 +/* Copyright (C) 1993,95,97,99,2000,2002,2004, 2005, 2010 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -154,9 +154,8 @@ _IO_cookie_init (struct _IO_cookie_file *cfile, int read_write, INTUSE(_IO_file_init) (&cfile->__fp); - cfile->__fp.file._IO_file_flags = - _IO_mask_flags (&cfile->__fp.file, read_write, - _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); + _IO_mask_flags (&cfile->__fp.file, read_write, + _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING); /* We use a negative number different from -1 for _fileno to mark that this special stream is not associated with a real file, but still has -- cgit 1.4.1