diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-05-13 13:44:04 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-05-13 13:44:04 +0000 |
commit | a9e9da89fa1cb146f1dbefc67f71e74eb4e0e179 (patch) | |
tree | 136a1e8b214c5478774b58203414dca8981c54c7 /winsup/cygwin/path.h | |
parent | a065930a3ad29db593857c3807ebe9deacb5321a (diff) | |
download | cygnal-a9e9da89fa1cb146f1dbefc67f71e74eb4e0e179.tar.gz cygnal-a9e9da89fa1cb146f1dbefc67f71e74eb4e0e179.tar.bz2 cygnal-a9e9da89fa1cb146f1dbefc67f71e74eb4e0e179.zip |
* path.cc (path_conv::set_normalized_path): Drop strip_tail argument.
Never strip trailing dots and spaces.
* (path_conv::check): Accomodate above change.
* path.h (path_conv::operator=): Ditto
* dtable.cc (build_fh_dev): Ditto.
* fhandler.h (fhandler_base::set_name): Ditto.
* path.cc (transform_chars): Disable converting trailing dots and
spaces.
* path.cc (path_conv::check): Remove two disabled code snippets.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index e121280ce..ab6dda79a 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -253,7 +253,7 @@ class path_conv path_conv &operator =(path_conv &pc) { memcpy (this, &pc, pc.size ()); - set_normalized_path (pc.normalized_path, false); + set_normalized_path (pc.normalized_path); wide_path = NULL; return *this; } @@ -280,7 +280,7 @@ class path_conv unsigned __stdcall ndisk_links (DWORD); char *normalized_path; size_t normalized_path_size; - void set_normalized_path (const char *, bool) __attribute__ ((regparm (3))); + void set_normalized_path (const char *) __attribute__ ((regparm (2))); DWORD get_symlink_length () { return symlink_length; }; private: DWORD symlink_length; |