Use "use warnings" rather than -w on the #! line.
[rsync/rsync-patches.git] / db.diff
diff --git a/db.diff b/db.diff
index 524e340..479fd6b 100644 (file)
--- a/db.diff
+++ b/db.diff
@@ -788,7 +788,7 @@ diff --git a/flist.c b/flist.c
        if (basename_len == 0+1) {
                if (!pool)
                        unmake_file(file);
-@@ -1934,6 +1937,9 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
+@@ -1936,6 +1939,9 @@ struct file_list *send_file_list(int f, int argc, char *argv[])
                     | (eol_nulls || reading_remotely ? RL_EOL_NULLS : 0);
        int implied_dot_dir = 0;
  
@@ -1068,9 +1068,10 @@ diff --git a/support/rsyncdb b/support/rsyncdb
 new file mode 100755
 --- /dev/null
 +++ b/support/rsyncdb
-@@ -0,0 +1,331 @@
-+#!/usr/bin/perl -w
+@@ -0,0 +1,332 @@
++#!/usr/bin/perl
 +use strict;
++use warnings;
 +
 +use DBI;
 +use Getopt::Long;