Be prepared for DOS-like drive letters in the getcwd() result.
commit861429a7c37cce27b07331ab9106c3c52c68cf2d
authorJohannes Sixt <johannes.sixt@telecom.at>
Fri, 29 Dec 2006 07:54:11 +0000 (29 08:54 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Fri, 19 Jan 2007 15:25:15 +0000 (19 16:25 +0100)
tree319011374a975c8863bc25d3962ccc486be0fa1f
parent5a9f377e1db79f18c7acdede78b47ac32d6abf2b
Be prepared for DOS-like drive letters in the getcwd() result.

An earlier patch has implemented getcwd() so that it converts the
drive letter into the POSIX-like path that is used internally by
MinGW (C:\foo => /c/foo), but this style does not work outside
the MinGW shell. It is better to just convert the backslashes
to forward slashes and handle the drive letter explicitly.
compat/mingw.c
setup.c