about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/tempname.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/posix/tempname.c b/sysdeps/posix/tempname.c
index 5881febf81..0f088ec915 100644
--- a/sysdeps/posix/tempname.c
+++ b/sysdeps/posix/tempname.c
@@ -202,7 +202,6 @@ __stdio_gen_tempname (const char *dir, const char *pfx, int dir_search,
 		  goto lose;
 		}
 	      fp->file._flags &= ~_IO_DELETE_DONT_CLOSE;
-	      fp->file._IO_file_flags = 0;
 
 	      *streamptr = (FILE *) fp;
 #else