about summary refs log tree commit diff
path: root/libio/iovdprintf.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2010-07-18 14:51:45 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2010-09-05 13:55:08 +0200
commit817328eea788c746131cf151b64fd250200da333 (patch)
treee63042448ea1d87c5688743d437e97bd44e5ea70 /libio/iovdprintf.c
parent29fddf61b28e57265b5c5f7be2b42bb73906ae53 (diff)
downloadglibc-817328eea788c746131cf151b64fd250200da333.tar.gz
glibc-817328eea788c746131cf151b64fd250200da333.tar.xz
glibc-817328eea788c746131cf151b64fd250200da333.zip
Remove undefined operations
Diffstat (limited to 'libio/iovdprintf.c')
-rw-r--r--libio/iovdprintf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libio/iovdprintf.c b/libio/iovdprintf.c
index 5284ff8938..fb4a838a53 100644
--- a/libio/iovdprintf.c
+++ b/libio/iovdprintf.c
@@ -53,10 +53,10 @@ _IO_vdprintf (d, format, arg)
       INTUSE(_IO_un_link) (&tmpfil);
       return EOF;
     }
-  tmpfil.file._IO_file_flags =
-    (_IO_mask_flags (&tmpfil.file, _IO_NO_READS,
-		     _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING)
-     | _IO_DELETE_DONT_CLOSE);
+  tmpfil.file._flags |= _IO_DELETE_DONT_CLOSE;
+
+  _IO_mask_flags (&tmpfil.file, _IO_NO_READS,
+		  _IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
 
   done = INTUSE(_IO_vfprintf) (&tmpfil.file, format, arg);