Switch to unified view
a/src/pathut.cpp | b/src/pathut.cpp | ||
---|---|---|---|
... |
... |
||
362 | { |
362 | { |
363 | if (is.length() == 0) { |
363 | if (is.length() == 0) { |
364 | return is; |
364 | return is; |
365 | } |
365 | } |
366 | string s = is; |
366 | string s = is; |
367 | #ifdef _WIN32 |
||
368 | path_slashize(s); |
||
369 | #endif |
||
367 | if (!path_isabsolute(s)) { |
370 | if (!path_isabsolute(s)) { |
368 | char buf[MAXPATHLEN]; |
371 | char buf[MAXPATHLEN]; |
369 | if (!getcwd(buf, MAXPATHLEN)) { |
372 | if (!getcwd(buf, MAXPATHLEN)) { |
370 | return string(); |
373 | return string(); |
371 | } |
374 | } |