]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.cc (fhandler_base::open): Always open NFS files with
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 21 Sep 2010 16:07:20 +0000 (16:07 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 21 Sep 2010 16:07:20 +0000 (16:07 +0000)
commit7ba1698ed99abca171d2beb9091168e20cdd8b34
treedac48a44f52a36f3dbeb973526857860b7138114
parent6fb0ddfe34df8360faf7bca096bdd45678d1c825
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/path.cc
This page took 0.025535 seconds and 5 git commands to generate.