Creating a directory with the leading path separator unexpectedly created it under the current directory rather than in the root of the current drive under MSW, due to the path being considered relative, in spite of starting with the path separator, because it didn't have the volume. Fix this by avoiding the use of IsAbsolute() in Mkdir() and checking for m_relative instead, as it seems the safest possible fix for this bug because changing IsAbsolute() to return true in this case might change the behaviour of the existing code. Closes #4470. |
||
|---|---|---|
| .. | ||
| filenametest.cpp | ||