mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
(_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE flag.
This commit is contained in:
parent
b2e0a14cdb
commit
31497e656e
@ -51,11 +51,10 @@ _IO_vdprintf (d, format, arg)
|
||||
_IO_un_link (&tmpfil.file);
|
||||
return EOF;
|
||||
}
|
||||
tmpfil.file._flags &= ~_IO_DELETE_DONT_CLOSE;
|
||||
|
||||
tmpfil.file._IO_file_flags =
|
||||
_IO_mask_flags (&tmpfil.file, _IO_NO_READS,
|
||||
_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING);
|
||||
(_IO_mask_flags (&tmpfil.file, _IO_NO_READS,
|
||||
_IO_NO_READS+_IO_NO_WRITES+_IO_IS_APPENDING)
|
||||
| _IO_DELETE_DONT_CLOSE);
|
||||
|
||||
done = _IO_vfprintf (&tmpfil.file, format, arg);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user