diff options
author | Egor Duda <deo@logos-m.ru> | 2001-06-05 10:45:52 +0000 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2001-06-05 10:45:52 +0000 |
commit | 149da470f31c237d82903e106f029d1e0b392542 (patch) | |
tree | 5b29b77e89f4fd3473ceecb7cd972e7fb0ede7c2 /winsup/cygwin/syscalls.cc | |
parent | fa821be37b56798f70b488530a07adeb2092b69b (diff) | |
download | cygnal-149da470f31c237d82903e106f029d1e0b392542.tar.gz cygnal-149da470f31c237d82903e106f029d1e0b392542.tar.bz2 cygnal-149da470f31c237d82903e106f029d1e0b392542.zip |
* security.h (NTWriteEA): Change prototype.
* ntea.cc (NTReadEA): Don't check for global ntea setting, now
it's caller responsibility.
(NTWriteEA): Ditto.
* security.cc (get_file_attribute): Read attribute from EA only
if 'ntea' is enabled.
(set_file_attribute): Ditto.
* path.h: (class path_conv): Add members to store file system
information.
(path_conv::get_drive_type): New function.
* syscalls.cc (stat_worker): Use it.
* path.cc (path_conv::update_fs_info): New functions.
(path_conv::check): Get file system information from device where
file resides. On NTFS, try to read symlink contents from EA.
(get_symlink_ea): New function.
(set_symlink_ea): Ditto.
(symlink): Store symlink in extended attribute, if possible.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index f4fcb464c..788adc1e8 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1040,7 +1040,7 @@ stat_worker (const char *caller, const char *name, struct stat *buf, debug_printf ("%d = file_attributes for '%s'", atts, real_path.get_win32 ()); - dtype = real_path.drive_type; + dtype = real_path.get_drive_type (); if ((atts == -1 || ! (atts & FILE_ATTRIBUTE_DIRECTORY) || (os_being_run == winNT |