shithub: puzzles

Download patch

ref: 3dc6adba5ef474f5e145b22184639b7b86b329f3
parent: d5c848b92f850a484f5a48eaa7469ee383b7d93c
author: Simon Tatham <anakin@pobox.com>
date: Sun May 30 18:48:31 EDT 2010

Some kernels don't like my #! line. Move the -w into a 'use
warnings;' to make it simpler.

[originally from svn r8966]

--- a/mkfiles.pl
+++ b/mkfiles.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/env perl
 #
 # Cross-platform Makefile generator.
 #
@@ -17,6 +17,7 @@
 #  - special-define objects (foo.o[PREPROCSYMBOL]) are not
 #    supported in the mac or vcproj makefiles.
 
+use warnings;
 use IO::Handle;
 use Cwd;