aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-02-13 03:13:37 +0000
committerChristopher Faylor <me@cgf.cx>2003-02-13 03:13:37 +0000
commit75c8a70c95ee78122233c2caad4118e2977368a2 (patch)
treeaf5375136f2c9276a7dec2ba8a2e652dd465acb7 /winsup/cygwin/path.h
parent939d19b0da0f169f25007513f7afd3eae435f77e (diff)
downloadnewlib-75c8a70c95ee78122233c2caad4118e2977368a2.zip
newlib-75c8a70c95ee78122233c2caad4118e2977368a2.tar.gz
newlib-75c8a70c95ee78122233c2caad4118e2977368a2.tar.bz2
* path.h (path_conv): Reorganize slightly.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 520b490..e41d143 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -67,9 +67,9 @@ struct fs_info
DWORD drive_type;
bool update (const char *);
};
+
class path_conv
{
- char path[MAX_PATH];
DWORD fileattr;
fs_info fs;
void add_ext_from_sym (symlink_info&);
@@ -81,7 +81,6 @@ class path_conv
DWORD devn;
int unit;
BOOL case_clash;
- char *normalized_path;
int isdisk () const { return path_flags & PATH_ISDISK;}
int isremote () const {return fs.is_remote_drive;}
@@ -160,6 +159,9 @@ class path_conv
DWORD volser () { return fs.serial; }
const char *volname () {return fs.name; }
void fillin (HANDLE h);
+ char *normalized_path;
+ private:
+ char path[MAX_PATH];
};
/* Symlink marker */