Francois Gouget : winetest: Consistently use strict and warnings in the main CGI scripts.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 23 13:49:23 CDT 2014
Module: tools
Branch: master
Commit: 18bebff012a0df99e8c555bfe733731c16d45c07
URL: http://source.winehq.org/git/tools.git/?a=commit;h=18bebff012a0df99e8c555bfe733731c16d45c07
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Jul 22 16:08:10 2014 +0200
winetest: Consistently use strict and warnings in the main CGI scripts.
---
winetest/site | 3 +++
winetest/winetest.cgi | 1 +
2 files changed, 4 insertions(+)
diff --git a/winetest/site b/winetest/site
index f7996a6..a942491 100755
--- a/winetest/site
+++ b/winetest/site
@@ -5,6 +5,9 @@
# by Jeremy Newman <jnewman at codeweavers.com>
#
+use strict;
+use warnings;
+
# load CGI object
use CGI qw(:standard);
my $q = new CGI;
diff --git a/winetest/winetest.cgi b/winetest/winetest.cgi
index 8c72e02..2cc1190 100755
--- a/winetest/winetest.cgi
+++ b/winetest/winetest.cgi
@@ -17,6 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
use strict;
+use warnings;
use vars qw/$queuedir $maxfilesize/;
BEGIN {
More information about the wine-cvs
mailing list