aboutsummaryrefslogtreecommitdiffstats
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index a4706f4ac8..34ad5fedb1 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -5337,6 +5337,7 @@ fileattr_to_unixmode(DWORD attr, const WCHAR *path)
}
break;
}
+ if (!iswalnum(*end)) break;
}
}