diff options
author | Christopher Faylor <me@cgf.cx> | 2002-07-24 05:37:47 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-07-24 05:37:47 +0000 |
commit | 99138976d9f0e9f94e9920af5e61ace9fd5554df (patch) | |
tree | 317a5dc50db8febc6e0cc603627c58f669b3c423 /winsup/cygwin/path.h | |
parent | 63a93e9dd606b8760bf9bb26320978629c8f45a1 (diff) | |
download | cygnal-99138976d9f0e9f94e9920af5e61ace9fd5554df.tar.gz cygnal-99138976d9f0e9f94e9920af5e61ace9fd5554df.tar.bz2 cygnal-99138976d9f0e9f94e9920af5e61ace9fd5554df.zip |
* path.cc (path_conv::check): Always set fileattr when component == 0.
(readlink): Use path_conv method rather than field.
* fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): Ditto, throughout.
* path.h (path_conv): Make fileattr private.
* exceptions.cc (try_to_debug): Default to idle priority when looping.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index 3d9b86c15..f9f55035e 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -70,6 +70,7 @@ struct fs_info class path_conv { char path[MAX_PATH]; + DWORD fileattr; fs_info fs; void add_ext_from_sym (symlink_info&); public: @@ -79,7 +80,6 @@ class path_conv int error; DWORD devn; int unit; - DWORD fileattr; BOOL case_clash; char *normalized_path; @@ -138,8 +138,8 @@ class path_conv check (src, opt | PC_NULLEMPTY, suffixes); } - path_conv (): path_flags (0), known_suffix (NULL), error (0), devn (0), - unit (0), fileattr (INVALID_FILE_ATTRIBUTES), + path_conv (): fileattr (INVALID_FILE_ATTRIBUTES), path_flags (0), + known_suffix (NULL), error (0), devn (0), unit (0), normalized_path (NULL) {path[0] = '\0';} inline char *get_win32 () { return path; } |