[Tools 2/2] winetest/build-index: The system locale should not impact the date formatting code.
Francois Gouget
fgouget at codeweavers.com
Mon Mar 20 18:08:41 CDT 2017
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
winetest/build-index | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/winetest/build-index b/winetest/build-index
index 9a67d15..e811b62 100755
--- a/winetest/build-index
+++ b/winetest/build-index
@@ -62,7 +62,8 @@ sub get_build_info($)
return ($date, $subject);
}
-use POSIX qw(strftime);
+use POSIX qw(locale_h strftime);
+setlocale(LC_ALL, "C");
sub short_date($)
{
--
2.11.0
More information about the wine-patches
mailing list