Files
git/compat
Johannes Sixt 3031522444 Introduce has_dos_drive_prefix() and use it.
This function tests whether there is a C: style prefix in the argument.
It returns always 0 on Unix.

With this functions a number of conditionals #ifdef __MINGW32__/#endif
can be removed.

The getcwd() replacement was simplified: It tried to elide the translation
of backslashes to slashes if there was no drive prfix, but this
optimization is wrong: We could be looking at an UNC path, which we also
want to translate.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
2008-03-02 21:54:30 +01:00
..
2007-01-19 16:24:48 +01:00
2007-01-19 16:24:48 +01:00
2007-09-06 22:46:00 -07:00
2007-06-07 00:04:01 -07:00
2007-11-21 07:34:44 +01:00
2007-03-01 22:09:05 +01:00