From 3c92c79b8428c468105c92a978f8baf9a416b5c8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 30 Sep 2005 11:02:47 +0000 Subject: * fhandler_disk_file.cc: Change calls to pc.set_attributes into calls to pc.file_attributes throughout. * path.h (class path_conv): Remove superfluous set_attributes method. --- winsup/cygwin/path.h | 1 - 1 file changed, 1 deletion(-) (limited to 'winsup/cygwin/path.h') diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index c35358566..aeb70c0f8 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -168,7 +168,6 @@ class path_conv bool isro () const {return !!(path_flags & PATH_RO);} bool exists () const {return fileattr != INVALID_FILE_ATTRIBUTES;} bool has_attribute (DWORD x) const {return exists () && (fileattr & x);} - void set_attributes (DWORD x) {fileattr = x;} int isdir () const {return has_attribute (FILE_ATTRIBUTE_DIRECTORY);} executable_states exec_state () { -- cgit v1.2.3