diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-06-22 09:51:29 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-06-22 09:51:29 +0000 |
commit | 970790c68143b71e649d3e993f472ce3f436e8b5 (patch) | |
tree | d09f2bc35f81aa2b27e15e976b1afe6d5960e5dd | |
parent | 797ff24dfbb0be5a7260bc0056b335ceefd741de (diff) | |
download | cygnal-970790c68143b71e649d3e993f472ce3f436e8b5.tar.gz cygnal-970790c68143b71e649d3e993f472ce3f436e8b5.tar.bz2 cygnal-970790c68143b71e649d3e993f472ce3f436e8b5.zip |
* path.cc (realpath): Fix comment.
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 33699dde7..384171000 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,9 @@ 2012-06-21 Corinna Vinschen <corinna@vinschen.de> + * path.cc (realpath): Fix comment. + +2012-06-21 Corinna Vinschen <corinna@vinschen.de> + * path.cc (realpath): Call mount_info::conv_to_posix_path rather than mount_info::cygdrive_posix_path to convert DOS paths to POSIX paths. Add comment to explain why that's necessary at all. diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 3b3958d8b..5a7d74ecb 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -3207,8 +3207,8 @@ realpath (const char *path, char *resolved) return NULL; /* Win32 drive letter paths have to be converted to a POSIX path first, - because path_conv lets the incoming path untouched except for converting - backslashes to forward slashes. */ + because path_conv leaves the incoming path untouched except for + converting backslashes to forward slashes. */ char *tpath; if (isdrive (path)) { |