From 75c8a70c95ee78122233c2caad4118e2977368a2 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 13 Feb 2003 03:13:37 +0000 Subject: [PATCH] * path.h (path_conv): Reorganize slightly. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/path.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f03c99e77..5b89faf10 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-02-12 Christopher Faylor + + * path.h (path_conv): Reorganize slightly. + 2003-02-12 Christopher Faylor * fhandler_tty.cc (process_input): Add sanity check to ensure that diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 520b4907a..e41d143be 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 */