OSDN Git Service

* fhandler.cc: Drop including nfs.h.
authorcorinna <corinna>
Thu, 30 Sep 2010 13:52:31 +0000 (13:52 +0000)
committercorinna <corinna>
Thu, 30 Sep 2010 13:52:31 +0000 (13:52 +0000)
commit56b49ef9531e042ac4cbd6e77b5d30785739cdad
tree26b3a3e5499cec7169296391e6f29d08add5e1ec
parent9c29d104cd3ed57746b0e59a5423128ca404be6d
* fhandler.cc: Drop including nfs.h.
* fhandler_disk_file.cc: Ditto.
(fhandler_base::fstat_by_nfs_ea): Use fattr3 from path_conv member,
unless called from fstat.
* path.cc: Drop including nfs.h.
(symlink_info::check): Rearrange definition of file info buffers.
Fetch fattr3 info for files on NFS and store in conv_hdl for later
use in fhandler_base::fstat_by_nfs_ea.  Use fattr3 file type to
recognize symlink on NFS and try to fetch symlink target only for
actual symlinks.
* path.h: Include nfs.h.
(class path_conv_handle): Change file info storage to union of
FILE_NETWORK_OPEN_INFORMATION and fattr3 structures.
(path_conv_handle::fnoi): Align to aforementioned change.
(path_conv_handle::nfsattr): New method.
(path_conv::nfsattr): New method.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.cc
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/path.cc
winsup/cygwin/path.h