diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 023018f29..64a566fc5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2008-05-20 Corinna Vinschen <corinna@vinschen.de> + * path.cc (fs_info::update): Re-add opening the unsplitted path + for fillout_mntent's sake. + +2008-05-20 Corinna Vinschen <corinna@vinschen.de> + * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories on NFS shares with correct mode bits. diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 923b07558..84dca6db0 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -396,6 +396,8 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol) { InitializeObjectAttributes (&attr, upath, OBJ_CASE_INSENSITIVE, NULL, NULL); + status = NtOpenFile (&vol, READ_CONTROL, &attr, &io, + FILE_SHARE_VALID_FLAGS, FILE_OPEN_FOR_BACKUP_INTENT); while (!NT_SUCCESS (status) && (attr.ObjectName->Length > 7 * sizeof (WCHAR) || status == STATUS_NO_MEDIA_IN_DEVICE)) |