Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-09-30 15:02:47 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-09-30 15:02:47 +0400
commit3c92c79b8428c468105c92a978f8baf9a416b5c8 (patch)
tree106f1ad2cbe236c91962cfc897feb9f738031ac0 /winsup/cygwin/path.h
parent8afc05fa903cb331003bc498b7c6b02e643871df (diff)
* 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.h1
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 ()
{