diff options
author | Pierre Humblet <phumblet@phumblet.no-ip.org> | 2004-10-02 02:20:21 +0000 |
---|---|---|
committer | Pierre Humblet <phumblet@phumblet.no-ip.org> | 2004-10-02 02:20:21 +0000 |
commit | e49bc789b2cb87b35471353f5b8c322e52ee84a2 (patch) | |
tree | a169250340ec8c56a58e916558c77bda948e7098 /winsup/cygwin/path.h | |
parent | 1e804b7425b79e2ec2e24e35599849ac159c0514 (diff) | |
download | cygnal-e49bc789b2cb87b35471353f5b8c322e52ee84a2.tar.gz cygnal-e49bc789b2cb87b35471353f5b8c322e52ee84a2.tar.bz2 cygnal-e49bc789b2cb87b35471353f5b8c322e52ee84a2.zip |
2004-10-02 Pierre Humblet <pierre.humblet@ieee.org>
* path.h (enum path_types): Delete PATH_ISDISK.
(path_conv::isdisk): Delete method.
(path_conv::set_isdisk): Ditto.
* path.cc (path_conv::check): Do not call set_isdisk.
* uinfo.cc(pwdgrp::load): Do not call pc.isdisk.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 82e629dde..c10cb9b58 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -64,7 +64,6 @@ enum path_types PATH_ALL_EXEC = (PATH_CYGWIN_EXEC | PATH_EXEC), PATH_LNK = 0x01000000, PATH_TEXT = 0x02000000, - PATH_ISDISK = 0x04000000, PATH_HAS_SYMLINKS = 0x10000000, PATH_SOCKET = 0x40000000 }; @@ -123,7 +122,6 @@ class path_conv device dev; bool case_clash; - int isdisk () const { return path_flags & PATH_ISDISK;} bool isremote () {return fs.is_remote_drive ();} int has_acls () const {return fs.has_acls (); } int has_symlinks () const {return path_flags & PATH_HAS_SYMLINKS;} @@ -165,7 +163,6 @@ class path_conv void set_binary () {path_flags |= PATH_BINARY;} void set_symlink (DWORD n) {path_flags |= PATH_SYMLINK; symlink_length = n;} void set_has_symlinks () {path_flags |= PATH_HAS_SYMLINKS;} - void set_isdisk () {path_flags |= PATH_ISDISK; dev.devn = FH_FS;} void set_exec (int x = 1) {path_flags |= x ? PATH_EXEC : PATH_NOTEXEC;} void check (const char *src, unsigned opt = PC_SYM_FOLLOW, |