diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-09-30 11:02:47 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-09-30 11:02:47 +0000 |
commit | 3c92c79b8428c468105c92a978f8baf9a416b5c8 (patch) | |
tree | 106f1ad2cbe236c91962cfc897feb9f738031ac0 /winsup/cygwin/path.h | |
parent | 8afc05fa903cb331003bc498b7c6b02e643871df (diff) | |
download | cygnal-3c92c79b8428c468105c92a978f8baf9a416b5c8.tar.gz cygnal-3c92c79b8428c468105c92a978f8baf9a416b5c8.tar.bz2 cygnal-3c92c79b8428c468105c92a978f8baf9a416b5c8.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 () { |