diff options
-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)) { |