diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-09-21 16:07:20 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-09-21 16:07:20 +0000 |
commit | 7ba1698ed99abca171d2beb9091168e20cdd8b34 (patch) | |
tree | dac48a44f52a36f3dbeb973526857860b7138114 /libgloss/m32r/close.c | |
parent | 6fb0ddfe34df8360faf7bca096bdd45678d1c825 (diff) | |
download | cygnal-7ba1698ed99abca171d2beb9091168e20cdd8b34.tar.gz cygnal-7ba1698ed99abca171d2beb9091168e20cdd8b34.tar.bz2 cygnal-7ba1698ed99abca171d2beb9091168e20cdd8b34.zip |
* fhandler.cc (fhandler_base::open): Always open NFS files with
FILE_READ_EA, even when opening with O_WRONLY to allow fstat.
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Call
FlushFileBuffers if file has been opened for writing. Explain why.
(fhandler_base::fstat_by_handle): Renew content of pc.fnoi if called
via fstat. Explain why. Fix formatting.
* path.cc (symlink_info::check): Try to open file the second time with
FILE_READ_EA permissions since it's needed in later calls to
fhandler_base::fstat_by_nfs_ea.
Diffstat (limited to 'libgloss/m32r/close.c')
0 files changed, 0 insertions, 0 deletions