- I decided that we should leave as much of the real mode attached
[rsync/rsync-patches.git] / verify-patches
index a7d0870..77b15ad 100755 (executable)
@@ -31,6 +31,7 @@ from inside the patches subdir.
 EOT
 }
 
+$ENV{'LC_COLLATE'} = 'C';
 $| = 1;
 my $CONF_OPTS = '-C';
 
@@ -246,12 +247,12 @@ sub generate_new_patch
        print OUT $_;
     }
     close IN;
-    &filter_diff('diff --exclude-from=exclude -upr cvsdir workdir');
+    &filter_diff('diff --exclude-from=exclude -dupr cvsdir workdir');
     if ($prepare_source) {
        # These are not included in the diff above so that patch will give
        # generated files a later timestamp than the source files.
        foreach my $fn (@generated_files) {
-           &filter_diff("diff -up cvsdir/$fn workdir");
+           &filter_diff("diff -dup cvsdir/$fn workdir");
        }
     }
     close OUT;