diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/syncfiles.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/syncfiles.pl b/tools/syncfiles.pl index 4da87f9c..b93e3ed2 100755 --- a/tools/syncfiles.pl +++ b/tools/syncfiles.pl @@ -67,7 +67,7 @@ $first_file = $ARGV[0]; die unless (defined($first_file)); foreach $file (@ARGV) { - open(FILE, "< $file\0") or die; + open(FILE, '<', $file) or die; # First, read the syntax hints %hints = %def_hints; @@ -116,7 +116,7 @@ foreach $file (@ARGV) { # Write the file back out if (!$first) { - open(FILE, "> $file\0") or die; + open(FILE, '>', $file) or die; print FILE @lines; close(FILE); } |