Commit 95b0fc6f authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Use GetFullPathName to convert unix path names to DOS ones.

parent e9b36904
......@@ -153,7 +153,7 @@ int main(int argc, char *argv[])
{
*path='\0';
if (outputformats & LONGFORMAT) {
GetLongPathNameA(argv[i], path, sizeof(path));
GetFullPathNameA(argv[i], sizeof(path), path, NULL);
printf("%s\n", path);
}
if (outputformats & SHORTFORMAT) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment