Change default of --modify-window on Cygwin from 2 to 1 because that's all
authorDavid Dykstra <dwd@samba.org>
Fri, 24 Jan 2003 22:07:22 +0000 (22:07 +0000)
committerDavid Dykstra <dwd@samba.org>
Fri, 24 Jan 2003 22:07:22 +0000 (22:07 +0000)
that's needed on FAT filesystems.  NTFS filesystems can do with a window of
0, but it shouldn't hurt because it's highly unlikely that any given file
will be modified within one second of the time that rsync last copied it.

NEWS
configure.in

diff --git a/NEWS b/NEWS
index 35a921ee4e78190acde883e8f3a88a8e54f4faa3..63ebd58c3e0452939439f7cf347e8143d8608724 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -31,7 +31,7 @@ rsync changes since last release
     * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
       and "hosts deny" fields.  (Hideaki Yoshifuji)
 
-    * Set the default value of --modify-window to 2 on Cygwin.  (Lapo
+    * Set the default value of --modify-window to 1 on Cygwin.  (Lapo
       Luchini)
 
     * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
index 539b83b0f729c7687b96247c5d4ca2ecbb201eed..31fd57d2e68a3ba832c94a01a0104e3b5c5da7b3 100644 (file)
@@ -249,7 +249,7 @@ fi
 
 AC_MSG_CHECKING([default value for --modify-window])
 case $host_os in
-       *cygwin* ) DEFAULT_MODIFY_WINDOW=${DEFAULT_MODIFY_WINDOW:-2};;
+       *cygwin* ) DEFAULT_MODIFY_WINDOW=${DEFAULT_MODIFY_WINDOW:-1};;
               * ) DEFAULT_MODIFY_WINDOW=${DEFAULT_MODIFY_WINDOW:-0};;
 esac
 AC_MSG_RESULT($DEFAULT_MODIFY_WINDOW)