diff options
author | Christopher Faylor <me@cgf.cx> | 2008-05-23 15:33:03 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-05-23 15:33:03 +0000 |
commit | 7cd454287369cf3918cb31ed3d8b284eb42e257a (patch) | |
tree | 0d6ae840b57d400b78cafec4ee9dc38f1c1e4f68 /winsup/cygwin/path.cc | |
parent | 1fc3031588af7a648d1df6d9d79046fc39f0cb08 (diff) | |
download | cygnal-7cd454287369cf3918cb31ed3d8b284eb42e257a.tar.gz cygnal-7cd454287369cf3918cb31ed3d8b284eb42e257a.tar.bz2 cygnal-7cd454287369cf3918cb31ed3d8b284eb42e257a.zip |
* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
find handle based on cygwin1.dll.
* path.cc (symlink_info::check): Remove unused variable.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 102326d1e..dd7ba44b3 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2350,7 +2350,6 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, FILE_BASIC_INFORMATION fbi; NTSTATUS status; IO_STATUS_BLOCK io; - bool no_ea = false; error = 0; get_nt_native_path (suffix.path, upath, pflags & MOUNT_ENC); @@ -2374,7 +2373,6 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, /* No right to access EAs or EAs not supported? */ if (status == STATUS_ACCESS_DENIED || status == STATUS_EAS_NOT_SUPPORTED) { - no_ea = true; /* If EAs are not supported, there's no sense to check them again whith suffixes attached. So we set eabuf/easize to 0 here once. */ if (status == STATUS_EAS_NOT_SUPPORTED) |