* fhandler.cc (fhandler_disk_file::open): Check for directory
to set O_DIROPEN on directories anyway.
This commit is contained in:
parent
95bdb4966f
commit
b8a7c23a2a
|
@ -1,6 +1,11 @@
|
||||||
|
Thu Jun 8 15:53:00 2000 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler.cc (fhandler_disk_file::open): Check for directory
|
||||||
|
to set O_DIROPEN on directories anyway.
|
||||||
|
|
||||||
2000-06-07 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
2000-06-07 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||||
|
|
||||||
path.cc (mount_info::init): Eliminate the mount_slash feature.
|
* path.cc (mount_info::init): Eliminate the mount_slash feature.
|
||||||
(mount_slash): Eliminated.
|
(mount_slash): Eliminated.
|
||||||
(mount_info::read_mounts): Eliminate looking up existing entries. The
|
(mount_info::read_mounts): Eliminate looking up existing entries. The
|
||||||
loop for deleting cygpath entries is done only when such entries exist.
|
loop for deleting cygpath entries is done only when such entries exist.
|
||||||
|
@ -13,7 +18,7 @@
|
||||||
(mount_info::to_registry): Eliminated.
|
(mount_info::to_registry): Eliminated.
|
||||||
(mount_info::from_v1_registry): Eliminated.
|
(mount_info::from_v1_registry): Eliminated.
|
||||||
(cygwin_umount): Simply call del_item.
|
(cygwin_umount): Simply call del_item.
|
||||||
shared.h: Modify the declaration of add_item and del_item. Remove the
|
* shared.h: Modify the declaration of add_item and del_item. Remove the
|
||||||
declaration of from_v1_registry.
|
declaration of from_v1_registry.
|
||||||
|
|
||||||
Wed Jun 7 23:56:10 2000 Christopher Faylor <cgf@cygnus.com>
|
Wed Jun 7 23:56:10 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
|
@ -1181,6 +1181,10 @@ fhandler_disk_file::open (path_conv& real_path, int flags, mode_t mode)
|
||||||
|
|
||||||
set_has_acls (real_path.has_acls ());
|
set_has_acls (real_path.has_acls ());
|
||||||
|
|
||||||
|
if (real_path.file_attributes () != (DWORD)-1
|
||||||
|
&& (real_path.file_attributes () & FILE_ATTRIBUTE_DIRECTORY))
|
||||||
|
flags |= O_DIROPEN;
|
||||||
|
|
||||||
int res = this->fhandler_base::open (flags, mode);
|
int res = this->fhandler_base::open (flags, mode);
|
||||||
|
|
||||||
if (!res)
|
if (!res)
|
||||||
|
|
Loading…
Reference in New Issue