Francois Gouget : winetest/build-index: The system locale should not impact the date formatting code.
Alexandre Julliard
julliard at winehq.org
Tue Mar 21 14:11:14 CDT 2017
Module: tools
Branch: master
Commit: 6c5dbad3630f5860e8fb0bbea56e335f638d2c99
URL: http://source.winehq.org/git/tools.git/?a=commit;h=6c5dbad3630f5860e8fb0bbea56e335f638d2c99
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Mar 21 00:08:41 2017 +0100
winetest/build-index: The system locale should not impact the date formatting code.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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($)
{
More information about the wine-cvs
mailing list