1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Remove undefined operations

This commit is contained in:
Andreas Schwab
2010-07-18 14:51:45 +02:00
parent 29fddf61b2
commit 817328eea7
7 changed files with 31 additions and 25 deletions

View File

@ -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;
}