commit 40afd365cc8ca968fd16e161d24df5b8a8a520cc Author: Wayne Davison Date: Fri Sep 23 09:13:53 2011 -0700 Preparing for release of 3.0.9 M NEWS M OLDNEWS M configure.ac M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit d702b978380aa1f6abf7f7bfc1e7fad4011a2660 Author: Wayne Davison Date: Thu Sep 22 23:33:51 2011 -0700 Mention the latest changes. M NEWS commit 53a46d9e09fff01aac6978d0d5f70dc550dfe1a4 Author: Wayne Davison Date: Thu Sep 22 23:31:18 2011 -0700 Fix two unused-variable compiler warnings. M io.c M wildtest.c commit 510c5ab7ff0c6b2d0d8794e285259238234c4b96 Author: Wayne Davison Date: Thu Sep 22 09:02:21 2011 -0700 Fix xattr memory leak. Fixes bug 8475. M xattrs.c commit 033697d96db0d28fe7b68a191665a8db80375bdb Author: Wayne Davison Date: Thu Sep 15 07:40:50 2011 -0700 Make --delete-excluded work better with --filter=merge. M exclude.c commit abc796661d6d3a5b37cb0642e7e9885f6a271d60 Author: Wayne Davison Date: Thu Sep 15 07:27:23 2011 -0700 When modifying PATH, export it (for Solaris). M runtests.sh commit 998df4b0c0c7fca98a02bc07423d0a922b737376 Author: Wayne Davison Date: Tue Sep 13 15:58:25 2011 -0700 Added "SORTED TRANSFER ORDER" manpage section. M rsync.yo commit 675f864c6d718f49be976d1aab4ea20b6cc5c104 Author: Wayne Davison Date: Tue Sep 13 15:27:55 2011 -0700 Cleanup some manpage & --help info. M options.c M rsync.yo commit dbd58bb2d01b28df2ba8a3bd0fc0bed69bbd24df Author: Wayne Davison Date: Sun Sep 11 22:46:57 2011 -0700 Improve the usage for --help. M options.c commit a5ef6969530e4616112999be9330cc442bcba7b7 Author: Wayne Davison Date: Sat Sep 10 14:52:19 2011 -0700 Preparing for release of 3.0.9pre2 M OLDNEWS M configure.ac M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit ae6dea711d77d189ec7ff098fd3eaa9842fb8a16 Author: Wayne Davison Date: Sat Sep 10 13:40:48 2011 -0700 Mention the latest changes in the NEWS. M NEWS commit 5a9933c85cca18f0b3991a93e40bc8b00b23ed8c Author: Wayne Davison Date: Tue Sep 6 21:18:32 2011 -0700 Error out if --password-file specifed and it fails. Fixes bug 8440. M authenticate.c commit b91ab5f9c87b5e725e838bd386fe8e9cc3cb28d6 Author: Wayne Davison Date: Sat Sep 3 12:40:12 2011 -0700 Dirs need +rx as well as +w for non-super xfers. Partial fix for bug 8242. M generator.c commit 5340571ab6c29ebe15d4352fcd77d2f2d3ff2fc1 Author: Wayne Davison Date: Sat Aug 27 14:58:04 2011 -0700 Move implied_dot_dir=1, just to be safe. M flist.c commit e7dd0e5004d6760bbd96991d2833e9f5cb64e7bd Author: Wayne Davison Date: Sat Aug 27 11:56:57 2011 -0700 Fix sending of "." attributes for implied-dot-dir. M flist.c commit 5822f988f54140c09909d406247593b48fb5ea09 Author: Wayne Davison Date: Sat Aug 27 10:28:20 2011 -0700 Fix bwlimit multiplication overflow. Fixes bug 8375. M io.c commit 881455f7b2dae46d5f837221fc58968dcf1d90d4 Author: Wayne Davison Date: Sat Aug 27 10:07:28 2011 -0700 Some option-parsing clarifiation in the intro. M rsync.yo commit fe2c165fca8bd5e9fa9660378647841e6b5a08d4 Author: Wayne Davison Date: Sat Aug 6 11:21:40 2011 -0700 Fix misplaced parens on getnameinfo() call. M socket.c commit 4c0055ecbb51f7fbc878229ec615f93e1adc506f Author: Wayne Davison Date: Sat Aug 6 11:18:54 2011 -0700 Ignore socketpair() on cygwin. Fixes bug 8356. M configure.ac commit d706e888fcd65e06d95302471db648ec1d33683e Author: Wayne Davison Date: Fri Jul 22 11:17:57 2011 -0700 Fix Minix build errors. Fixes bug 8313. M configure.ac M socket.c commit c0d07c098724ee8c382a498cab991f7d8467d778 Author: Wayne Davison Date: Sat Jul 16 15:42:32 2011 -0700 Replace another inet_ntop() call with getnameinfo(). M clientserver.c M socket.c commit 606c6039431e8eb3558ffb4ac6a0769864660bb4 Author: Wayne Davison Date: Tue Jul 12 15:58:11 2011 -0700 Add more connect debug info, as Carlos suggested. M socket.c commit 5fed6c076a76b168d6c6bae59ea9b7f41fb7dbe7 Author: Wayne Davison Date: Mon Jul 11 18:15:51 2011 -0700 Move freeaddrinfo() call after failure-reporting loop. M socket.c commit 30fb28cc97b60d736c3f1b44f0bd73309cb79384 Author: Wayne Davison Date: Mon Jul 4 16:36:41 2011 -0700 Mention the latest fixes. M NEWS commit 3a2495cb22bdc29f91ee328e5c76c3fb364314aa Author: Wayne Davison Date: Mon Jul 4 16:31:58 2011 -0700 Fix a comment. M support/mnt-excl commit 1916a7a2a6c1ed354f827c612cf70f7177a67153 Author: Wayne Davison Date: Mon Jul 4 16:02:12 2011 -0700 Handle FES_NO_SEND properly on a hard-linked file. Fixes bug 8246. M generator.c M io.c commit 121082fa9b375666e06a8fc6e476aaecb307079f Author: Wayne Davison Date: Sun Jun 26 09:52:40 2011 -0700 Fix #ifdef in unchanged_attrs(). Fixes bug 8268. M generator.c commit c6bed2d9eee2dda657ed2e5d2200565cf92264bd Author: Wayne Davison Date: Mon May 16 11:24:07 2011 -0700 Explicitly mention spaces in the "path" setting. M rsyncd.conf.yo commit ecae885a5194cf2c23fda2968845bded2802b84d Author: Wayne Davison Date: Sat Apr 9 08:33:55 2011 -0700 Improve lsh's handling of -l user option w/cd. M support/lsh commit f3504138141f8332498ce3298b6c10335b8fdd28 Author: Wayne Davison Date: Sun Apr 3 18:02:45 2011 -0700 Move var declaration for older C compilers. M flist.c commit 93bdc6478e8d8a392b318f3986f9799ac3203d0e Author: Wayne Davison Date: Wed Jun 22 08:00:35 2011 -0700 Preparing for release of 3.0.9pre1 M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 2d07fa6350c6deb0122a1bb965fb64f2f6282eaf Author: Wayne Davison Date: Wed Jun 22 07:58:23 2011 -0700 Mention latest fix. M NEWS commit 33e37a49baf7a3d65025c10a1899741d201a3f2c Author: Wayne Davison Date: Sat Jun 18 12:44:26 2011 -0700 Make daemon-exclude errors more error-like. Fixes bug 7765. M generator.c M main.c commit 5782ac04d7dfade1cb751ab6deaeea60b3d0f15b Author: Wayne Davison Date: Sat Jun 18 10:31:30 2011 -0700 Prepare for 3.0.9pre1 release. M NEWS M OLDNEWS M configure.ac commit fc41c32159e51c53a24aada899a3d04cf3b9f054 Author: Wayne Davison Date: Sat Jun 18 10:22:24 2011 -0700 Mention coming Solaris support. M configure.ac commit 365124a2144e7bebfe9857bbb070953cac9798b1 Author: Wayne Davison Date: Sat Jun 4 12:53:10 2011 -0700 Don't force \(em in the manpages. Fixes bug 7941. M tweak_manpage commit dbf68ca4c11771f57a01040e805bcd5549110221 Author: Wayne Davison Date: Sat Jun 4 09:46:06 2011 -0700 Linux needs symlink xattrs. Fixes bug 8201. M configure.ac commit ba35ba06c9964d67fd7712f1b103e6d527f30c46 Author: Wayne Davison Date: Mon May 30 08:24:27 2011 -0700 Fix unwritable directory issue due to misordered chmod call. M generator.c commit 0b519262c60f8decef113b86aed2599253d29ce1 Author: Wayne Davison Date: Wed May 25 08:59:47 2011 -0700 Expand NO_ENTRY items from fake-super ACLs in get_rsync_acl(). M acls.c commit 3ef38b0d1b5efcd857b9e2f7608f288bd0439785 Author: Wayne Davison Date: Fri Apr 22 15:51:55 2011 -0700 Avoid adding a slash to path '/'. M util.c commit 5a1d092ae1f184ab5349728587405bacafcd1aaf Author: Wayne Davison Date: Fri Apr 22 11:27:16 2011 -0700 Fix a potential crash when trying to find a better block match. M match.c commit 1ddcdaf3f6808ba53aef9e19f630a18808de22ac Author: Wayne Davison Date: Sat Mar 26 14:34:18 2011 -0700 Preparing for release of 3.0.8 M NEWS M OLDNEWS M configure.ac M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 93562b19412bd6fc2e3a04e2413823686604eb66 Author: Wayne Davison Date: Sat Mar 26 14:31:45 2011 -0700 Mention CVE-2011-1097. M NEWS commit 959bd708209d6cbb9c9c7aa34de7b8f9423da0de Author: Wayne Davison Date: Sat Mar 26 10:17:14 2011 -0700 Tweak dir xattrs after the writability fudging. M generator.c commit a7271fb30f37490618fb03ff83461fd24acab20a Author: Wayne Davison Date: Sat Mar 26 09:15:26 2011 -0700 Avoid re-setting xattrs on a hard-linked file w/the same xattrs. Improved the xattrs testing to include hard-linking. M .gitignore M Makefile.in M NEWS M receiver.c M testsuite/hardlinks.test M testsuite/xattrs.test commit 277036153a966b6e312693f502ab867f67074929 Author: Wayne Davison Date: Sun Mar 20 19:45:23 2011 -0700 Mention the latest changes. M NEWS commit bc6363f9ab0ece866755eef863bb55f98517f2c8 Author: Wayne Davison Date: Sun Mar 20 19:31:58 2011 -0700 Enhance the -liconv check for OS X. Fixes bug 8018. M configure.ac commit e71130fd7739562cd190a92d3f8bcbda02168892 Author: Wayne Davison Date: Fri Mar 18 14:42:28 2011 -0700 Don't send user/group names for ACLs with --numeric-ids. Fixes bug 8020. M acls.c commit 38c9f1becf7b19202ef942919aee38603e31e33b Author: Wayne Davison Date: Thu Mar 17 11:25:12 2011 -0700 Get rid of an unused extern. M util.c commit 779663fc6cabf042cfaa6869fd0b10b2d21f5b85 Author: Wayne Davison Date: Sun Mar 13 20:42:58 2011 -0700 Fix xattrs test on OS X. M testsuite/rsync.fns M testsuite/xattrs.test commit 9562cc892556878a27843db4773386a55bd6aab5 Author: Wayne Davison Date: Sat Feb 26 08:10:27 2011 -0800 A few minor NEWS improvements. M NEWS commit a945aa19d94f4cc047cd9cf38405c499653d28db Author: Wayne Davison Date: Wed Feb 23 07:19:23 2011 -0800 Clarify what extraneous hard link are. M rsync.yo commit 2a1d2517501910e5e09d36ef1c0d4fbe34fa72a6 Author: Wayne Davison Date: Tue Feb 22 15:37:13 2011 -0800 Get rid of obsolete tempfs warning. M rsync.yo commit 8750f64ec7893c263b51e538895af3092bce9f4c Author: Wayne Davison Date: Tue Feb 22 11:03:42 2011 -0800 Preparing for release of 3.0.8pre1 M configure.ac M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 922895d9a38fc26542eab4b014b349b953c0ec75 Author: Wayne Davison Date: Tue Feb 22 10:57:10 2011 -0800 Mention even more fixes. M NEWS commit 72193c82a60ce52550c91d9f2596dedd3d16dde0 Author: Wayne Davison Date: Tue Feb 22 10:48:13 2011 -0800 Some uid/gid fixes for (id_t)-1. The code now avoids any special internal meaning for gid -1. If chown() is called with a uid or gid of -1, complain that the ID is not settable and signal a transfer error. M rsync.c M uidlist.c commit b178eb04d3406af1ec90641e1090caa7bbe831db Author: Wayne Davison Date: Tue Feb 22 08:49:21 2011 -0800 Allow a failure of EINVAL to mean no ACLs are available. (If our POSIX types aren't valid, we can't handle the ACLs.) M acls.c M lib/sysacls.c commit 3158b8df6c193c1e304f3244b46b93752445744b Author: Wayne Davison Date: Tue Feb 22 08:19:50 2011 -0800 Fix --force with --one-file-system w/o --delete. M main.c commit aa3640c09b37954fb86f7aab95085bc60ad254cc Author: Wayne Davison Date: Tue Feb 22 07:59:08 2011 -0800 Fix issue with devices-fake test. M testsuite/devices.test commit 07b5c770db603d1b173fc2835931fd9b1b069556 Author: Wayne Davison Date: Tue Feb 22 07:41:02 2011 -0800 Fix test 5's failure message. M testsuite/devices.test commit 8b7f20b6d35ee7458665c33114919567f5793503 Author: Wayne Davison Date: Mon Feb 21 10:20:29 2011 -0800 Mention latest changes. M NEWS commit 1dabd5dc9a46eb48b8525bf76a78218cf31e9e37 Author: Wayne Davison Date: Mon Feb 21 08:04:31 2011 -0800 A few more xattr-support fixes from the master branch. M xattrs.c commit 58d657c98f7e49ecdfefd72d525cca570d48de77 Author: Wayne Davison Date: Sat Jan 1 17:28:56 2011 -0800 Be clear on which part(s) of testsuite's checkit() failed. M testsuite/rsync.fns commit e46262f36d617c7aa3e3b5615437722930a23e1b Author: Wayne Davison Date: Sat Dec 18 08:48:07 2010 -0800 Fix issues with unchanged_attrs() for symlinks. M generator.c M rsync.c M rsync.h commit 4d92246a549af10990161e65c60304a5135e7cef Author: Wayne Davison Date: Sat Nov 6 09:57:23 2010 -0700 Use ftruncate() at the end of a --sparse file. Fixes bug 7337. M fileio.c M receiver.c M syscall.c commit 8f48ba03b53dfb62c866ecc617a6919fa6b8910d Author: Wayne Davison Date: Mon Feb 21 09:48:37 2011 -0800 Integrate time-setting fixes/improvements from the master branch. M compat.c M configure.ac M generator.c M options.c M rsync.c M rsync.h M syscall.c M t_stub.c M util.c commit eb8058577db2c728a8b40a06c3fdb4416b19a843 Author: Wayne Davison Date: Thu Aug 26 10:13:04 2010 -0700 Make case_N.h more generic. M case_N.h M cleanup.c commit 3c624bba85930590bc349fa7a7076444ba14e9d8 Author: Wayne Davison Date: Sat Sep 12 09:40:31 2009 -0700 Better mask handling, including some changes to help solaris. M acls.c commit 24e76f840e16667944b267636d60537be7235013 Author: Wayne Davison Date: Sat Sep 12 09:27:07 2009 -0700 Pass "new_mode" to set_acl() and change its return values. M acls.c M generator.c M rsync.c commit b62ea517f6bc11e208f55f6b08193499d18e5926 Author: Wayne Davison Date: Sat Sep 12 09:13:38 2009 -0700 Put file descriptor arg at the start of the arg list for consistency. M acls.c M flist.c M xattrs.c commit a6b3c2b512ddc3ac480bdad583294e879be9d617 Author: Wayne Davison Date: Sun Feb 20 23:32:21 2011 -0800 Added more missing NEWS items. M NEWS commit 4e95f91f27d978fa4b3a9fd8fed080a1306fb4e6 Author: Wayne Davison Date: Sun Feb 20 23:31:55 2011 -0800 Some manpage enhancements. M rsync.yo commit fad4ab9d0b5046f3232cf612af8fbc9960044546 Author: Wayne Davison Date: Sun Feb 20 22:07:22 2011 -0800 Suggest a better solution for a make without wildcard support. M INSTALL commit f91b15fbd6a7d0b9dcfb642d35238df8f0b51202 Author: Wayne Davison Date: Thu Feb 17 22:07:20 2011 -0800 Add .hg dir exclude to default_cvsignore list. Fixes bug 7957. M exclude.c M rsync.yo commit 83b94efa6b60a3ff5eee4c5f7812c617a90a03f6 Author: Wayne Davison Date: Sat Jan 29 22:10:43 2011 -0800 Switch over to Matt's idea of using FLAG_OWNED_BY_US. M flist.c M generator.c M rsync.h commit 2064c28d6ddcc4bc11abe3092620a9730045f845 Author: Wayne Davison Date: Sat Jan 29 20:52:38 2011 -0800 Move FLAG_DEL_NEEDS_UID into the "not stored" section. M rsync.h commit c499002e51db14b3b0c3b33680dc0955fe37206d Author: Wayne Davison Date: Sat Jan 29 19:25:53 2011 -0800 Fix a random flist data bug w/delete, inc-recurse, and no -o. Fixes bug 7936. M flist.c M generator.c M log.c M rsync.c M rsync.h commit c8255147b06b74dad940d32f9cef5fbe17595239 Author: Wayne Davison Date: Sun Jan 16 17:06:54 2011 -0800 Optimize finding the sum that matches our --inplace position. M match.c commit eee85e3c360d747be0d81594c03a80bc299bc345 Author: Wayne Davison Date: Fri Jan 14 10:29:54 2011 -0800 Make sure an alternate --inplace sum has the right length and add missing break in --inplace same-offset loop. M match.c commit 0c0219fe845d0d213782b7e67fdf65b5c5718f60 Author: Wayne Davison Date: Thu Jan 13 23:03:59 2011 -0800 Some fixes and improvements from the master branch. M support/mnt-excl commit a92edcbf5ce7ee6a0069da0795f8b395cb699043 Author: Wayne Davison Date: Mon Jan 3 20:05:54 2011 -0800 Avoid splitting a multi-byte character when trimming a name. Fixes bug 7816. Also makes the get_tmpname() code and comments more like the master. M receiver.c commit 17549c95de7952c76d05893beb6cba1ad4120814 Author: Wayne Davison Date: Mon Jan 3 19:49:05 2011 -0800 Mention that sorting the --files-from input is helpful. M rsync.yo commit 9d6fe1a6f0233c7567dfb114835751aff85a578b Author: Wayne Davison Date: Mon Jan 3 11:07:47 2011 -0800 Avoid reading ACL/xattr info on filetypes not being copied. Make Linux avoid xattr access on symlinks. Make OS X avoid xattr access on device/special files. Fixes bug 5458. M acls.c M configure.ac M flist.c M xattrs.c commit c43624c5758809f3246a1394656ad8596c9834be Author: Wayne Davison Date: Sat Jan 1 11:51:47 2011 -0800 Mention the latest changes. M NEWS commit 4baef8d663800bbfccc1ad002afd7c6cf68fd9e3 Author: Wayne Davison Date: Sat Jan 1 17:40:23 2011 -0800 Make xattrs.test more like the master version. M testsuite/xattrs.test commit c3ee6ac369385dca23ca9678e792b297a622dd36 Author: Wayne Davison Date: Sat Jan 1 16:39:55 2011 -0800 Avoid directory permission issues with --fake-super. Fixes bug 7070. M generator.c M receiver.c M testsuite/xattrs.test commit 63c5ac38a2c5b121fff636650aa9f25fd2952ace Author: Wayne Davison Date: Sat Jan 1 13:54:16 2011 -0800 Report all socket connection errors if we fail. Fixes bug 6588. M socket.c commit ce41e68995d2e9a0d961b322348c849e39142e67 Author: Wayne Davison Date: Sat Jan 1 12:54:07 2011 -0800 Itemize xattrs of a missing dir from an alt-dest dir. Fixes bug 6576. M generator.c commit 8538db7829b8584b78e23fba01253add3a355aa8 Author: Wayne Davison Date: Sat Jan 1 12:29:36 2011 -0800 Use full_fname() for system error messages. M xattrs.c commit 559bd2ff31eb389c94ca94c7d2d63bb1d4095ee0 Author: Wayne Davison Date: Sat Jan 1 11:27:40 2011 -0800 Tweak the year. M OLDNEWS M options.c commit 485a40318c4dea1ecd52e2045b3a8e3e9b9965e7 Author: Wayne Davison Date: Thu Dec 23 09:26:39 2010 -0800 Protect a remote filename that starts with a dash. M clientserver.c M main.c commit ede8cae34b7f2a0a8d183229e43415ef87115bcc Author: Wayne Davison Date: Sun Dec 19 09:00:39 2010 -0800 Tweak some apostrophes to make editor highlighting less problematic. M configure.ac commit 58ab32037daaa1012e5b87580058ca1a6df4ecda Author: Wayne Davison Date: Sat Dec 18 08:27:03 2010 -0800 Optimize --inplace chunck search to avoid a non-aligned search. M match.c commit 00cde6582c82d590895ca86bf1a2dc9a292d6d38 Author: Wayne Davison Date: Sat Dec 18 08:17:03 2010 -0800 Mention seek effect of an unmoved --inplace chunk. M receiver.c commit e6ba6e1107b03ffef6ec87e555a84fae614f9266 Author: Wayne Davison Date: Sat Dec 18 08:13:52 2010 -0800 Improve description of --chmod example. M rsync.yo commit efad2e85ea819c99b601e6e55a4e3d419336033f Author: Wayne Davison Date: Thu Dec 16 22:15:04 2010 -0800 Fix crash when --backup-dir is excessively long. M options.c commit c463617443f999befe1b20cc5b3ffb484dee025b Author: Wayne Davison Date: Mon Sep 6 08:41:46 2010 -0700 Some quoting fixes/improvements. M support/lsh commit 6abb59adf61a64a9353c8477bc23a701ba7e139e Author: Wayne Davison Date: Mon Sep 6 08:25:19 2010 -0700 If we create an off_t type, define SIZEOF_OFF_T. M rsync.h commit d79bc5c791f443528405ad112a7aacae1b1655b1 Author: Wayne Davison Date: Mon Sep 6 08:09:20 2010 -0700 Fix rsync_xal_set reference in an error. M xattrs.c commit 10cd07c22555768819cdc3a00f1c51d3d7d777a7 Author: Wayne Davison Date: Sat Aug 21 11:26:21 2010 -0700 Avoid infinite loop if the file's length is negative. Fixes bug 4664. M generator.c commit 62e9eb7bc2c593d40951f5099a36442537732a5c Author: Wayne Davison Date: Thu Aug 26 08:27:20 2010 -0700 Mention need of wildcard support in make. See bug 7625. M INSTALL commit de20d72541d0059218dd17fa20ca761a8cf00523 Author: Wayne Davison Date: Thu Aug 26 07:58:22 2010 -0700 Remove duplication for -x option. M options.c commit f8cd1c4730f8a7ea4934c6986223d6a50a3ab00c Author: Wayne Davison Date: Sat Jul 3 09:30:44 2010 -0700 A couple more NEWS items. M NEWS commit 5de3fe19b6753d037b8395c3b50473805023f2d5 Author: Wayne Davison Date: Thu Dec 31 14:10:38 2009 -0800 Always use lchmod() if it is available. M syscall.c commit 0ac2d243bf2f34185b7527ad2efec57d43d3c726 Author: Wayne Davison Date: Sat Feb 6 13:32:47 2010 -0800 Mention what -XX (repeated --xattrs) does. M rsync.yo commit 14556a30b338925302b6c48642b77004fe3bb2a9 Author: Matt McCutchen Date: Sun Oct 4 01:24:50 2009 -0400 Document the "copy-some-dirlinks" trick in the man page. Originally explained at: http://lists.samba.org/archive/rsync/2006-February/014838.html M rsync.yo commit 8c1f2d53ec3cc157026429f6d96503d3db48f351 Author: Matt McCutchen Date: Sun Feb 7 21:00:02 2010 -0500 Fix erroneous "--fake-user" in the rsyncd.conf(5) man page. M rsyncd.conf.yo commit f532cede11d2d4df575bc7767ea1c7373b0d988b Author: Matt McCutchen Date: Wed Mar 17 00:53:42 2010 -0400 In "ignoring unsafe symlink" messages, show only the file-list path. Rsync was showing the full destination path, which was confusing because nothing is created at that path and was especially bogus in combination with the source name of a solo file. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506830 M backup.c M generator.c commit 05022e00a2cb5ba8b994c1f11ebe501efa2f0114 Author: Wayne Davison Date: Sat Jul 3 08:56:09 2010 -0700 More NEWS. M NEWS commit 24a743b5650ad27c2db4a6323f714e072cdc595e Author: Wayne Davison Date: Sat Jul 3 08:54:40 2010 -0700 If a module has no path setting, return an error. M clientserver.c commit e36f5c9f6cac48349fddc581ca90cecae4c18b11 Author: Wayne Davison Date: Sat Jul 3 08:49:46 2010 -0700 Mention latest changes. M NEWS commit c9c32156984411006549e5c68a68e1dada0107e6 Author: Wayne Davison Date: Sat Jul 3 08:14:02 2010 -0700 Refer to the right lsetxattr() caller in a error message. M xattrs.c commit dbfde9e50aa8dfab3fc919323e874a02e910701b Author: Wayne Davison Date: Sat Jun 19 09:47:00 2010 -0700 Fix compression-ignoring of upper-case suffixes. Fixes bug 7512. M token.c commit 1cdb5e1c869d21d55a60aef063a5717e777acfb7 Author: Wayne Davison Date: Sat Jun 19 09:29:42 2010 -0700 Fix a couple socketpair_tcp() issues (see bug 7514). M socket.c commit 24afdc500a326988d1bf66d4c1092160146cbec5 Author: Wayne Davison Date: Sat Mar 27 12:06:45 2010 -0700 Fix a typo that Andrea Gelmini pointed out. M rsync3.txt commit 303759b803e1a382f7d7a62971058814bf0c42cd Author: Wayne Davison Date: Sat Mar 27 12:05:01 2010 -0700 Get rid of trailing whitespace. M rsync3.txt commit a699f7c6afe182e60a8fe7713d7ee4b400835f0f Author: Matt McCutchen Date: Wed Mar 17 01:08:28 2010 -0400 Man page description of --xattrs should not assume a push. M rsync.yo commit a250fa251be39e7357c756fb21f62fb0267d5011 Author: Wayne Davison Date: Sat Jun 26 10:52:04 2010 -0700 More manpage improvements. M rsync.yo commit e44aa644c20956d0059cc7a983c92911eed34e70 Author: Matt McCutchen Date: Thu Nov 19 00:18:23 2009 -0500 Amplify the man page description of --hard-links (see bug 3693), and improve that of --inplace while I'm at it. M rsync.yo commit ef67c238b56b6fa28d08850220957a3fbc7fa3cd Author: Wayne Davison Date: Sat Jul 3 08:27:38 2010 -0700 Reject passing an arg to an option that doesn't take one (bug 6915). Based on a patch by Matt, but further tweaked to deal with -q=foo. M popt/popt.c M popt/popt.h commit 111599be2be2b1e77a0ca4483fba00d8cd35452d Author: Wayne Davison Date: Sat Jul 3 08:24:58 2010 -0700 Mention 2010 in the main copyright. M options.c commit 8e918e1861c3cf76c60381c7cec70c1803b3c8c4 Author: Wayne Davison Date: Sat Jul 3 08:23:31 2010 -0700 Make an empty-string dest-dir the same as "." again. M main.c commit 0874fc487246c707afa433140509f6fe9adfc775 Author: Wayne Davison Date: Wed Jun 30 09:04:21 2010 -0700 Setup for 3.0.8dev. M NEWS M OLDNEWS M configure.ac commit 55dbbdeafea0b7af0b96d789368942af9edd9743 Author: Wayne Davison Date: Wed Jun 30 08:58:40 2010 -0700 Fixed inconsistencies reported by packaging/var-checker. M checksum.c M exclude.c M generator.c M hlink.c M io.c M log.c M main.c M options.c M receiver.c commit cbd27d5e18f3996e9c421481e64504600a659f3a Author: Wayne Davison Date: Wed Jun 30 08:22:59 2010 -0700 Update support/rrsync and some packaging/* scripts. M packaging/cull_options D packaging/extern-squish A packaging/git-status.pl M packaging/nightly-rsync M packaging/patch-update M packaging/release-rsync A packaging/var-checker M support/rrsync commit 178ccdde7d6fe1e7229942ad3d11f137b4026303 Author: Matt McCutchen Date: Mon Feb 8 20:45:39 2010 -0500 Rename configure.in to configure.ac, the current autoconf standard. M Makefile.in R100 configure.in configure.ac M packaging/release-rsync M prepare-source.mak M testsuite/itemize.test commit e51bb8f330d6b6ee3979bb0538e42da997c50d75 Author: Wayne Davison Date: Sat Jun 26 16:14:15 2010 -0700 Write out the right compat_flags value into the batch file. M compat.c M io.c commit 6d9207bd3837f22e54d7082998b73400ae64fa89 Author: Wayne Davison Date: Sat Jun 26 16:13:58 2010 -0700 Turn some asserts into descriptive errors. M hlink.c commit 6b8756674421b575a9ea92cfc2cc62a179df18e4 Author: Wayne Davison Date: Sat Jun 26 16:13:20 2010 -0700 Make sure our use of idev_find() hashtable is right while also supporting older rsyncs that send dev == 0. M flist.c M hlink.c commit b384d71e53e6f4eed3cb1811551773285f6b0a69 Author: Wayne Davison Date: Sat Jun 26 11:32:14 2010 -0700 Make sure that the code doesn't try to use an illegal key. M hashtable.c commit 11f4f34ed96eafd0ff9e1d5813e5476790a4b6e9 Author: Wayne Davison Date: Fri Jun 4 23:10:47 2010 -0700 Fix daemon-filter crash issue (bug 7489). M generator.c commit fe2c582af879a633c346d0c36da3ca79f5d7ff3b Author: Wayne Davison Date: Wed Mar 31 14:56:52 2010 -0700 Removing now-redundant path-size check from send_if_directory(). M flist.c commit 2ecd8b7cd27f692d2832dc6908ca6a6fe1d310fe Author: Wayne Davison Date: Fri Mar 26 16:56:40 2010 -0700 Fix directory-length overflow bug (7057). M flist.c commit 54f00c3f89fc147f2f9cba89d26a5bb1d20e783b Author: Wayne Davison Date: Thu Dec 31 13:08:07 2009 -0800 Preparing for release of 3.0.7 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 1fc8c51705924d191e404692b5082c6a0dada200 Author: Wayne Davison Date: Wed Dec 30 19:58:57 2009 -0800 Allow any gcc to make use of __builtin_alloca for alloca. M popt/system.h commit b04604945d7d3868f3d914aa7e9ec0d00f8a974e Author: Wayne Davison Date: Wed Dec 30 19:57:47 2009 -0800 Configure check for -Wno-unused-parameter now tries to link too. M configure.in commit 808b1d61c0085d4d8fba6a949da5bbd11480c59c Author: Wayne Davison Date: Wed Dec 30 12:25:33 2009 -0800 Fixed the passing of a '/' modifier for an absolute-path filter rule. M NEWS M exclude.c commit 2f01fb11526f4a8fed3e5e6189706845c04136f3 Author: Wayne Davison Date: Thu Dec 24 08:31:37 2009 -0800 Preparing for release of 3.0.7pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit ae358c1960a64dbdab82905e43594e7805488e56 Author: Wayne Davison Date: Wed Dec 23 11:31:28 2009 -0800 Revert to having the receiver handle timeouts on the receiving side. This will give 3.0.7 the standard timeout handling with just a few improvements: a fix for the detection of recent sender I/O, the use of MSG_DATA for really old rsync versions, and better setting of select_timeout for shorter timeout settings. M NEWS M generator.c M io.c M rsync.h commit 212dfdb960b387dce6496587eb559a6febbe4255 Author: Wayne Davison Date: Mon Dec 21 18:25:00 2009 -0800 Preparing for release of 3.0.7pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit c11a77894b1284a05650d6f89d4e838c36945593 Author: Wayne Davison Date: Mon Dec 21 14:27:55 2009 -0800 Ensure that the generator gets notified about an I/O error for the dir that generated the error. This ensures that a --delete-during avoids deleting in a newly transferred inc-recurse directory. Requires 3.0.7 or greater on both sides of the transfer. M NEWS M compat.c M flist.c M options.c M rsync.h commit 96cce18ce67f132a851c4e37b03fd09b8683233a Author: Wayne Davison Date: Mon Dec 21 13:48:44 2009 -0800 Defer forwarding messages during the forwarding of flist data. M io.c commit a21264a8b9edff20b561807754c3c7643929b4b8 Author: Wayne Davison Date: Mon Dec 21 10:52:54 2009 -0800 Mention the compress fix. M NEWS commit 96486cc5340500590514b6922d32cb69145500f9 Author: Wayne Davison Date: Mon Dec 21 10:25:15 2009 -0800 Mention latest --timeout fixes. M NEWS commit e0b1b82d84bb39d03387a3c54d5955353c128cf2 Author: Wayne Davison Date: Mon Dec 21 10:13:52 2009 -0800 Don't die if inflate() returns Z_BUF_ERROR in see_deflate_token(). M token.c commit d94b958400f3b0737df489caa3c536f6d7d97393 Author: Wayne Davison Date: Sat Dec 19 13:38:25 2009 -0800 Improve --timeout method to take into account all socket I/O that is going on. The receiving side also switches timeout handling from the receiver to the generator. Given this setup, all keep-alive messages are now sent as empty MSG_DATA messages, with MSG_NOOP messages only being understood and (when necessary) acted upon to forward a keep-alive event to an older receiver. This is both safer and more compatible with older versions. M generator.c M io.c M main.c M rsync.c M rsync.h commit 79731940bba278082806578b7f4778961c100361 Author: Wayne Davison Date: Sat Dec 19 10:14:49 2009 -0800 Added an am_receiver variable. M cleanup.c M main.c M options.c M rsync.c commit bdc038fce0ae9f0cb83b579608e3a244703f8cc7 Author: Wayne Davison Date: Wed Dec 16 13:32:03 2009 -0800 Use 0-length MSG_DATA when MSG_NOOP is not available (is both safer and supports older rsyncs). M NEWS M io.c commit 2eacba9c41238f8e52ed52791b9dda90d5807f45 Author: Wayne Davison Date: Sun Dec 13 18:15:09 2009 -0800 Avoid -u option to id since solaris doesn't support it. M testsuite/chown.test M testsuite/daemon.test M testsuite/devices.test M testsuite/rsync.fns commit 0c5853c32edd107738985297985e3b6e626e13d5 Author: Wayne Davison Date: Sat Dec 12 22:43:51 2009 -0800 Get rid of some unused externs. M clientserver.c M flist.c commit 3baa4d2b3123ece2aca52a8517536dab88fa5dbd Author: Wayne Davison Date: Sat Dec 12 22:42:35 2009 -0800 Include info on who is exiting. M cleanup.c commit 018dc6f9988af454866cc9c01e851f132ace4daf Author: Wayne Davison Date: Sat Dec 12 17:05:03 2009 -0800 Mention the newly cherry-picked changes. M NEWS commit 523dad4bb3f75e4e313aa2a8d08a98028b1d7a52 Author: Wayne Davison Date: Sat Dec 12 16:43:13 2009 -0800 Use seteuid() (if available) when using setuid(). M clientserver.c M configure.in commit e0c17aa3b77d9865f86d15108ed4459dc877261c Author: Wayne Davison Date: Sat Dec 12 16:20:54 2009 -0800 Beginning work on a 3.0.7 release. M NEWS M OLDNEWS M configure.in commit 79870bd26937a88f05a277403924dadcf6b95fe0 Author: Wayne Davison Date: Sat Nov 28 21:46:42 2009 -0800 Don't (wrongly) retouch dir permissions with --fake-super. (Patch from Matt.) M generator.c commit e4368e37fe34c70e99542e3aed6f1328672c3bcb Author: Wayne Davison Date: Thu Nov 26 15:17:49 2009 -0800 Add IPv6 detection on cygwin. M configure.in commit eee529f571be4eefc33edacb3182c42cb296d3cc Author: Wayne Davison Date: Sun Nov 8 00:12:33 2009 -0800 Save first filename and linenum in case exit_cleanup() recurses. M cleanup.c commit ff4715a7c2c97914466358d2cee5fb4b1c7a3d5b Author: Wayne Davison Date: Sat Oct 24 00:23:21 2009 -0700 Moved some --iconv text that was supposed to be in --files-from. M rsync.yo commit 855983b43405ee06c90a7603bdb7838ffeb75aa6 Author: Wayne Davison Date: Tue Oct 20 15:05:15 2009 -0700 Make sure daemon's io_timeout is used as a maximum value. M clientserver.c commit 2455140b04f53a9c9e5c22b86fc67128fd46bc93 Author: Wayne Davison Date: Sat Oct 17 11:06:49 2009 -0700 Fix some man page problems Scott Kostyshak pointed out. M rsync.yo commit ae4d4205e329f4d4f396a1b7b1dfb50aee084c6e Author: Wayne Davison Date: Tue Oct 13 21:07:46 2009 -0700 Avoid type-punned compiler warnings for the byteorder.h macros by using inline functions for the 4-char <-> uint32 conversions. M byteorder.h M checksum.c M hashtable.c M lib/md5.c commit 9523670032220d9159c03f3e0e27e5050a70aa07 Author: Wayne Davison Date: Mon Sep 7 14:22:59 2009 -0700 Improve the "--delete does not work without -r or -d" message. M options.c commit 01e57e926cf84827d8870c79f3f6863dd10e5ed0 Author: Wayne Davison Date: Sat Sep 5 10:25:42 2009 -0700 Improve error handling and get rid of a lingering fprintf(). M token.c commit ebbab3788faac02d8eb8d34170c9188694d52ab7 Author: Wayne Davison Date: Sat Sep 5 09:40:53 2009 -0700 Fix daemon's conveyance of io_error value from sender. M sender.c commit d041c17c40a9c2c6c8c6a0d15d018c0fd6beecf5 Author: Wayne Davison Date: Sat Sep 5 08:16:22 2009 -0700 Avoid an dry-run error trying to stat a prior hard-link file that hasn't really been created. M hlink.c commit b2b1af40c2cb1fa4e136d9b52431e040af38d585 Author: Wayne Davison Date: Wed Sep 2 08:52:41 2009 -0700 Rebuild proto.h if config.h changes. M Makefile.in commit c5759a2817163d70a02644ecda0c59f666ab33e1 Author: Wayne Davison Date: Sat Aug 22 09:33:55 2009 -0700 Fix the chmod-temp-dir test if /var/tmp doesn't exist. Fixes bug 6569. M testsuite/chmod-temp-dir.test commit 5ef08b8c3941e6c21bc79f23353045b5c32fb59a Author: Wayne Davison Date: Sat Aug 1 11:28:45 2009 -0700 Get section reference right. Fixes bug #6573. M rsyncd.conf.yo commit 03f907e3866abdfab87a5dbdb0a2269873eff659 Author: Wayne Davison Date: Fri Jun 5 12:56:15 2009 -0700 Added solaris IPv6 checking to configure. Fixes #6438. Patch from Tim Spriggs. M configure.in commit 573e24346c3cea10acb86a60fba110daf09f03e5 Author: Wayne Davison Date: Mon Jun 1 09:09:09 2009 -0700 Mention that --whole-file is not the default for a local transfer when writing a batch file. M rsync.yo commit a415379037efc8390558594d2291a154d22ad999 Author: Wayne Davison Date: Thu May 14 11:23:38 2009 -0700 Support an older AIX system that doesn't have ENOTSUP. M lib/sysacls.c commit cc4edc2d7896bb8d27994eccf4d727f8b43eb3f5 Author: Wayne Davison Date: Thu May 14 11:22:37 2009 -0700 Switch from inet_aton() to inet_pton() (since we supply a compatibility function for the latter, it will always exist). M lib/getaddrinfo.c commit 07bd6618b9f9bb2d8797e6b42aacb611b1f4f097 Author: Wayne Davison Date: Fri Apr 10 08:19:16 2009 -0700 Allow $RSYNC_TEST_TMP to indicate a good tmp dir for our tests. M testsuite/chmod-temp-dir.test commit 2daed024b17a2cafb956e12581c25119d07a5950 Author: Wayne Davison Date: Fri Aug 14 07:04:24 2009 -0700 Fix a bogus free in uncache_tmp_xattrs(). M xattrs.c commit 6622816efff2d6634ac5e1e4b45d9f23dffbf03f Author: Wayne Davison Date: Fri May 8 10:07:14 2009 -0700 Preparing for release of 3.0.6 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 3f137ce0e20e0c20ad9fd1ccc30a2ade2da9b470 Author: Wayne Davison Date: Thu May 7 08:02:17 2009 -0700 Fix typo pointed out by Chris Pepper. M rsync.yo commit d616bff57ffb79f990aaf277946390675a218267 Author: Matt McCutchen Date: Mon May 4 22:30:47 2009 -0400 Move the description of include/exclude modifiers to a better place in the man page. M rsync.yo commit 40b3a59fc836de5319826bb4793060fafdba12d7 Author: Wayne Davison Date: Mon Apr 27 07:21:56 2009 -0700 Clarify which options are transfer rules, and what that means. M rsync.yo commit 4640ae85fe8b35d3410b319f532e3ad9ff7eac79 Author: Wayne Davison Date: Sun Apr 26 07:49:00 2009 -0700 Change sending/receiving/storing of the rdev value for special files. Since the value is not needed, the (superfluous) sending of the value is optimized so that a valid rdev value is sent as efficiently as possible. The receiver no longer caches an rdev value for special files, and the generator will always pass a 0 rdev value to do_mknod() for special files. Fixes bug #6280. M NEWS M flist.c M generator.c M xattrs.c commit 24f739c11845b467175e75f5d15a2645af0bb473 Author: Wayne Davison Date: Mon Apr 13 07:42:20 2009 -0700 Clarify the read-batch fix. M NEWS commit 996824825f403c2ddb9ae95d99679052896ce59a Author: Wayne Davison Date: Sun Apr 12 15:28:34 2009 -0700 Preparing for release of 3.0.6pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit bbef6566cd2fb9f12a52f6c61d27efe84695f2c6 Author: Wayne Davison Date: Sun Apr 12 15:18:33 2009 -0700 Changed the commands used to "make gen" without any stoppage. M packaging/patch-update commit 9be5093726d73826b63f18435940bbe1afddc66c Author: Wayne Davison Date: Sun Apr 12 12:57:31 2009 -0700 Don't allow --remove-s*-files with --read-batch. M NEWS M options.c commit feb8dacc148d5428be2498e5748ef9aa2ea889a2 Author: Wayne Davison Date: Sun Apr 12 12:48:59 2009 -0700 Fixed the use of --xattrs with --only-write-batch. M NEWS M generator.c M receiver.c M sender.c commit ff908116efefc0c8926e2ce419e5de566201646a Author: Wayne Davison Date: Fri Apr 10 16:24:12 2009 -0700 Allow a "make reconfigure" to continue, even if the Makefile changes. M Makefile.in commit ea53d161be54a474088df51063df128ff5da5af4 Author: Wayne Davison Date: Fri Apr 10 16:09:39 2009 -0700 Fixed an ACL/xattr corruption issue where the --backup option could cause rsync to associate the wrong ACL/xattr information with received files. M NEWS M acls.c M backup.c M xattrs.c commit 7875e6fe63805a3412cb4a8673a2dbf233631110 Author: Wayne Davison Date: Thu Apr 9 22:49:24 2009 -0700 Don't try to simplify an ACL that has a mask w/o any named values. M NEWS M acls.c commit 8e2771aa6e1fe242c0ad2919d2721e800d505d8e Author: Wayne Davison Date: Tue Apr 7 07:32:35 2009 -0700 Some improvements to the rsync.yo manpage: - Mention the switch from MD4 to MD5. - Mention the default for the --log-file-format option. M rsync.yo commit 386f22cec6dbb375490eaca187486557fadda48b Author: Wayne Davison Date: Sat Apr 4 07:44:00 2009 -0700 Make sure that config.h.in is up-to-date before allowing the Makefile-updating rule to run ./config.status. M Makefile.in commit 272adea36b1cc56b1167b173c87c725e866d2e5d Author: Wayne Davison Date: Sat Apr 4 07:37:51 2009 -0700 Fixed --dry-run with --read-batch: - Avoid sending MSG_NO_SEND to the generator. - Check if the file is wanted before discarding the batched data. M NEWS M receiver.c commit a69b165524dfc576840f6ad4a9d0963bd8ed9578 Author: Wayne Davison Date: Tue Mar 31 20:15:42 2009 -0700 Fixed improper deletion of mount-point hierarchies. Fixes bug #6240. M NEWS M flist.c commit bf350d7b314714b82b1fe386af08c1a1a70b2b75 Author: Wayne Davison Date: Tue Mar 31 14:34:31 2009 -0700 Fixed a word ending that Jesse Weinstein and revamp some of the text to make it clearer. M rsync.yo commit 70a9cd575287e91ab20addf7e3e2988354e4e3c9 Author: Wayne Davison Date: Sun Mar 29 13:23:56 2009 -0700 Make symlink iconv work for a local copy. Fixes issue mention in bug #5615. M NEWS M compat.c commit 42560e2e53cf9ee88da805c594b3074cec5e6471 Author: Matt McCutchen Date: Sat Jan 31 01:14:17 2009 -0500 Give a meaningful error message when we fail to write to a batch file. M io.c commit d058d0aecd496fc2b38cf892ab1749d2a28dc728 Author: Wayne Davison Date: Fri Mar 6 07:07:43 2009 -0800 Simplify an "if" in ssh-basic.test. Fixes bug #6169; M testsuite/ssh-basic.test commit af00666a40a27fa752478d6b8c2dc0f04da207fb Author: Wayne Davison Date: Tue Mar 3 08:58:58 2009 -0800 Mention the fix to --safe-links/--copy-unsafe-links. M NEWS commit 2517f5440d69169ad3000316e71dce85eb347b1b Author: Wayne Davison Date: Tue Mar 3 08:43:17 2009 -0800 Improved the unsafe_symlink() code to not get fooled by extra '/' chars in the symlink's path. Added test cases. This fixes bug #6151. M testsuite/unsafe-byname.test M util.c commit f2522e3f53e371735d226ad792041d39e6bd8f55 Author: Wayne Davison Date: Tue Mar 3 08:42:56 2009 -0800 Make the backup code call unsafe_symlink() correctly. M backup.c commit 8fba76d5c323c3c4a4340f39b8000e6f4b22d0eb Author: Wayne Davison Date: Sat Feb 14 08:38:24 2009 -0800 Mention vanishing-directory fix. M NEWS commit 782b96d3e28d483590a832379d54effa90432dc4 Author: Wayne Davison Date: Sat Feb 14 08:35:57 2009 -0800 Handle a link_stat() failure with errno ENOENT as a vanished file. M flist.c commit 1f6b697f28829e6223edaf01d52551edaf4ed9e7 Author: Wayne Davison Date: Sat Feb 14 08:03:11 2009 -0800 Mention the latest configure fixes. M NEWS commit 919491948e30eda629a60275470b7828779dd86c Author: Wayne Davison Date: Sat Feb 14 07:50:09 2009 -0800 Added --disable-iconv-open option for configure to turn off all use of the iconv_open() function. Implies --disable-iconv (which turns off the --iconv option). Fixes bug #6107. M configure.in M rsync.h commit 0ea6f486d933d85fc030c9a3971d853eda71fabf Author: Wayne Davison Date: Sat Feb 14 07:46:39 2009 -0800 Moved the --disable-debug check sooner in configure.in so that it happens prior to checking for the compiler. Switched no-debug code to setting ac_cv_prog_cc_g=no. Fixes bug #6106. M configure.in commit 9493048c10ba21a5c9095d7e75b61b7c3ee0adab Author: Wayne Davison Date: Wed Feb 4 18:07:58 2009 -0800 Ensure that the sender turns off any msg_fd_in use earlier. This avoids a problem where an extra message from the sender could give the generator time to start sending data that will not be understood by the sender's use of read_msg_fd(). M NEWS M flist.c M main.c commit 4dea1a9492f065d78562679e87f9a2e357a0f0aa Author: Wayne Davison Date: Wed Feb 4 07:53:35 2009 -0800 Do not try to send a symlink with a 0-length value. This avoids a transfer error in the receiver. M NEWS M flist.c commit 650bca3770956c03ae793428be3ff4ed303ccba7 Author: Wayne Davison Date: Wed Jan 28 23:17:46 2009 -0800 A few more improvements to the hostspec-parsing code. M options.c commit 794f38099a79cb1150b72a93c86782f7f07aa361 Author: Wayne Davison Date: Wed Jan 28 15:55:41 2009 -0800 Fixed the parsing of IPv6 literal addresses with a username prefixed. Fixes bug #6067. M NEWS M options.c commit 8250d8a1c60b58f730333d9becf9881ca2b78828 Author: Wayne Davison Date: Sat Jan 17 13:54:52 2009 -0800 Fixed a hang in the inc_recurse batch-reading code. M NEWS M generator.c M receiver.c commit 1fb6163c51185f4582ed94b35ea0537563083de9 Author: Matt McCutchen Date: Tue Jan 13 09:42:54 2009 -0800 Handle simultaneous arrival of multiple connections. M socket.c commit 7f51d0e84930558c4117cd3070dcca80c9bdd54f Author: Wayne Davison Date: Wed Jan 7 16:38:56 2009 -0800 Avoid a server-side problem with -e is at the start of the short options. (Bug #6020) M support/rrsync commit ece2d0e415a5dffa182b143f5841e8bd51a426a4 Author: Wayne Davison Date: Sat Jan 3 20:50:54 2009 -0800 Fixed bug #6011: use of target in configure. M configure.in commit 445640e8033e095be64db441e5d1fb3d26b0b309 Author: Wayne Davison Date: Sat Jan 3 10:57:14 2009 -0800 Update the copyright year. M access.c M acls.c M authenticate.c M backup.c M batch.c M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M exclude.c M fileio.c M flist.c M generator.c M hashtable.c M hlink.c M io.c M loadparm.c M log.c M main.c M match.c M options.c M pipe.c M progress.c M receiver.c M rounding.c M rsync.c M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M tls.c M token.c M uidlist.c M util.c M wildtest.c M xattrs.c commit 5ea7c8aae36e87204fe336afdfa617eb7587000e Author: Wayne Davison Date: Sat Jan 17 13:36:34 2009 -0800 Beginning work on a 3.0.6 release. M NEWS M OLDNEWS M configure.in commit 7221063019ad9afad497a61aa5867a2d087b4124 Author: Wayne Davison Date: Sun Dec 28 18:02:17 2008 -0800 Preparing for release of 3.0.5 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit b64ae8b3b4e1fe6d12075ddac07b864369602980 Author: Wayne Davison Date: Sun Dec 28 17:51:36 2008 -0800 Avoid a hang when using at least 3 --verbose options on a transfer with a client sender (which includes local copying). M NEWS M flist.c commit 9938bad34ab9570ba8404396612e84217a087cf5 Author: Wayne Davison Date: Sat Dec 27 11:07:57 2008 -0800 Allow opendir() in send_directory() to fail with ENOENT. M NEWS M flist.c commit 1ff3e90507c887d71744737614d70678d44c7be9 Author: Wayne Davison Date: Sat Nov 15 15:31:38 2008 -0800 Make it clearer which configure files changed. M Makefile.in commit b292021e455092ad776bdf940f67d692b5a9c535 Author: Wayne Davison Date: Sat Nov 15 15:25:30 2008 -0800 Mention a few NEWS items that hadn't been mentioned yet. M NEWS commit 13e40ca0c6f249c7f7df2e5fbacaba6d4398694d Author: Wayne Davison Date: Sat Nov 15 14:55:30 2008 -0800 Preparing for release of 3.0.5pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 8e85627fb31c09f49d27dbb4691f6a00187d1029 Author: Wayne Davison Date: Sat Nov 15 14:49:28 2008 -0800 An ftruncate() failure should result in FERROR_XFER. M receiver.c commit d552250fbbd50e5ff2cd361d6218793b14e8cbc6 Author: Wayne Davison Date: Sat Nov 15 14:38:14 2008 -0800 Tweaked the month guess in OLDNEWS. M OLDNEWS commit 5436b6455728608a5b5a62da01eb74dc440f1aac Author: Wayne Davison Date: Sat Nov 15 14:17:49 2008 -0800 Change clean_fname() to keep "//" at the start for cygwin. M util.c commit b325dd0326e1ac2f0e4b4a77651d01e902c083f0 Author: Wayne Davison Date: Tue Nov 11 18:06:11 2008 -0800 Change some size_t vars to ints. M fileio.c commit 49818a837847338d2bba7d38dbb212ac58cedf29 Author: Wayne Davison Date: Tue Nov 11 18:05:27 2008 -0800 Make sparse_seek an OFF_T (pointed out by Pedro Valasco). M fileio.c commit af03a7049ce55cd97bbabd42298e92d2b093f291 Author: Wayne Davison Date: Tue Nov 11 15:51:03 2008 -0800 A "make reconfigure" doesn't stop if configure changes. M Makefile.in commit e401b304030ff74486382422c2cdf2319f413ec5 Author: Wayne Davison Date: Mon Nov 10 07:48:00 2008 -0800 Mention Matt's -K --delete fix. M NEWS commit e51282678680ba551bb2ddf46fb9fd766999a9f4 Author: Matt McCutchen Date: Mon Nov 10 06:44:01 2008 -0800 Add flist_find_ignore_dirness() and change delete_in_dir() to use it. This fixes an issue with -K noticed by eric casteleijn, avoids some inconsistent itemizing when a file/dir is replaced by a dir/file, and removes a now-obsolete chunk of code from make_file(). M flist.c M generator.c commit ccdc2efd67b4b2b759ac3a1868137e7d7a4c3301 Author: Wayne Davison Date: Sun Nov 9 21:40:54 2008 -0800 Mention the fix for --files-from dot/./paths. M NEWS commit b8a1fd6404054c8cea348e445d666050520e899b Author: Wayne Davison Date: Sun Nov 9 21:37:04 2008 -0800 Fixed the use of a dot-dir path (foo/./bar) inside of a files-from file. M flist.c A testsuite/files-from.test commit 3082dffbe25505db86d16a938f92b77c84ffb1fd Author: Wayne Davison Date: Sun Nov 9 18:55:14 2008 -0800 Fixed a bunch of "warn_unused_result" compiler warnings. M batch.c M clientserver.c M lib/pool_alloc.c M options.c M receiver.c M socket.c M util.c commit 42130f9cb0eff5a6bc7a60f7d4588663cc1361c8 Author: Wayne Davison Date: Sun Nov 9 18:07:30 2008 -0800 Mention hang fix in the NEWS. M NEWS commit c6c339cd18d33fcaf5e8d125b9d5f3a33a6bb40c Author: Wayne Davison Date: Sun Nov 9 17:59:11 2008 -0800 Avoid a potential hang when --remove-*-files is active. M io.c commit 6767ca617b8cf87feda0298db410473923889abf Author: Matt McCutchen Date: Sun Nov 2 20:46:08 2008 -0500 The protect filter automatically added with --backup is not perishable (see f41152d39396f0672a97268739c333537579404a), so remove the inaccurate "p" from the man page. Noticed by Jacob Balazer: http://lists.samba.org/archive/rsync/2008-November/022022.html M rsync.yo commit 7d9e30d38336e15ef0101b8e924c19d8efe9934a Author: Wayne Davison Date: Sat Oct 25 09:47:08 2008 -0700 Mention the getnameinfo() fix in the NEWS. M NEWS commit 3f81ad6060b8438fde70ea650ed85b2266cb4446 Author: Wayne Davison Date: Sat Oct 25 09:43:50 2008 -0700 Mention rsync's definition of client and server. M rsync.yo commit 723e9f856d4cb48b6493f669b94766c34ebe4966 Author: Wayne Davison Date: Sat Oct 25 08:39:41 2008 -0700 Fixed our supplied getnameinfo()'s ability to do a reverse lookup, as reported in bug 5851. M lib/getaddrinfo.c commit 9189e41f6e2a4afa88cec8b89089401f437818a9 Author: Wayne Davison Date: Tue Oct 14 07:27:56 2008 -0700 Added another file-list filter to handle odd-ball systems that don't seem to size their sprintf() fields correctly. M testsuite/daemon.test commit 6f6f9d1020c8ea2a6f446a9cfdff29a5bfd484fe Author: Wayne Davison Date: Sat Oct 11 11:41:05 2008 -0700 Preparing for release of 3.0.5pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit a76ba8b4257cc75e99c71da7f44c5e75393a3d43 Author: Wayne Davison Date: Sat Oct 11 11:40:40 2008 -0700 Mention the latest NEWS. M NEWS commit b8fd528794bdfada7842a5e1ebf200f762a3001e Author: Wayne Davison Date: Sat Oct 11 11:11:10 2008 -0700 Fixed a glitch when using -s with a remote-shell daemon. M main.c commit 0ea5d30479a34a40a2fe06bd8141536ae1641401 Author: Wayne Davison Date: Sat Oct 11 11:00:51 2008 -0700 Don't lookup address "0.0.0.0" when we're a remote-shell daemon. Gets rid of a DNS delay waiting for a lookup failure. M clientname.c commit cf1b29220199f3290892772c41637710d41e53ab Author: Wayne Davison Date: Sat Oct 11 10:16:47 2008 -0700 Fixed send_protected_args() to send "." in place of an empty arg. M rsync.c commit f3721ed133cc2464aba94386f4ef2911c5f53ed7 Author: Wayne Davison Date: Sat Oct 11 09:29:23 2008 -0700 Added a fully atomic update if the user has setup a symlink to a *-1 or *-2 directory. A few other minor improvements. M support/atomic-rsync commit b1220d62f49ce39d924fc916235b30916c7da6b7 Author: Wayne Davison Date: Fri Oct 10 06:55:21 2008 -0700 Fix the error message on one of the rename operations. M support/atomic-rsync commit 5df89a1a44af7b5b2ff79fe4cd88a6710373673c Author: Wayne Davison Date: Fri Sep 26 21:47:53 2008 -0700 Remove bogus "non-empty" qualifier in '*' discussion. M NEWS M rsync.yo commit d47ac91209ed0c1a7638bff32571dee77ac48d97 Author: Wayne Davison Date: Fri Sep 26 21:34:40 2008 -0700 Properly ignore source args on a --read-batch command. M main.c commit 7c573428a988d70c1bb203bc6325520dd244aadc Author: Wayne Davison Date: Fri Sep 26 21:32:43 2008 -0700 Fixed skipping of unneeded updates in a batch file when incremental recursion is active. Added a test for this. Made batch-mode handle redos properly (and without hanging). M generator.c M io.c M receiver.c M testsuite/batch-mode.test commit f7e65c7b6102bd587a57ed6e3abe2490a8dada16 Author: Wayne Davison Date: Fri Sep 26 21:21:52 2008 -0700 Moved the flist_ndx_{push,pop}() routines from io.c into util.c. M io.c M rsync.h M util.c commit fe62d30de8d52fc8eb0e7efa3401226d68a9a868 Author: Wayne Davison Date: Fri Sep 26 21:19:51 2008 -0700 Fix the %P logfile escape inside a chroot. M clientserver.c M log.c M util.c commit 494895fb4ba1200c75cb4ec3302ea8f89499ac21 Author: Wayne Davison Date: Fri Sep 26 21:10:58 2008 -0700 Initialize xattr data in a couple spots in the hlink code, which avoids a crash when the xattr pointer's memory happens to start out non-zero. Also fixed the itemizing of an alt-dest file's xattrs when hard-linking. M hlink.c commit ac68345a344518b825e4d88e0c72e857995e5e44 Author: Wayne Davison Date: Fri Sep 26 21:09:41 2008 -0700 Don't send a bogus "-" option to an older server if there were no short options specified. M options.c commit 6a9ade2dedca8334b83fd8c7293a4b6022ed7d6f Author: Wayne Davison Date: Fri Sep 26 21:07:56 2008 -0700 Beginning work on a 3.0.5 release. M NEWS M OLDNEWS M configure.in commit d596d389fece55ea647b048d0fa1873ee445fde9 Author: Wayne Davison Date: Sat Sep 6 09:32:26 2008 -0700 Preparing for release of 3.0.4 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit bc2337717e29f5bc2ea4b071a13d1026aa03957a Author: Wayne Davison Date: Sat Sep 6 08:03:52 2008 -0700 A few more improvements and a mention of the latest fix. M NEWS commit 3df40f044af09890c7cc709a48072d14990a5a18 Author: Wayne Davison Date: Wed Sep 3 12:14:13 2008 -0700 Changed some "rsync" commands into proper "$RSYNC" commands. M testsuite/xattrs.test commit d11a5b80c1c948fb23c65c369461079242569920 Author: Wayne Davison Date: Mon Sep 1 13:08:23 2008 -0700 Made human_num() and human_dnum() able to output negative numbers. M NEWS M util.c commit deea1f70bd67c6cc9249def9164f5e61e786e845 Author: Wayne Davison Date: Sun Aug 31 07:27:11 2008 -0700 Got rid of the check_for_io_err code, as it could cause a hang. The io_error issue will be fixed in a better way in 3.1.0. M NEWS M generator.c M io.c M main.c M rsync.c commit a91e6783249cbe9d2943f46119c09006f87acd91 Author: Wayne Davison Date: Sun Aug 24 12:53:22 2008 -0700 Some minor improvements to the flushing code to try to make it even more solid. M io.c commit 25a22d85017c2c8f0c2e06c3607a0b1fdfc57efa Author: Wayne Davison Date: Sun Aug 24 12:33:22 2008 -0700 Make the !flist_eof assumption explicit before the check_for_io_err code calls wait_for_receiver(). M generator.c commit fac9e234ae53490fb945786b9edf0e56d5a6d09f Author: Wayne Davison Date: Sun Aug 17 09:28:06 2008 -0700 Added /support/savetransfer to .gitignore. M .gitignore commit f3d87ee972ad2905fb3da4adc95e18547bd83fd1 Author: Wayne Davison Date: Sun Aug 17 09:20:50 2008 -0700 An improved RERR_PARTIAL message. M NEWS M log.c commit 9bed85542c5219f000035598cf9d01c16ef0e4a5 Author: Wayne Davison Date: Thu Aug 14 07:32:18 2008 -0700 Changed flist_for_ndx() to optionally die with an error if the index isn't found. M generator.c M hlink.c M io.c M rsync.c M sender.c commit 5b979530a7483d8c0373697711f03b3bd8050cbe Author: Wayne Davison Date: Sun Aug 10 07:31:45 2008 -0700 Made an error of readlink_stat() use the right function name. M flist.c commit 7ec8baaa7e1762bb3407b3e7b5037f0443bb7243 Author: Wayne Davison Date: Fri Aug 8 07:47:31 2008 -0700 Make sure that the hlink node->data allocation doesn't fail. M hlink.c commit 8c2c008984a739075d4b8d62bbaa7de0bee229fb Author: Wayne Davison Date: Tue Aug 5 18:43:51 2008 -0700 Improved a couple NEWS items. M NEWS commit 719a29e1cf01aa88b7deba4d539c23ddfd4ee86f Author: Wayne Davison Date: Sat Aug 2 14:06:31 2008 -0700 Preparing for release of 3.0.4pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 4a95d612510af185b05a992628b78f31d5c39786 Author: Wayne Davison Date: Sat Aug 2 13:45:15 2008 -0700 Tweaked the symlink iconv buffer size and fixed a comment. M flist.c commit fc088e30c8bb1dc9295ebe310176d0f2e38a49d9 Author: Wayne Davison Date: Sat Aug 2 10:25:17 2008 -0700 When using --iconv, if a server-side receiver can't convert a filename, it now outputs the name back to the client without mangling the charset. M NEWS M flist.c M io.c M log.c M rsync.h commit aef51b4c6879b841cd2da2ac13efc58e940fddd5 Author: Wayne Davison Date: Sat Aug 2 10:18:10 2008 -0700 Refer to the symlink's contents as "symlink data", not "symlink name". M flist.c commit 7790ee3684c6b17a400ab8f1779092892dfde8c5 Author: Wayne Davison Date: Sat Aug 2 09:03:49 2008 -0700 Added logic to the receiving side to ensure that the --delete-during code will not delete in a directory prior to receiving an I/O error for that directory (or not receiving it, as the case may be). M NEWS M generator.c M io.c M main.c M rsync.c commit ed12c8eb219a6fc36c936dda87454aa8c2bb95b6 Author: Wayne Davison Date: Sat Aug 2 07:04:54 2008 -0700 Skip new symlink conversion step if the remote rsync is not new enough to do symlink content conversions. M compat.c M flist.c M options.c commit 91dd3d0d4884d9ee5650d4f2846fdb4955bf49ff Author: Wayne Davison Date: Fri Aug 1 19:12:33 2008 -0700 The --iconv option now converts the content of a symlink too. M NEWS M flist.c commit 95d1d2a9a492865b096a4ef053881e0a9c1f1847 Author: Wayne Davison Date: Fri Aug 1 19:00:21 2008 -0700 Fixed a problem with checking for the '.' dir in the first file list that is transferred. This fixes a glitch where a failed --iconv conversion on the receiving side could prevent deletions from happening in the root-dir of the transfer. M NEWS M flist.c commit a808346dbe976972c09d67d957eee8c10a2aeb56 Author: Wayne Davison Date: Fri Aug 1 18:00:18 2008 -0700 Fixed a couple minor problems in util.c: - Make sure that handle_partial_dir() never returns a truncated fname. - Make robust_rename() return that it failed to do a cross-device copy if the partial-dir could not be created. M util.c commit fa181223d82bcc3845241bf2b4df03ab3f9159aa Author: Wayne Davison Date: Fri Aug 1 17:53:43 2008 -0700 Properly handle a failure to create a partial directory, which is especially important for --delay-updates, particularly when --remove-source-files was also specified. M NEWS M receiver.c commit 9ed569486f12982605e08117113f150fa38827ab Author: Wayne Davison Date: Thu Jul 31 07:55:59 2008 -0700 Output an FERROR* for a general io_error, and an FWARNING for other io_error flags. M NEWS M exclude.c M flist.c M generator.c M sender.c commit 2fa069d85f0cea0f5a0374d2511862316206229b Author: Wayne Davison Date: Wed Jul 30 08:33:35 2008 -0700 Mention a missing sender-side hash improvment that went out in 3.0.0. M OLDNEWS commit a25aed50e637ee87c93acf904a5e22631623519f Author: Wayne Davison Date: Tue Jul 29 17:59:08 2008 -0700 Make hard-linking work when a device has an st_dev of 0. M NEWS M flist.c commit 302e4346c22a9507f0b13ffff371a5be240d5245 Author: Wayne Davison Date: Mon Jul 28 18:24:25 2008 -0700 Mention some mount options that can interfere with --link-dest. M rsync.yo commit 8e5eafccdfb54e6f041e155a2be087aad5623147 Author: Wayne Davison Date: Mon Jul 28 17:07:38 2008 -0700 Back-porting some manpage improvements. M rsync.yo M rsyncd.conf.yo commit e88b92bade7b445c6ba473c41aaac6a4d9501c68 Author: Wayne Davison Date: Thu Jul 24 17:03:26 2008 -0700 Preparing for release of 3.0.4pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit f8722dba569df64060e823fab854f31b1a302d99 Author: Wayne Davison Date: Thu Jul 24 07:46:16 2008 -0700 Fixed the --fake-super test in the xattrs testsuite when there are root-level xattrs on the files (e.g. selinux values). M NEWS M testsuite/xattrs.test M xattrs.c commit ee03cb99d93f10d17873dd8edf28228d5c0b3dd8 Author: Wayne Davison Date: Wed Jul 23 23:37:11 2008 -0700 Fixed the timeout/flush loop-check logic to work properly with incremental recursion. M NEWS M generator.c commit 92d706a274c694cb63443dfb92f83993dab6e7fe Author: Wayne Davison Date: Wed Jul 23 23:28:57 2008 -0700 Don't interrupt the make if a generated build file didn't really change. M .gitignore M Makefile.in M NEWS commit 581c830c566776ac71f2d012f9960b08cfd0a98d Author: Wayne Davison Date: Wed Jul 23 23:12:39 2008 -0700 A couple xattr fixes for --fake-super. M NEWS M xattrs.c commit 9e58ef45f3e1f073904725240e698d167420462a Author: Wayne Davison Date: Wed Jul 23 23:09:15 2008 -0700 If the user specifies --protocol=29, rsync will avoid sending an -e option to the server (which is only useful for protocols 30 and above anyway). This gives the user an easy way to talk to a restricted server that has overly restrictive option-checking. M NEWS M options.c commit 05bd05a7a12f0407f9568df0b1888722ce54797d Author: Wayne Davison Date: Wed Jul 23 17:03:03 2008 -0700 Pass --branch option to patch-update script. M packaging/release-rsync commit 89b6b4ce4bdb6ab3f7cb611c6d9fc2c55b366e77 Author: Wayne Davison Date: Wed Jul 23 14:32:58 2008 -0700 We only need to deal with local patch branches now. M packaging/patch-update commit 68cdc3b791541b09ee7726890bfcb90af386cb63 Author: Wayne Davison Date: Tue Jul 22 21:35:21 2008 -0700 Fixed a potential alignment issue in the IRIX ACL code when allocating the initial struct acl object. Also, cast mallocs to avoid warnings. M lib/sysacls.c commit 209371b8915304a2ec1086f19bf97fccedad23e0 Author: Wayne Davison Date: Tue Jul 22 21:34:20 2008 -0700 Fixed a bug in match_hard_links() where an empty directory would try to allocate 0 bytes of memory (which can fail on some OSes). M hlink.c commit 6fd2662982a188b03c34df2731c390b55eb333fa Author: Wayne Davison Date: Tue Jul 22 09:11:34 2008 -0700 Allow a release from a non-master branch. M packaging/patch-update M packaging/release-rsync commit 1fdf0302c09932b433da9bd92348c769bb1ad4de Author: Wayne Davison Date: Tue Jul 22 09:05:00 2008 -0700 Start the 3.0.4 branch. M NEWS M OLDNEWS M configure.in commit db8f3f73505eaa04447298370646e6fccc795bb5 Author: Wayne Davison Date: Sun Jun 29 20:15:37 2008 -0700 Preparing for release of 3.0.3 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 85fd80ce103cf0927f931ffcb41120c6e763119f Author: Wayne Davison Date: Sat Jun 28 10:12:57 2008 -0700 Mention the addition of the deny-rsync script, and tweak some comments. M NEWS M support/deny-rsync commit a24d64bfaab425bfa8a822494439e98119c56d60 Author: Wayne Davison Date: Thu Jun 26 08:14:11 2008 -0700 Fixed a problem with a file descriptor being left open in the generator when handling an empty file. M generator.c commit 33cc92a63a227ae124ea6cab5a5003894183894d Author: Wayne Davison Date: Mon Jun 23 23:05:07 2008 -0700 Some deny-rsync fixes: - Fixed messages longer than 63 chars. - Don't require the presence of a "bc" program. - Append a newline to the message to make the script easier to call. - Make extra sure the message outputs without escape interpretation. - Stick around long enough for a client to reliably get the message. M support/deny-rsync commit 5e7f63f0bf98f9d7baab80430535d02915ade88c Author: Matt McCutchen Date: Mon Jun 23 22:56:13 2008 -0700 The deny-rsync script from bug 3945. A support/deny-rsync commit 8bd77e7098d9863f258070fb2274e324a446adbd Author: Wayne Davison Date: Mon Jun 23 08:02:46 2008 -0700 Fixed the sending of large files with older rsync versions by handling the old block-size limit for protocols < 29. M NEWS M generator.c M io.c M rsync.h commit 13074c982bb4830a21287a1504b0e38a953f4f74 Author: Wayne Davison Date: Sun Jun 22 19:03:46 2008 -0700 Preparing for release of 3.0.3pre3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 2171b9395b75cb33543655d85279a6178f2b77d9 Author: Matt McCutchen Date: Sun Jun 22 19:00:51 2008 -0700 The sender now sets IOERR_GENERAL in more skipped-file instances. M flist.c commit 20bb1eb7aed092c7b06d11e8786b19e281d2aba7 Author: Wayne Davison Date: Sun Jun 22 18:45:07 2008 -0700 Mention more fixes in the NEWS. M NEWS commit 7ee7bcd4e9d9c4efbc58b6f2f07455bf63e57f78 Author: Wayne Davison Date: Sun Jun 22 18:26:15 2008 -0700 Improved the build rules for rsync.1 and rsyncd.conf.5 when building in a separate build directory from the source. M Makefile.in commit 844810d6099d5c7fc837ea1bad4470cfdd801c66 Author: Wayne Davison Date: Tue Jun 17 15:59:47 2008 -0700 Avoid problems with timestamp rounding that cp -p and touch -r may do. M testsuite/backup.test M testsuite/devices.test M testsuite/exclude.test M testsuite/fuzzy.test M testsuite/merge.test M testsuite/rsync.fns M testsuite/xattrs.test commit 67347196b13941fdf455517855481875ccf21152 Author: Wayne Davison Date: Thu Jun 12 23:08:43 2008 -0700 Fix the problem with setting xattrs on a directory that has an identical match found in a --link-dest/--copy-dest hierarchy. M generator.c M testsuite/xattrs.test commit e424e261284560662a8de1bfe2beeadb2293dbe2 Author: Wayne Davison Date: Thu Jun 12 06:59:51 2008 -0700 Cast the datum_len value to a long for rprintf(). M xattrs.c commit ca7d17e41da3b7fe3b2356215093317e54330c77 Author: Wayne Davison Date: Mon Jun 9 07:42:03 2008 -0700 Handle a solo_file of a directory for --delete-during. M generator.c commit 6283e9ef43dcea5843a12604e27f6b26ef93682d Author: Wayne Davison Date: Sun Jun 8 21:07:30 2008 -0700 A couple more xattr improvements: - Made the XSTATE_* defines avoid using 0. - Call !XATTR_ABBREV() in recv_xattr_request(). - Improved the "internal abbrev" error message. - Fixed the potential for a directory time glitch in xattrs.diff. M testsuite/xattrs.test M xattrs.c commit 7462c6ac39d86cb8252ec47246569e3ddda35b6a Author: Wayne Davison Date: Sun Jun 8 20:26:22 2008 -0700 Fixed an "Internal abbrev error" when dealing with an xattr value that is unchanged on an early file, and changed on a later file. Added 2 new test cases to ensure this stays fixed. M generator.c M testsuite/xattrs.test M xattrs.c commit f31850966f7f60b8c58fa44d6948044571c060f6 Author: Wayne Davison Date: Wed Jun 4 09:01:02 2008 -0700 Improved the progress_is_active code to not overwrite the progress output in more circumstances. M cleanup.c M log.c M progress.c commit 4ecf3e067151e45dc7dead9862416722dcb4a20f Author: Wayne Davison Date: Wed Jun 4 08:15:51 2008 -0700 Improved handling of a system that doesn't have a 64-bit offset type. M flist.c M hashtable.c M rsync.h commit 60a986f504a2aa5ba95a760248a2e0b357d2e15c Author: Wayne Davison Date: Wed Jun 4 07:13:22 2008 -0700 Improved the proto.h target so that a build in a different dir from the srcdir will ensure that the builddir has a copy of the proto.h file when the Makefile found it to be out of date. This prevents the repeated building of all the targets when the srcdir's proto.h file is accurate, but older than the newest .c file. M Makefile.in commit 0e9c3564c6763e4d99d7b518ccc27e60de622a3b Author: Wayne Davison Date: Sat May 31 14:52:24 2008 -0700 Improved the daemon testing, including adding a test to ensure that daemon excludes can't exclude a dot dir. M testsuite/daemon.test M testsuite/rsync.fns commit 164cb66addee693700c70fed63d996872fcc3edb Author: Wayne Davison Date: Sat May 31 14:51:38 2008 -0700 Fixed the destination path check so that it cannot exclude a dot dir. M main.c commit 0d9eba0312d01b7c893e74f585b8214845610145 Author: Wayne Davison Date: Sat May 31 14:41:20 2008 -0700 Have send_file_list() check is_excluded() (but only on non-dot-dirs) and then call send_file_name() with NO_FILTERS. This gets rid of the need for a FLAG_DOTDIR_NAME flag (used only by make_file()). M flist.c M rsync.h commit d1f66d8d796965d90552db75d63bdbbf0b98c3f9 Author: Wayne Davison Date: Sat May 31 11:27:13 2008 -0700 If an arg is excluded, don't include its implied dirs. M NEWS M flist.c commit cc911409d6561d66094c2303e9a79b41ea4f2ef5 Author: Wayne Davison Date: Sat May 31 09:08:13 2008 -0700 Make sure the generator doesn't try to send a negative checksum count to the sender (which would cause it to die with a cryptic error). Instead, warn the user when the file's size is too large for checksum processing. M NEWS M generator.c commit a64f19e24b476e622d15bffeb81ce57c426b6943 Author: Wayne Davison Date: Thu May 22 16:44:01 2008 -0700 Fixed the backing up of a device or socket. M backup.c commit 4337eeb754bb0b8d903a96c2d3b35306484b12cc Author: Wayne Davison Date: Thu May 22 07:32:11 2008 -0700 A cuple more fixes for --xattrs combined with --backup, this time to handle when --link-dest is also used. M generator.c M rsync.c commit 928da42359dff226f7f1fbcb36d3c150c4e95ba9 Author: Wayne Davison Date: Sun May 18 07:00:48 2008 -0700 Fixed the "src" symlink in each testtmp subdir. M runtests.sh commit e717fa4d37bf6cad4b3117998c220478f64b2eb2 Author: Wayne Davison Date: Sat May 17 15:07:24 2008 -0700 Fix some path problems when the build dir is not the source dir. M runtests.sh M testsuite/hardlinks.test M testsuite/itemize.test M testsuite/ssh-basic.test commit cc56eb2acca94ac29149d4a838fe43db6edc3867 Author: Wayne Davison Date: Sat May 17 10:02:19 2008 -0700 Preparing for release of 3.0.3pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 88e05f8489acd2924bd48a156be4272906bf6884 Author: Wayne Davison Date: Sat May 17 09:57:08 2008 -0700 Fixed an "else" in the device-making part of keep_backup(). M backup.c commit 9ec8583ef56827c32736e03af8e053253365d4e1 Author: Wayne Davison Date: Sat May 17 09:45:13 2008 -0700 Mention the latest fixes in the NEWS. M NEWS commit e9489cd6cb380b30727bd3d074eacc59abca080e Author: Wayne Davison Date: Sat May 17 09:30:46 2008 -0700 Fixed several issues with preserving xattrs when using --backup. M backup.c M generator.c M rsync.c M t_stub.c M util.c M xattrs.c commit f1ca7c4429f2a8e9de72f91d95218bb324df6a9e Author: Wayne Davison Date: Sat May 17 07:44:20 2008 -0700 Preserve the right errno value when trying adjunct functions during robust backup, copy, and renaming activities. M backup.c M generator.c M util.c commit adc4ebdd76cf98aacbe87b9664dd291199294297 Author: Wayne Davison Date: Fri May 9 23:49:41 2008 -0700 Improved the docs for --inplace and made the mentions of rsync's delta-transfer algorithm more consistent. M rsync.yo commit 9a30c0cc3cf7aac1625df8fa8f1ee56968629283 Author: Wayne Davison Date: Wed May 7 22:12:57 2008 -0700 Preparing for release of 3.0.3pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 47f43c023bc68f58a1e58501e72276d93876523d Author: Wayne Davison Date: Wed May 7 22:11:17 2008 -0700 The test of HAVE_LUTIMES accidentally omitted the 'L'. M runtests.sh commit 5b385336b93019fef963a0141f6cf94107f2ef23 Author: Wayne Davison Date: Tue May 6 10:39:19 2008 -0700 Added options to tls.c to allow us to ask for mtime and ownership info on symlinks. The testsuite will now pass these options to tls if rsync is configured to affect such attributes on symlinks. M runtests.sh M testsuite/chown.test M testsuite/devices.test M tls.c commit c3a2d95cfa45de18a961a9f86082a49e91647259 Author: Wayne Davison Date: Thu May 1 16:14:39 2008 -0700 Adding missing entry for 3.0.3 protocol-history list. M OLDNEWS commit 6b19df680a6b695668b06113a2a49bb2f6e5158a Author: Wayne Davison Date: Mon Apr 28 21:29:15 2008 -0700 Mention all the latest changes in the NEWS. M NEWS commit fdf74bede07402b9d72ed0613557f26f24de43bc Author: Wayne Davison Date: Mon Apr 28 21:17:36 2008 -0700 - Changed prev_name into a buffer so that there is no chance that its contents can be overwritten by other calls to f_name(). - Changed an hlink assert into a check that provides more debug info. M hlink.c commit 876ad10ccc02cbf60dd4ceba2a40cc843faf200c Author: Wayne Davison Date: Sun Apr 27 18:45:13 2008 -0700 Fixed a crash if a non-incremental-recursion transfer has a skipped file in a set of hard-links. M hlink.c commit 34a2b391653f344139a81ab2ad5959804c4acc7c Author: Wayne Davison Date: Fri Apr 18 19:55:08 2008 -0700 Reorder the filenames to touch to try to avoid a weird error on Solaris 5.8. Also, use lsh in one of the runs in order to try a hard-link run that uses a (pretend) remote shell. M testsuite/hardlinks.test commit 276cc45571b274349f817a5bbc078f84abb385ce Author: Wayne Davison Date: Fri Apr 18 07:20:30 2008 -0700 Added a --no-cd option to support/lsh so that the script can be used by the testsuite. Improved the home-directory-changing code and added an error message when "localhost" is not the hostname specified. Use the updated script in the testsuite instead of creating a pretend-ssh script in a couple spots. M support/lsh M testsuite/daemon.test M testsuite/ssh-basic.test commit 311676ed21eb61ec49187b9dd064aef18997d470 Author: Wayne Davison Date: Wed Apr 16 09:32:22 2008 -0700 Fixed a problem with how the daemon filters deal with a destination directory with a trailing slash. M main.c commit 4616867b0d16cd6f391c0ba0f79ad3cb18c3dcda Author: Wayne Davison Date: Wed Apr 16 09:30:28 2008 -0700 Don't allow '.' dir to be excluded by the daemon's filter rules. M generator.c commit 8a5ae84efdccca2be4a44bd43d70312ba6f61291 Author: Wayne Davison Date: Wed Apr 16 09:11:15 2008 -0700 A few $last_touch tweaks. M packaging/patch-update commit 59d2cd5a7fd922e5e32c8fc9790c35a6343d91bc Author: Wayne Davison Date: Tue Apr 15 08:39:59 2008 -0700 When running in --progress mode with a progress message active, the client now outputs a newline prior to an error message, which avoids overwriting the active file's last progress line. M cleanup.c M progress.c commit 1c3e6e8b2611f85cdf3ada054ef2c419ecaf399c Author: Wayne Davison Date: Tue Apr 15 08:34:17 2008 -0700 Moved the setting of the socket options before the connect(). M clientserver.c M socket.c commit f2681d42ff564ec2d000383ee5c5f43cc3f283d8 Author: Wayne Davison Date: Tue Apr 15 08:32:41 2008 -0700 Fixed the %M escape, which was munging the wrong spaces. M log.c commit 774d1c367bbde80c2d9ce8875048860c8c0b5272 Author: Wayne Davison Date: Tue Apr 15 08:27:38 2008 -0700 Use overflow_exit() for overflows, not out_of_memory(). M xattrs.c commit 1b8e0e876bcf5c9c07d30bc560f6e2e9f8ade437 Author: Wayne Davison Date: Tue Apr 15 08:26:00 2008 -0700 Consistently call the daemon parameters "parameters", not "options", which allows us to distinguish them from rsync's command-line options. M rsyncd.conf.yo commit 1502f4f58fc34ad782a4ca07c5437a334c7c5f69 Author: Wayne Davison Date: Tue Apr 15 08:12:56 2008 -0700 Updated the README and the NEWS file. M NEWS M README commit 6db1db54883508cd572e24f93e7bee14e286967d Author: Wayne Davison Date: Fri Apr 11 22:32:38 2008 -0700 Fix a file-globbing bug in the daemon when chroot is on. M util.c commit 09ad90537ded518be41e2a35da6ee0ce2325eceb Author: Wayne Davison Date: Fri Apr 11 21:57:17 2008 -0700 If the daemon test is run as root, use a --config option. M testsuite/daemon.test commit da9aefa6b42cba4ef540ec03ebd9ce0c466264fb Author: Wayne Davison Date: Fri Apr 11 21:48:32 2008 -0700 Prepare repository for more development. M NEWS M OLDNEWS M configure.in commit 8ba802f3b4968c7c105ea017d0b20d56ec9d5d0f Author: Wayne Davison Date: Tue Apr 8 08:16:05 2008 -0700 Preparing for release of 3.0.2 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit e53f49d1af16f26a950c3aa88c47cf1eb124b76b Author: Wayne Davison Date: Tue Apr 8 08:15:39 2008 -0700 Call patch-update in its new location. M packaging/release-rsync commit 0917f581bcc198020146323419557b990a0f6732 Author: Wayne Davison Date: Tue Apr 8 08:01:56 2008 -0700 Roll over the NEWS files for the next release. M NEWS M OLDNEWS commit 1fe2a3533f8cf7aeec4d823219ba23a42fbddb5d Author: Wayne Davison Date: Tue Apr 8 08:01:43 2008 -0700 Fixed a potential overflow issue with realloc() that Sebastian Krahmer pointed out. M util.c commit 237e9a178f834d5c63e2576d140326ecd2a519af Author: Wayne Davison Date: Sat Apr 5 22:46:48 2008 -0700 Have the spec file put more useful stuff into the doc dir. M packaging/lsb/rsync.spec commit 0668bfe077a9e2101f8ef0fea60780f30273a826 Author: Wayne Davison Date: Sat Apr 5 22:45:12 2008 -0700 Moving some files from support into packaging. R100 support/cull_options packaging/cull_options R100 support/extern-squish packaging/extern-squish R100 support/patch-update packaging/patch-update commit 214af6ad83f3cdaa728e03180f77b0396409c2f7 Author: Wayne Davison Date: Fri Apr 4 00:17:00 2008 -0700 Comment out the Source1 tar file by default in the spec file. M packaging/lsb/rsync.spec commit 2551c47eb73dc3472b0e91a99a1fab68386f1f4a Author: Wayne Davison Date: Fri Apr 4 00:05:44 2008 -0700 Fixed the code that removes old file versions for a final release. M packaging/release-rsync commit 83d22fd7f9ef8c940882a8dd278cfcc9a6a96419 Author: Wayne Davison Date: Fri Apr 4 00:04:58 2008 -0700 Bump the repository version to 3.0.2dev. M configure.in commit 325c243210cdb3e8467e78f673043661f86fdf74 Author: Wayne Davison Date: Thu Apr 3 22:37:01 2008 -0700 Preparing for release of 3.0.1 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 4e90cfbfeda6d6956d547d9bed5c6763c9d596ba Author: Wayne Davison Date: Tue Apr 1 20:00:08 2008 -0700 A few more spec-file tweaks. M packaging/lsb/rsync.spec commit 6fd2c27f38e1a5be6a6de9e3065a553ab69c0064 Author: Wayne Davison Date: Tue Apr 1 12:19:36 2008 -0700 Define a "srcdir" in the spec file and use it in the URLs for the source files so that they use the unchanging src or src-preview subdirectory location for the file. M packaging/lsb/rsync.spec M packaging/release-rsync commit 19173d224ac3f86868c8a1a7d56cc88209fecde0 Author: Wayne Davison Date: Mon Mar 31 14:10:07 2008 -0700 Tweaked rsync.spec to use "rsync" in place of "%{name}" in a few places (which allows for easier creation of adjunct RPMs). M packaging/lsb/rsync.spec commit 5b83829669d9c7e276aeaf8027e112f0aa08dd29 Author: Wayne Davison Date: Mon Mar 31 07:46:47 2008 -0700 A simple change to change_pathname() to ensure that the error output mentions the right path when dir == NULL. M flist.c commit 8cd3c6dccf36975fa25c8bcae5e7d74f1fde5a28 Author: Wayne Davison Date: Sun Mar 30 23:29:43 2008 -0700 Preparing for release of 3.0.1pre3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 29a89172f77ed76dcf53612e96dc35daf15d7362 Author: Wayne Davison Date: Sun Mar 30 15:40:34 2008 -0700 Improved the chdir() code: - Renamed push_dir() to change_dir() and revised it a little so that it can chdir() to a relative path without an intervening chdir() back to the staring path. - Renamed push_pathname() to change_pathname() and revised it to take different args and to only call path_is_daemon_excluded() on a new path (not a revisit of a file's already-checked path). - Fixed change_pathname() to set the right pathname value when a chdir() call fails. - Set orig_dir once outside of the change_pathname() function. - Got rid of pop_dir(). M clientserver.c M flist.c M main.c M rsync.h M sender.c M util.c commit 20893751791a1bb7417b9fa72e91c909619bca6a Author: Wayne Davison Date: Sun Mar 30 08:05:50 2008 -0700 Some argc-based actions in parse_arguments() shouldn't happen on the server side. M options.c commit f8949e7647748c5841babfd969ed837bed70fea6 Author: Wayne Davison Date: Sun Mar 30 08:05:42 2008 -0700 Fixed a path-exclusion glitch when checking more than one arg. M flist.c commit 84ecaa0eca6e472928688956c844ca5e5a0021c5 Author: Wayne Davison Date: Sat Mar 29 22:53:03 2008 -0700 Improved the code that protects a '.' dir from exclusion. This fixed a glitch in the daemon-exclusion code that allowed an exclude rule such as ".*" or "*/" to affect a '.' dir. M flist.c M rsync.h commit 3f2d8d683a7a5a31ab01874007ee6a62249bb45b Author: Wayne Davison Date: Fri Mar 28 10:40:17 2008 -0700 Extended a test to ensure that hard-linked distant files continues to work in incremental-recursion mode. M testsuite/hardlinks.test commit fd2598022cc10ce4f28019f5c0cb1816cd9311a4 Author: Wayne Davison Date: Fri Mar 28 10:30:19 2008 -0700 Allow the file-list sending code to set XMIT_SAME_UID/XMIT_SAME_GID when owner/group info isn't being preserved. This helps to ensure that the lower 8 bits of the xflags aren't 0, and is what older rsync versions did. M flist.c commit b05c58cce6afb65c15400dcd9fc6041c9182aad8 Author: Wayne Davison Date: Fri Mar 28 10:30:11 2008 -0700 Dump an extraneous empty line. M generator.c commit 05805cd6b75ae54a9d0fbb77cfc7d14f0997158d Author: Wayne Davison Date: Wed Mar 26 17:12:07 2008 -0700 Preparing for release of 3.0.1pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit a165be754b0a07da0ab0bd6a4fcc07b2f2944c67 Author: Wayne Davison Date: Wed Mar 26 17:04:29 2008 -0700 Mention two more NEWS items. M NEWS commit af3172c148bca60f26b8452365b1f5402d4b81ef Author: Wayne Davison Date: Wed Mar 26 16:49:12 2008 -0700 Ensure that a per-dir merge file is also loaded from implied directories in the sender (was working in incremental mode). M flist.c commit 487cb526158d2b3882d88106536509635b18f546 Author: Wayne Davison Date: Wed Mar 26 16:12:39 2008 -0700 Fixed the discovery of a prior finished hard-link when the entry is old enough that it is no longer in the flist data. M hlink.c commit 9793bbb3646cbaa816d074dc925a4f4f7d40089f Author: Wayne Davison Date: Wed Mar 26 14:01:52 2008 -0700 Improved a length check in parse_merge_name(). M exclude.c commit f6f74b93efc1b37f6135650dc034d3403ef482b6 Author: Wayne Davison Date: Wed Mar 26 11:01:09 2008 -0700 Ensure that a per-dir merge file is also loaded from implied directories in the generator (for protocol 30, at least). M generator.c commit 7568ff448aab0b508d997bd30b61769e4acd8efe Author: Wayne Davison Date: Tue Mar 25 10:46:06 2008 -0700 Fixed the way rsync handles iconv-conversion problems in the file-list: - If the sender cannot convert a name, the discarding of the entry now occurs soon enough to avoid affecting the sender's list (which was causing the file-list on the receiving side to be out of sync). - If the receiver cannot convert a name, its transformation of the name into an empty name (which indicates that the entry should be skipped) is no longer thwarted by the clean_fname() call (which was changing the name into a "."). M flist.c commit 56158b7e049b885e23ff603c5a27f191107f78ec Author: Wayne Davison Date: Mon Mar 24 21:15:51 2008 -0700 Preparing for release of 3.0.1pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 798a9e4e744b5323a990c4bfbd0e76ba282efdb4 Author: Wayne Davison Date: Mon Mar 24 20:30:44 2008 -0700 Some more improvements for the packaging/release-rsync script: - Check early if the version tag already exists, so it aborts right away if the release script can't do its work. - Update the files in the "patches" dir while merging the master branch into the patch branches (done before creating the release patches for the rsync-patches tar file). - Allow the user to ask to visit each patch when updating them. - Pause after initial patch updating so that any extra patch changes can be done before the creating of the tar files. - Ask for the GPG signing passphrase once for all signing commands. A packaging/bin/gpg M packaging/release-rsync commit c202b4fa967c3cf98a9504a9ac98d5b931819a5e Author: Wayne Davison Date: Mon Mar 24 19:30:51 2008 -0700 Some improvements for support/patch-update: - Added a --shell option which starts a sub-shell on each patch branch. - Don't allow the user to exit a sub-shell if the branch is not clean. - If the sub-shell exited with a non-zero exit status, prompt to see if the user wanted to abort rather than assuming that. - Wait to start the new patch-file output until after the shell runs. - Always return to the starting branch on exit. M support/patch-update commit 1df02d13d304ea5a35ecc81b26a5419904aacd95 Author: Wayne Davison Date: Mon Mar 24 10:09:00 2008 -0700 Don't send daemon-config filter-action messages back to the user. M NEWS M exclude.c M flist.c M generator.c M main.c M options.c M receiver.c M t_stub.c M util.c commit 73cb6738b33846130c21f2903b2200fa3f1903ab Author: Wayne Davison Date: Mon Mar 24 09:33:07 2008 -0700 Improved --dirs/--no-dirs/--list-only option handling: - Moved setting of list_only and xfer_dirs from main.c to options.c. - Fixed the ability of the user to force --no-dirs. - Added the --old-dirs/--old-d option to make it easier to interact in list-only mode with an older rsync. - Suggest the use of --old-d instead of "-r --exclude='/*/*'". M NEWS M io.c M main.c M options.c M rsync.yo commit ba8672dfabd1edf8f2c4244a8a1cc9a8e470c066 Author: Wayne Davison Date: Sun Mar 23 10:06:53 2008 -0700 Added a couple more NEWS items. M NEWS commit a5e0bf35795dde0e5f9b509ba09d9e28dbfb530b Author: Wayne Davison Date: Sun Mar 23 07:33:24 2008 -0700 Properly handle a new patch-branch that is only available locally. M support/patch-update commit 99ba99c74c9d761a502e9d3ed59f1ff72311471f Author: Wayne Davison Date: Sat Mar 22 23:45:05 2008 -0700 Changed the way version numbering of pre-releases will be done in the RPM spec file so that they order prior to the final release. M packaging/lsb/rsync.spec M packaging/release-rsync commit 469ff84e29bbd81a75e73d23bd159f3141654cd6 Author: Wayne Davison Date: Sat Mar 22 22:15:20 2008 -0700 More NEWS updates and improvements. M NEWS commit b5daf5300fe83e2be5a9c0f3f981d52069189bfa Author: Wayne Davison Date: Sat Mar 22 15:29:34 2008 -0700 Made the filename arg-parsing code skip args that have excluded path components, returning the same errors that would occur if the path elements didn't actually exist. The glob_match() code was also changed to no longer truncate an arg with an excluded path element (it just omits excluded items from glob matching). M flist.c M util.c commit f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9 Author: Wayne Davison Date: Sat Mar 22 12:34:03 2008 -0700 Added XFLG_DIR2WILD3 flag that the daemon uses to transform any config-file dir/ exclude rule into a dir/*** rule. M clientserver.c M exclude.c M rsync.h commit 4c74d44dabd887a5b865e95e8fca697f9084b40f Author: Wayne Davison Date: Sat Mar 22 12:30:43 2008 -0700 A couple fixes in add_rule() for XFLG_ABS_IF_SLASH: - Remove the trailing slash earlier, so that it doesn't affect the XFLG_ABS_IF_SLASH check. - Count the slashes earlier so that the XFLG_ABS_IF_SLASH can use it instead of using a strchr() all that could scan past the end of the input. M exclude.c commit 4a86fbcda0f4514d13a1a93fa553d47ce139299e Author: Wayne Davison Date: Sat Mar 22 12:21:41 2008 -0700 Change ex_len to pre_len in add_rule(). M exclude.c commit bc267e0f572591ec3e31f919d15041baa74bfae1 Author: Wayne Davison Date: Sat Mar 22 08:13:04 2008 -0700 Improved ENSURE_MEMSPACE() macro and use it in more places in glob code. M util.c commit fc05137846be5e17216c59a00b2be66f5332dd2a Author: Wayne Davison Date: Fri Mar 21 17:50:01 2008 -0700 Mention the most recent changes in the NEWS. M NEWS commit c085ece623dca19ef139b7e971a0d8f8dd6d2ee1 Author: Wayne Davison Date: Fri Mar 21 16:28:20 2008 -0700 Some RPM spec file improvements: - Added installation of new /etc/xinetd.d/rsync config file. - Added commented-out lines to demonstrate how to use rsync-patches. M packaging/lsb/rsync.spec A packaging/lsb/rsync.xinetd commit 91f625cee02e1db0ebd6f40d3ccfaf655b72c9ab Author: Wayne Davison Date: Fri Mar 21 15:00:28 2008 -0700 Make glob_expand() return an indicator if the glob had no matches. M util.c commit 27b067f87b85f0466d00707bff4817d8850d0ef2 Author: Wayne Davison Date: Fri Mar 21 07:26:25 2008 -0700 Changed d_name() to be a static inline function. M ifuncs.h M syscall.c commit 987a546756461b305120d08e379bd83c95fbc39b Author: Wayne Davison Date: Fri Mar 21 07:11:37 2008 -0700 A couple improvements to the new arg-globbing code: - Put all the state variables into a single struct. - Reuse the buffer memory for each glob_expand() call until a final call with a NULL pointer tells us to free it. M io.c M util.c commit 4d30f17671bdcc0f17facb133ea283eea6f0dc12 Author: Wayne Davison Date: Thu Mar 20 22:51:03 2008 -0700 Changed the arg-globbing routine to use a custom arg-globbing algorithm that does not include any daemon-excluded items in the matches. It is also not subverted by the presence of one or more dot-dir elements in an arg. M Makefile.in M configure.in M rsync.h M util.c commit d48810ba5b0b8d09b272092a70da1255c2346ab8 Author: Wayne Davison Date: Thu Mar 20 11:59:54 2008 -0700 Some improvements to the file-name cleaning code: - Removed the CFN_KEEP_LEADING_DOT_DIR flag for clean_fname(). - Explicitly add an implied dot-dir to the transfer rather than keeping a leading a "./" prefix as a part of a relative pathname. - Added the CFN_KEEP_DOT_DIRS flag for clean_fname(). - Added the SP_KEEP_DOT_DIRS flag for sanitize_path(). - Call clean_fname() a couple more times. M exclude.c M flist.c M main.c M options.c M rsync.h M util.c commit 819bfe459919769c9ddae14affeaa79596c640bb Author: Wayne Davison Date: Thu Mar 20 10:42:43 2008 -0700 Changed the name of the server_filter_list to be daemon_filter_list, for improved clarity. M clientserver.c M exclude.c M flist.c M generator.c M main.c M options.c M receiver.c M t_stub.c M util.c commit d2f6e192623989eac4015582e1e20f61499cc782 Author: Wayne Davison Date: Thu Mar 20 10:35:53 2008 -0700 Fixed a bug in the truncating of daemon-excluded paths. M util.c commit e889e0c43bc6b55ff2c20091a66bb1676de5369f Author: Wayne Davison Date: Wed Mar 19 16:44:11 2008 -0700 A couple more support/rrsync tweaks: - Die if the --server option is not first on the command-line. - Don't allow the --daemon option by default. M support/rrsync commit 6e0bf4d840c8718e832bde6ffb34470f2167047d Author: Wayne Davison Date: Wed Mar 19 08:57:41 2008 -0700 Some more minor changes for the skip/missing/dry_run code. M generator.c M testsuite/missing.test commit 83a8ca7b14483826c85f7cc0e0e38ed9ce387d83 Author: Matt McCutchen Date: Tue Mar 18 22:16:41 2008 -0400 Unsnarl missing_below/dry_run logic. The generator can skip a directory's contents altogether due to --ignore-non-existing, a daemon exclude, or a mkdir failure. On a --dry-run, the generator can also note the missingness of a directory while still scanning its contents. These two scenarios were conflated using a single set of missing_below/missing_dir variables in combination with transient increments in dry_run; this caused at least three bugs. Now recv_generator has separate variables for the two scenarios, called skip_dir and dry_missing_dir, respectively. For simplicity, we take the F_DEPTH instead of having separate *_below variables. We mark both kinds of missing dirs with FLAG_MISSING_DIR. (dry_run > 1) iff the *root* of the destination does not exist; it is no longer incremented for missing subdirs. I added tests for the three fixed bugs in missing.test. M generator.c A testsuite/missing.test commit 100200d0d2c959a1bf215b1b42db94039bbbcb98 Author: Matt McCutchen Date: Tue Mar 18 15:28:36 2008 -0400 Fix a poorly placed sentence in rsyncd.conf.yo. M rsyncd.conf.yo commit f28bf7f401ee58704f7b77465faf3b7af3f5ee8c Author: Wayne Davison Date: Tue Mar 18 11:41:00 2008 -0700 My modified version of Matt's improvements to the sections on the various filter parameters. M rsyncd.conf.yo commit e0fd68f5ce8d3ef6add132cc9d42a03fa8888fef Author: Wayne Davison Date: Tue Mar 18 10:17:02 2008 -0700 Improved arg-path checking so that wildcards can't be used to avoid a daemon-exclude. M util.c commit cc12c488aa71e66f4786fd60494d24e81e425868 Author: Wayne Davison Date: Tue Mar 18 10:10:13 2008 -0700 Use the missing_below code to make the daemon-exclusions work better. M generator.c commit 99c3e591b201c28b8fe22c881332f8a4888e69b8 Author: Wayne Davison Date: Tue Mar 18 09:44:42 2008 -0700 Reject a daemon-excluded destination. M main.c commit 1aefb7ef73751878d13eff717de61e76f690b57e Author: Wayne Davison Date: Tue Mar 18 08:43:43 2008 -0700 Output a non-existent-file error for server-excluded files instead of silently ignoring them. M flist.c commit d7b6774d82ae234978542c43c9ad655c8ade101e Author: Matt McCutchen Date: Mon Mar 17 15:19:13 2008 -0400 More typo fixes. M NEWS M configure.in commit d4c5cb2b0101299569dbbeeae08597c8300f92e7 Author: Wayne Davison Date: Mon Mar 17 10:50:11 2008 -0700 A couple more changes for dealing with "checker" warnings. M clientserver.c M configure.in commit df476bfcff992fb66765d338128dffcf58369722 Author: Matt McCutchen Date: Mon Mar 17 11:30:08 2008 -0400 Fix typo in rsyncd.conf man page. M rsyncd.conf.yo commit aa0e6b9977eff5c5433239a916623a4a3e8a67cb Author: Wayne Davison Date: Mon Mar 17 07:34:22 2008 -0700 Attempting to silence some more "checker" warnings. M clientserver.c M configure.in M main.c M rsync.h M syscall.c commit 1ba6468f1bdaec43884b4d01d65834c8ab3312df Author: Wayne Davison Date: Sun Mar 16 22:43:35 2008 -0700 Mention all the latest changes in the NEWS file. M NEWS commit f490102454f8330cd67e8f5d1586ab973bf54966 Author: Wayne Davison Date: Sun Mar 16 21:49:19 2008 -0700 If we're not compiling one or more major options (ACLs, xattrs, & iconv), try to turn off unused-parameter compiler warnings. M configure.in commit 18f3cb6957b10cff7719e80553c17589d382dd3c Author: Wayne Davison Date: Sun Mar 16 21:43:27 2008 -0700 Changed stat() call to do_stat(). M clientserver.c commit 7abcfd85b701a6c9354b5986eeb248bb766e57d4 Author: Wayne Davison Date: Sun Mar 16 20:39:16 2008 -0700 Moved declaration of "int i" outside the ifdef in send_protected_args(). M rsync.c commit 6de417d9d4ac8ab67d705e2f6e7ab062154026a9 Author: Wayne Davison Date: Sun Mar 16 20:35:18 2008 -0700 If the system's popt.h file is not found, use our provided popt code. M configure.in commit ffe8feb26500358075664f3d97a170012831f030 Author: Wayne Davison Date: Sun Mar 16 19:48:44 2008 -0700 Added "const" to a couple more char * args. M exclude.c M t_stub.c commit c9b62cf375f393de076d0fc7a3c2748d581c54a2 Author: Wayne Davison Date: Sun Mar 16 18:06:47 2008 -0700 Fixed hard-linking when some of the files can get skipped. This adds the FLAG_SKIP_HLINK flag, which gets set on any hard-linked file that the user wants to skip (e.g. via --ignore-existing, --append, etc.). The code in hlink.c now deals with the skipped files instead of triggering an assert() error. M generator.c M hlink.c M rsync.h commit 7bc595785ee6ac59fe514fd84ddc6d3a3c44e587 Author: Wayne Davison Date: Sun Mar 16 17:52:01 2008 -0700 Made the FLAG_MOUNT_DIR bit only honored on a directory. M generator.c commit 022dec7aba633f8b4e40339d555cc7cae5399314 Author: Wayne Davison Date: Sun Mar 16 17:50:28 2008 -0700 Moved the --append check so that files that don't need to be transferred still get their non-content attributes updated, and combining --append with --hard-links will not prevent the discovery of unchanged files. M generator.c M rsync.yo commit ddaef70cede8b8ed24b084b93208a2353745b1bd Author: Wayne Davison Date: Sun Mar 16 17:06:52 2008 -0700 Make the --ignore-existing option not overwrite a regular file with a dir/symlink/device/special-file, just like it already refuses to overwrite a non-regular file with a regular file. M generator.c commit 2357a51e098d3b0f7ff6dfceac37ea42b3c32338 Author: Wayne Davison Date: Sun Mar 16 12:11:19 2008 -0700 A daemon no longer tries to refuse the iconv option when it is not enabled. M options.c commit 24ded29ff63d0adee798936ad20f21befcf8187b Author: Wayne Davison Date: Sun Mar 16 06:56:26 2008 -0700 Fixed a hang when using --remove-source-files in dry-run mode. M generator.c commit ddff23a7f91bb06409fe2b548e090fdbfd1cd246 Author: Wayne Davison Date: Sat Mar 15 14:09:20 2008 -0700 Added missing $(CPPFLAGS) from the building of rounding.h. M Makefile.in commit 53936ef935e97d2036ad09b61b7040979d175469 Author: Wayne Davison Date: Sat Mar 15 11:25:01 2008 -0700 Fixed the use of --protect-args (-s) with a daemon. M clientserver.c M io.c M main.c M options.c M rsync.c commit 7f9bf6b710362860ff801855b8939bdd28fc838f Author: Wayne Davison Date: Sat Mar 15 08:51:07 2008 -0700 Generate a helpful message when we get an option-error from a daemon while requesting a file-listing and we suspect that the remote rsync is complaining about the -d option. M io.c commit cfdb27b0c1b087ea91f7bfecfdbbf4ce514b668f Author: Wayne Davison Date: Sat Mar 15 07:27:33 2008 -0700 Another optimization of "bp" adding when creating a file_struct. M flist.c commit fc3ca11040e65e0848bf54c7e8a7926fcfa2cd4f Author: Wayne Davison Date: Sat Mar 15 07:26:46 2008 -0700 Got rid of some useless uses of the -t option. M testsuite/devices.test commit d6c9c3319b191d196c323174c0dc11c834ae9e75 Author: Wayne Davison Date: Sat Mar 15 00:43:31 2008 -0700 - Fixed a crash bug when backing up files with ACLs enabled and we create a directory in the backup-path area. - Fixed a bug where make_file() was setting F_PATHNAME() on the receiving side. - A non-pool (temp-memory) file structure now stores the size of its extra_cnt value in the F_DEPTH() int so that unmake_file() can always be sure of how to free() the memory. - The ACL-preserving code no longer allocates 4 more bytes per file entry than it needs. - Got rid of a useless adding of the symlink length to "bp". M flist.c commit 8afaef4219ba4024d55721d786ed8a18dfa5d6ab Author: Wayne Davison Date: Fri Mar 14 22:55:59 2008 -0700 Have configure check to see if /usr/include/popt/popt.h is around (rather than /usr/include/popt.h), and use the included popt lib if it is (to avoid a potential conflict due to our use of -I.). M configure.in M tls.c commit 11faa893cad97927522dd94d5055a20f09acad1b Author: Wayne Davison Date: Thu Mar 13 17:45:13 2008 -0700 (Matt) More itemize clarifications. M rsync.yo commit 600b56b31626cfdb49d7e2ec7b3f03fb5847f493 Author: Wayne Davison Date: Wed Mar 12 16:51:13 2008 -0700 Clarify that the change/checksum itemize flag can be missing when talking to older rsync versions. M rsync.yo commit ee39281d1425fef93d68b5e1411612b5bd9428eb Author: Wayne Davison Date: Tue Mar 11 14:50:21 2008 -0700 Fixed the 'T' itemized output for a symlink the right way this time. M generator.c M rsync.c commit 0607c30700f1f7e80ecf723ec24a3127ef158596 Author: Wayne Davison Date: Tue Mar 11 07:25:31 2008 -0700 - One more fix for the 'T' itemized output for a symlink when we're the client on the receiving side of a protocol-29 connection. M generator.c commit 492ad04277a166d812c539887307157095dc97b7 Author: Wayne Davison Date: Mon Mar 10 21:40:04 2008 -0700 (Matt) Add missing --no-y option. M options.c commit 1ed9018e69a0d224ff59184974d9150d1cb8814d Author: Wayne Davison Date: Mon Mar 10 21:15:37 2008 -0700 Fixed some itemized logging failures: - If a symlink/device/special-file changes its value without any attribute changes, the itemized event no longer gets dropped. - We put a 'c' into the checksum/change field now to indicate when a symlink/device/special-file changes its value without changing its type. This lets us properly interpret the --copy-links output to know which items are getting copied without changes and which are getting created with new content. - Fixed the 'T' itemized output for a symlink when rsync tries to set the right time but fails due to lack of OS/disk support. M compat.c M generator.c M log.c M rsync.h M rsync.yo M testsuite/devices.test M testsuite/itemize.test commit ff0e15804f3f7f730ac1c7c79bcd0f34ca39fa4c Author: Wayne Davison Date: Sun Mar 9 19:50:51 2008 -0700 Fixed the itemizing of perms with -E. M generator.c M syscall.c commit 894e6299c10e24d1745d268b465695934f4bb1a9 Author: Wayne Davison Date: Sat Mar 8 10:54:17 2008 -0800 Some popt improvements: - Fixed a bug in short-opt parsing when an abutting arg has an '='. - Allow a short-opt to be separated from its arg by an '='. - Avoid an IBM-checker warning about an impossible case in a switch and a warning about a potential NULL-pointer dereference. - Fixed a memory leak. M popt/popt.c M popt/popthelp.c M popt/poptparse.c commit c080190365fceef2d35ee63f408bba16f09ca112 Author: Wayne Davison Date: Fri Mar 7 17:13:38 2008 -0800 Fixed the latest xattrs tests on OS X. M testsuite/xattrs.test commit 26f0e565879cfbfd90527850f15c7a329b9c8ddc Author: Wayne Davison Date: Fri Mar 7 16:45:26 2008 -0800 Restore a long-attribute test that was temporarily disabled. M testsuite/xattrs.test commit b4e6aac98543afdfab019339612673561c64f122 Author: Wayne Davison Date: Fri Mar 7 16:41:09 2008 -0800 Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems. M xattrs.c commit 7c21776e54446ed288b3225444c6eb9b5b9400d3 Author: Wayne Davison Date: Fri Mar 7 16:25:05 2008 -0800 Handle the very latest spot for the nightly dir. M packaging/nightly-rsync commit d724dd186ed6a2d66fa13a9357ce91e459d39e8c Author: Wayne Davison Date: Fri Mar 7 16:16:29 2008 -0800 Fixed the interaction of --fake-super with --link-dest & --xattrs. Fixed the munging of non-user namespace xattrs w/--fake-super. Fixed the sorting of received xattrs when name-munging occurs. Added xattr tests to verify that these things stay fixed. M testsuite/xattrs.test M xattrs.c commit cbbd8e2e8bf72aa46c84c7de43e19da40f040fa7 Author: Wayne Davison Date: Fri Mar 7 15:23:39 2008 -0800 The --fake-super option conflicts with -XX (which copies internal rsync xattrs literally). M clientserver.c M options.c commit af6241f7adda9fa90fb47b857a5269f2cbcc0319 Author: Wayne Davison Date: Thu Mar 6 09:40:46 2008 -0800 Simplify the description of what we're doing. M packaging/release-rsync commit 852e763b89af5145c4b52d5da649d625a7ff3f43 Author: Wayne Davison Date: Thu Mar 6 09:38:48 2008 -0800 Added even more no-OPTION overrides. M options.c commit 0f7159201546f63e102b5c7200793ca11cc69b5f Author: Wayne Davison Date: Thu Mar 6 09:36:57 2008 -0800 Made the description of ignored symlink errors more accurate. M OLDNEWS commit e63d3a29e24f8b4a5046b0caaa6f19dde99c036a Author: Wayne Davison Date: Tue Mar 4 23:56:45 2008 -0800 Updated nightly-rsync and release-rsync to handle the new ftp directory layout. M packaging/nightly-rsync M packaging/release-rsync commit 38cef641a5d2f6506615f5b8e0c5bfea32ef62f6 Author: Wayne Davison Date: Tue Mar 4 22:50:41 2008 -0800 Updated rrsync to deal with the latest 3.0.0's use of the -e option. Added a couple more long options that might get passed. M support/cull_options M support/rrsync commit 6226396c4ac4980518d7a97203574501a4562090 Author: Wayne Davison Date: Tue Mar 4 22:48:01 2008 -0800 Don't call utimes() on a dir that doesn't need its mtime changed. M generator.c commit 89b47d43debdd4e6986dca9626de1dd4a1bebf82 Author: Wayne Davison Date: Tue Mar 4 21:46:00 2008 -0800 - Made the itemize test check for CAN_HARDLINK_SYMLINK define instead of running its own test using ln. - Made the merge test call checkit with absolute paths so that some folk's cd command won't foul things up with extra output. M testsuite/itemize.test M testsuite/merge.test commit d1c06c2180f337deaa059fc408fcca4f4770a585 Author: Wayne Davison Date: Mon Mar 3 18:33:11 2008 -0800 Fixing a problem with a NULL config_file pointer when accessing a single-use daemon without no --config option specified. Added a test to ensure that this doesn't break in the future. M clientserver.c M testsuite/daemon.test commit 800a4485f3148765bca7cbc5d3f61be2cc7af276 Author: Wayne Davison Date: Mon Mar 3 11:37:42 2008 -0800 Improved the error-checking when tweaking the files for a new release. M packaging/release-rsync commit fede378577ba1b8adbac90cba42026ba828f1a1f Author: Wayne Davison Date: Mon Mar 3 08:46:30 2008 -0800 Updated copyright year in --version output and improved the release script to look for year changes in options.c and to get the version defaults totally right in the prompts. M options.c M packaging/release-rsync commit 3bc207b9dd74e1bbe1df75fc1f00b91fea6e5dfc Author: Wayne Davison Date: Mon Mar 3 07:16:38 2008 -0800 Fixed a thinko and a typo in the --append option. M rsync.yo commit ebac03192584817d626574db28b97ef274683aa5 Author: Wayne Davison Date: Sat Mar 1 21:00:41 2008 -0800 Show the last compile error if we failed to create rounding.h. M Makefile.in commit 3cbe640d3c42dbd239e3713e5a60d7dc4c24b649 Author: Wayne Davison Date: Sat Mar 1 20:35:18 2008 -0800 Tweak the files to start work on the next release. The work-in-progress version is 3.0.1dev. M NEWS M OLDNEWS M configure.in commit 4cb6197b21d9860736c8e6d81b8eb8cac53beb5a Author: Wayne Davison Date: Sat Mar 1 12:12:04 2008 -0800 Preparing for release of 3.0.0 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.h M rsync.yo M rsyncd.conf.yo commit d3d07a5e860f1cde0e234ec7a1aff7111a2c514f Author: Wayne Davison Date: Sat Mar 1 12:01:41 2008 -0800 Include 2008 in the copyright years. M access.c M acls.c M authenticate.c M backup.c M batch.c M byteorder.h M case_N.h M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M errcode.h M exclude.c M fileio.c M flist.c M generator.c M getgroups.c M hashtable.c M hlink.c M ifuncs.h M io.c M io.h M lib/mdfour.c M lib/sysacls.c M lib/sysacls.h M lib/sysxattrs.c M log.c M main.c M match.c M options.c M pipe.c M progress.c M receiver.c M rounding.c M rsync.c M rsync.h M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M tls.c M token.c M uidlist.c M util.c M wildtest.c M xattrs.c commit 62ca38262fe7bf4a5cdefa3a0edbb16ab1e43194 Author: Wayne Davison Date: Sat Mar 1 11:26:03 2008 -0800 Fixed the lastversion default when changing from a pre-release to a final release. Ensure that newly-created "extra files" get included in the diff. M packaging/release-rsync commit d62fb8894fd31338fa45443677bd7bb194884698 Author: Wayne Davison Date: Sat Mar 1 09:47:13 2008 -0800 Mention a couple more items of note. M NEWS commit fc29efc38d0da298f97dfbd84e7fbb1d730e0060 Author: Wayne Davison Date: Wed Feb 27 17:48:25 2008 -0800 Use variables to hold the constant itemized strings so that future changes are easier to make. M testsuite/devices.test M testsuite/itemize.test M testsuite/rsync.fns commit c4c9bb944bf6d1e17b8884a41a932db26528372e Author: Wayne Davison Date: Wed Feb 27 16:19:05 2008 -0800 Temporarily set uid_ndx in the delete code if the transfer is not preserving ownership, but we want to know what the UIDs are on the files we're deleting. Changed the DEL_OWNED_BY_US flag to be DEL_NO_UID_WRITE, which is only set when a file is owned by us and we can't write to it. Fixed a glitch in the error handling of the --delete-delay code where it might try to enable delete-after in incremental-transfer mode. Made a simple (well tested) optimization in the --delete-delay code and a few other readability changes. M generator.c commit 236adddc18cd4f0e3d91183220af10c11c5cc8a2 Author: Wayne Davison Date: Wed Feb 27 16:15:14 2008 -0800 Use preserve_[ug]id values for send/recv checking, which will allow the delete code to temporarily set [ug]id_ndx during delete processing, as needed. Got rid of a couple duplicate tests. M flist.c commit 5b3aa8028b129b2ce1dbf19854ed6ea2785219da Author: Wayne Davison Date: Wed Feb 27 07:19:13 2008 -0800 Added missing init_iconv() call when initiating a daemon transfer. M clientserver.c commit 16e24c204386dc311ea05e1a0279088f09867382 Author: Wayne Davison Date: Sun Feb 24 13:16:01 2008 -0800 Don't force the user to start from the master branch when any clean starting branch will do. Return to the starting branch. M support/patch-update commit 7869953bbf3e81972ef3cb18feb97fc8e5c96959 Author: Wayne Davison Date: Sat Feb 23 20:55:01 2008 -0800 Fixed the description of the 'x' in the itemized output. M rsync.yo commit d07edfc8956be775ab92b96bd5b3f9a01eb03e6c Author: Wayne Davison Date: Sat Feb 23 08:14:18 2008 -0800 Added a default to the new switch in str_acl_type(). M acls.c commit 85b057cccff3e3df925e481f889ff4678a594c19 Author: Wayne Davison Date: Sat Feb 23 07:44:55 2008 -0800 Check the return code from mbr_uid_to_uuid()/mbr_gid_to_uuid() so that the user sees the right error if they failed. M lib/sysacls.c commit a2c473bb59789eeeb45e541bd405cc8ccd3577f5 Author: Wayne Davison Date: Sat Feb 23 07:31:29 2008 -0800 Tweaked the ACL type-names returned by str_acl_type() so that error messages are a little clearer. M acls.c commit f587061a5b2eb2a3043aaee95a5f0cbf6bc6c7ea Author: Wayne Davison Date: Fri Feb 22 15:15:32 2008 -0800 Cast ai->ai_addrlen to int for an rprintf() call using %d. M clientname.c commit d9e92804a57c7c8dfee0bdf21ca4886dfc0e65f7 Author: Wayne Davison Date: Thu Feb 21 20:51:54 2008 -0800 The code expects id_t and mode_t to be unsigned, so the code now defines each one to be unsigned int (instead of int) when the type is missing. M rsync.h commit 46e858a631be63fd6e5d8d35612fe4a00516ab93 Author: Wayne Davison Date: Wed Feb 20 09:52:33 2008 -0800 Improved several things in the NEWS files, including some typos that Matt fixed. M NEWS commit e0fe5231c2a87fd044124e67cefe244016477282 Author: Wayne Davison Date: Tue Feb 19 19:17:08 2008 -0800 Output info on what's being signed to make it clearer what is happening. Improved the final admonition. M packaging/release-rsync commit 698bc16e87b0ac6b29668fe0df4f3fd6d41e4b67 Author: Wayne Davison Date: Tue Feb 19 18:28:00 2008 -0800 Preparing for release of 3.0.0pre10 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 7b4f48650ce711ca155b671f3b5210e239828d4e Author: Wayne Davison Date: Tue Feb 19 16:35:22 2008 -0800 Make a few more char pointers const. M uidlist.c commit a43ff267e9b6a902e51249e728ef0be22c05b462 Author: Wayne Davison Date: Tue Feb 19 11:52:00 2008 -0800 Tweaked a comparison that "checker" was complaining about. M generator.c commit 717d04669a3e07c2999e4d6221cbfd4a5eec2ec2 Author: Wayne Davison Date: Mon Feb 18 17:16:08 2008 -0800 Fixed the hard-link check again, adding a comment as to why it is coded the way it is. M testsuite/itemize.test commit 15dbffc2150c77ef50616af268359e579e679bcd Author: Wayne Davison Date: Mon Feb 18 16:48:20 2008 -0800 Fixed a compilation problem when iconv support is disabled. M clientserver.c M options.c commit 0099e423325e3c4ad919f6379f41cfe6618ad154 Author: Wayne Davison Date: Mon Feb 18 16:48:04 2008 -0800 Only set FLAG_TIME_FAILED if receiver_symlink_times is set. M rsync.c commit 1ed56a05c26b6cb6f3891ce16be89aeab388a293 Author: Wayne Davison Date: Mon Feb 18 14:10:13 2008 -0800 Extended the protocol-30 info-passing code at startup, and use it to tell the client if the server can set the times on a symlink (both the server->client byte and the client->server use of -e). Make use of this info to allow the proper output of the 't' flag when rsync can set the time on a symlink (and we're talking protocol >= 30). Added output of "[no] symtimes" info in the --version message. Fixed the itemize.test so that it works when rsync believes that it can set the time of a symlink, but it can't really do it. M compat.c M generator.c M log.c M options.c M rsync.c M rsync.h M rsync.yo M testsuite/itemize.test commit 28fb6365d096cf1e7125cde322c92c1b80b4ecee Author: Wayne Davison Date: Mon Feb 18 12:42:04 2008 -0800 Added --no-one-file-system and --no-x options. M options.c commit 8365126b8db2f32522c1d73ddaaa86d8dc4ca1e0 Author: Wayne Davison Date: Mon Feb 18 10:02:35 2008 -0800 Some permssion fixes: - Changed itemized output to only report 'p' with -p or -E. - Fixed a duplicate output of a link-dest file with -vv but no -i. - Improved unchanged_attrs() to handle -E. M generator.c commit d770837ec095fa9f8d9888cbf038ba987eafa711 Author: Wayne Davison Date: Mon Feb 18 09:59:44 2008 -0800 Fixed a typo reported in a Debian bug report. M rsync.yo commit 59658acfec6271d3eb50e8fc6f4342b2ea0ce526 Author: Wayne Davison Date: Mon Feb 18 08:25:15 2008 -0800 Mention the leading '*'-char rule for itemized output. M rsync.yo commit 46f800e8c7021189e4655d3d4fe767911de2cf7e Author: Wayne Davison Date: Sun Feb 17 23:46:26 2008 -0800 Decided to pad the "*deleting" message to make the names line up. M log.c commit 1c65a93d03ebbb878107e74035d31a602b1cd582 Author: Wayne Davison Date: Sun Feb 17 23:44:52 2008 -0800 The daemon no longer logs a recv entry for a file that is not actually being updated due to the --only-write-batch option. M receiver.c commit cae7885e2f5991640bd6a7b117147b2bc0e30bec Author: Wayne Davison Date: Sun Feb 17 22:11:44 2008 -0800 Don't output a duplicate warning when the daemon-config excludes a directory or when a directory is ignored via --ignore-non-existing. Use a new var, is_dir, to simplify the dir code in recv_generator(). M generator.c commit eaa28e654fe46ae3a2c0d2cb83866d341b38ce71 Author: Wayne Davison Date: Sat Feb 16 14:45:22 2008 -0800 Use the name "ChangeLog" for the ftp copy of the repository history. M packaging/release-rsync commit beef86d0dda124ca59005846049cf7d60efb69c7 Author: Wayne Davison Date: Fri Feb 15 22:19:43 2008 -0800 A few minor changes, including better push_dir()/pop_dir() verbosity. M clientserver.c M loadparm.c M util.c commit 2fe1feea751bdb73797169402cd79fb25ace420c Author: Wayne Davison Date: Fri Feb 15 18:55:02 2008 -0800 Added a way to specify where the chroot should occur in the module's path, which allows a daemon admin to have chroot protection and still have files that are outside the transfer area (such as libraries). M NEWS M clientserver.c M rsyncd.conf.yo commit 0b52f94da727c4881b58c1cd6f2cf2a824e02b30 Author: Wayne Davison Date: Thu Feb 14 13:24:16 2008 -0800 Some daemon security improvements, including the new parameters "charset" and "numeric ids". M NEWS M clientserver.c M flist.c M loadparm.c M options.c M rsync.yo M rsyncd.conf.yo M uidlist.c commit f96bac8468f483d99cd150d22f235e2e8dc5ed92 Author: Wayne Davison Date: Tue Feb 12 17:30:02 2008 -0800 (Matt) Dropped a superfluous word from a sentence. M rsync.yo commit 8444a7c00d90e88104f63a4a1c90f0336807a2ec Author: Wayne Davison Date: Tue Feb 12 17:29:09 2008 -0800 (Matt) Needed to remove a few more files for distclean target. M Makefile.in commit c9d3bc3fcaa8d33cfa6a5791e6ac0118976a1a93 Author: Wayne Davison Date: Sun Feb 10 21:21:24 2008 -0800 A few more NEWS tweaks. M NEWS commit 8340aa9670d64c584fa3d46c04e749bdfad93b0d Author: Wayne Davison Date: Sun Feb 10 21:02:05 2008 -0800 Mention a couple more items. M NEWS commit 3e2c0024d5ba91bc5d4a3a612353995951ed2cf2 Author: Wayne Davison Date: Sun Feb 10 20:39:31 2008 -0800 Made reconfigure target check if configure.sh was up-to-date. M Makefile.in commit 205393a2b581c2523af1c7116b21d390da5557ef Author: Wayne Davison Date: Sun Feb 10 20:16:25 2008 -0800 Preparing for release of 3.0.0pre9 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 5f0f2e08946410786b079596915278f9d13a23a9 Author: Wayne Davison Date: Sun Feb 10 20:10:13 2008 -0800 Some improvements for --hard-links and --filter options. M rsync.yo commit a5bb0902b4f7538855d60d3495648d397db03c0a Author: Wayne Davison Date: Sun Feb 10 15:39:21 2008 -0800 One more fix in set_modtime() when we get ENOSYS on a symlink. M util.c commit d348d5fd5ffb55ccddb11d5428a7a3a3445ce037 Author: Wayne Davison Date: Sat Feb 9 22:07:03 2008 -0800 Add a trailing slash to a modname arg that has no path information. This ensures that the user gets a "skipping" message if they didn't specify -r or -d. (A trailing-slash was already being added to a lone modname for --list-only transfers.) M clientserver.c commit 21897ecbedeec3fbcaf2cbed895df6d11d811ba9 Author: Wayne Davison Date: Sat Feb 9 21:41:50 2008 -0800 Improved the "symlink has no referent" logic to work with all the --copy*links options. M flist.c commit 01103e18702edf1dc025e73761c52965132342eb Author: Wayne Davison Date: Sat Feb 9 21:33:13 2008 -0800 Make do_recv() reset copy_unsafe_links too (just like it does for copy_links and copy_dirlinks). M main.c commit 2d8f9b1df01e5919c8331f1eb84e80532252f72c Author: Wayne Davison Date: Sat Feb 9 21:30:49 2008 -0800 Ignore exit-code 23 when we expect a daemon-excluded file to be excluded. M testsuite/batch-mode.test M testsuite/daemon-gzip-upload.test M testsuite/rsync.fns commit 68f1e7e594a062e25f1bee295b75a928b72f64d8 Author: Wayne Davison Date: Thu Feb 7 11:24:38 2008 -0800 (Matt) Made a daemon-refused file an FERROR_XFER with a better message. M generator.c commit 87629cf2f61f98b7030e5c18d54490a0cb676f0e Author: Wayne Davison Date: Thu Feb 7 07:24:58 2008 -0800 Re-indent some code in set_file_attrs() to make the flow clearer. M rsync.c commit e7f642cffe6356d29599fc8737eb01f1b4ea2df5 Author: Wayne Davison Date: Wed Feb 6 16:39:53 2008 -0800 Using rebase for the patches has become a failing-hunk pain in the neck, so I'm switching to using merge. M support/patch-update commit 3e8fe565ede6ab0fd9b84639cac9d7ea3fb0dcf2 Author: Wayne Davison Date: Wed Feb 6 16:13:37 2008 -0800 A daemon needs to call setup_iconv() after parsing the options it receives. M clientserver.c commit e96c7777d7e9ba9337e7a83d6e5370858bf3075e Author: Wayne Davison Date: Wed Feb 6 16:06:33 2008 -0800 Fixed return code from hard_link_one() when not verbose. M hlink.c commit 71daa07fb1c791c0f5eba3fc1b615df3a46441fc Author: Wayne Davison Date: Wed Feb 6 07:52:00 2008 -0800 Make get_xattr_names() even safer at fetching the list of attr names. M xattrs.c commit 287bb276d551a967a98037a603794e46965604d3 Author: Wayne Davison Date: Mon Feb 4 21:17:27 2008 -0800 Only check F_OWNER() if uid_ndx is non-zero. M generator.c commit ddc8110dea7ee78eb03855854497076cefe7284d Author: Wayne Davison Date: Mon Feb 4 12:52:41 2008 -0800 Fixed local_child() so that the client side really does handle the log-file writing. M pipe.c commit c0f4228d6689a7c359327226776f421194c36cfa Author: Wayne Davison Date: Mon Feb 4 12:30:19 2008 -0800 Don't try to use recv_xattr_request() with --dry-run. Fixes an internal abbrev error on the sending side. M sender.c commit d6e6333a02a900c2863200a0feff4349d4003a8d Author: Wayne Davison Date: Mon Feb 4 07:29:22 2008 -0800 Store the key64 flag from hashtable_create() in the hashtable structure so that hashtable_find() knows which hashtable is which on a 64-bit architecture. M hashtable.c M rsync.h commit 970ce063ee0c17b69ee5343d6934faab479f6ed8 Author: Wayne Davison Date: Mon Feb 4 00:12:01 2008 -0800 Fixed finding of parent's description when @ARGV doesn't mention it. M support/patch-update commit dd1f0da818d33508999298954172f347e4dbf450 Author: Wayne Davison Date: Sun Feb 3 23:40:20 2008 -0800 Improved the usage message. M support/patch-update commit 38a4bd432afdb39cca6cccaa671413ffd4d161aa Author: Wayne Davison Date: Sun Feb 3 16:30:08 2008 -0800 Fixed a couple DEL_OWNED_BY_US glitches. M generator.c commit 3eabe6aa41f18e4e3ce4d9f5251ed25e5b82f017 Author: Wayne Davison Date: Sun Feb 3 15:11:40 2008 -0800 Dump delete_item()'s "replace" var to reduce recursive stack use. M generator.c commit f2b7b64d867240f219fba74e5f30020bdec335d6 Author: Wayne Davison Date: Sat Feb 2 17:00:25 2008 -0800 Fixed the diffing of generated files when creating a patch that has a parent that is not the master branch. M packaging/release-rsync M support/patch-update commit b2057d38a978e54be024f80ef84ca6d17454d31c Author: Wayne Davison Date: Tue Jan 29 17:19:22 2008 -0800 Some extra password-clarification verbage from Matt. M rsync.yo commit 964244b90d8d7ae7fe4d99b4e399c1607c4966e3 Author: Wayne Davison Date: Sun Jan 27 14:39:49 2008 -0800 Fixed several glitches with failed updates and batch files: - Correctly identify when a missing batch update is for a resend. - Made a missing batch update an xfer error. - Made a failed redo an xfer error. - Identify a failed transfer file consistently when it is a solo file. - Have --read-batch say "may try again" instead of "will try again". M receiver.c commit a7c1fa0049d2fbee5fde35b4cb2fbea4bd7545db Author: Wayne Davison Date: Sat Jan 26 11:56:27 2008 -0800 Moved the batch option checking until after the protocol-version in the batch file is known. Also simplified the do_compress checking, which had some erroneous def_compress_level code. M batch.c M compat.c commit 42a28d9d3a57471cb1409570cf68da9f98a95b76 Author: Wayne Davison Date: Sat Jan 26 09:13:19 2008 -0800 Improved a comment. M main.c commit 19284e2ef8496f995e2f8dc710ba6482922dc39f Author: Wayne Davison Date: Sat Jan 26 08:47:02 2008 -0800 When removing a file/dir that is owned by us but does not have owner-write permission, set it before the removal. M generator.c M main.c commit 2268defe66b545a3143acff0e1dbfb50380039f2 Author: Wayne Davison Date: Fri Jan 25 16:57:54 2008 -0800 Fix some typos and such. M NEWS commit 643b018cfbe464525d57842394f60e5234e65ff6 Author: Wayne Davison Date: Fri Jan 25 16:57:26 2008 -0800 Mention iconv --list. M rsync.yo commit e35ad79b1bb0239b50d08f80853acaf11dc13fac Author: Wayne Davison Date: Fri Jan 25 16:51:10 2008 -0800 Make do_chmod() report an error with -E. M syscall.c M t_unsafe.c M tls.c M trimslash.c commit da01d2e84320680b1cf7502c2af9b426325a64fa Author: Wayne Davison Date: Sat Jan 19 11:21:07 2008 -0800 Improved option handling for protocol 30 batch files. M NEWS M batch.c commit 641dc0c51e7c1196f160d8a76ba7f9c441bbc7ef Author: Wayne Davison Date: Sat Jan 19 11:20:42 2008 -0800 Output (BATCH ONLY) rather than (DRY RUN) for --only-write-batch. M main.c commit 69e2b4ee3a5f5e4b5792714697766a7ee4d18029 Author: Wayne Davison Date: Sat Jan 19 11:20:17 2008 -0800 Fixed the combination of --dry-run and --only-write-batch. M options.c commit 75a01a0734365883bbf9629b7818fb684a7bcb59 Author: Wayne Davison Date: Sat Jan 19 10:09:22 2008 -0800 Don't apply filter rules to implied directories. M flist.c commit b769ad6a3e7ef871ea0aabd5b033018ba6cdbb90 Author: Wayne Davison Date: Sat Jan 12 21:41:21 2008 -0800 Another xattr "internal abbrev" fix for an xattr object that is shared by multiple files: handle the case where one file has an abbreviated item set correctly, but a following item does not. Also extended testsuite/xattrs.test to verify that this works. M generator.c M testsuite/xattrs.test M xattrs.c commit 6e59b97770496813b1a96f949a2f353adf505dc4 Author: Wayne Davison Date: Sat Jan 12 10:53:10 2008 -0800 Preparing for release of 3.0.0pre8 M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 4da9fcd41d30e8a089a0d64f5e6c44e80531942a Author: Wayne Davison Date: Sat Jan 12 10:20:25 2008 -0800 - Make sure the Makefile is up-to-date before running "make gen". - The release-rsync script now creates the generated patches in a separate dir from the normal patches. M packaging/release-rsync M support/patch-update commit 68ddbaf6457ebaa218587d1a4f9eb90f521174fc Author: Wayne Davison Date: Sat Jan 12 09:14:56 2008 -0800 Fixed a bug with truncated xattr data requests when the receiver needs to discard some of the items from the sender's list. M xattrs.c commit 555a081fe245eec5d1dcabd90eb5bce9e2840237 Author: Wayne Davison Date: Fri Jan 11 13:20:14 2008 -0800 If "make gensend" fails, abort the script. M packaging/nightly-rsync commit 513d3fd806137134fcdc4b9fed656311b1bfd2e6 Author: Wayne Davison Date: Fri Jan 11 13:13:15 2008 -0800 Improved check_for_finished_files() to be really, really sure that we've processed all the items on the hard-linked and redo queues before we return. M generator.c commit 34aa616d41ad3a1b099d094a98b82b3505c735ed Author: Wayne Davison Date: Wed Jan 9 11:51:44 2008 -0800 Fixed a length problem parsing an arg of "./". M flist.c commit ec8637f3679b891041c798400774141024e24a4e Author: Wayne Davison Date: Wed Jan 9 08:59:02 2008 -0800 Don't allow a slash to be specified in a module name. Document the module-name limitations in rsyncd.conf.yo. M loadparm.c M rsyncd.conf.yo commit 62a6b8df72d18f0b13462ee7ac33f9a8a46ef0b5 Author: Wayne Davison Date: Wed Jan 2 17:20:44 2008 -0800 Made read_arg_from_pipe() handle EINTR. M clientserver.c commit dd6f31f70f2ffd35f48be071c3d831ea4f1e0762 Author: Wayne Davison Date: Tue Jan 1 10:43:55 2008 -0800 Rebuild the Makefile when it is not up-to-date. M Makefile.in commit a5fd4b6e6e3d4649f0f65cd4a0385283fe69154c Author: Wayne Davison Date: Tue Jan 1 10:34:27 2008 -0800 Renamed mkrounding.c to rounding.c. M Makefile.in R100 mkrounding.c rounding.c commit eca151d4579f741e96b1977a7ee163f1fb4dc5f4 Author: Wayne Davison Date: Tue Jan 1 10:27:19 2008 -0800 Changed the creation of rounding.h to use a set of compile-time checks similar to how configure determines the size of variables. M .gitignore M Makefile.in M configure.in M mkrounding.c commit f859d3ded6285c499898540ca4fb16f1e1a7d26b Author: Wayne Davison Date: Tue Jan 1 08:59:26 2008 -0800 If we're cross-compiling, tell the user to run mkrounding on the target machine to build the rounding.h file. M Makefile.in M NEWS M configure.in commit 5288be3af7c24814011130306725c24df792cc06 Author: Wayne Davison Date: Mon Dec 31 20:27:40 2007 -0800 Some minor tweaks: - Improved some comments in hlink.c. - Changed "the" to "a" in rsyncd.conf.yo. - Improved the PATCH.name filtering loop in patch-update. M hlink.c M rsyncd.conf.yo M support/patch-update commit 83235dbc546d74ee325bb09b602bd62313fea793 Author: Wayne Davison Date: Mon Dec 31 10:18:22 2007 -0800 Fixed a case where the receiver indicates a successful update when the transfer succeeded, but the final rename failed. M generator.c M receiver.c M rsync.c commit c78cb8f349d74dbb19abbc4edeef12655bdcdf23 Author: Wayne Davison Date: Sat Dec 29 22:52:42 2007 -0800 Made some user-/group-name pointers "const". M acls.c M flist.c M uidlist.c commit 7210dbfd2ab424d5beee7dd94975006e1fa35ed7 Author: Wayne Davison Date: Sat Dec 29 22:52:04 2007 -0800 Some minor tweaking to name_to_uid() and name_to_gid(). M util.c commit b6800a0b32d53cbb23129a3eea8fa832fb864b79 Author: Wayne Davison Date: Sat Dec 29 09:53:37 2007 -0800 Added check for libiconv_open when iconv_open isn't found. M configure.in commit 14eaa7a53b1a3b6ddc951014d0c08116e5c41d99 Author: Wayne Davison Date: Sat Dec 29 09:44:58 2007 -0800 Added reconfigure target to re-run configure. M Makefile.in commit bc065415b07081e2f0634dab13ff4813a8f7025d Author: Wayne Davison Date: Wed Dec 19 09:36:05 2007 -0800 Fixed Source URL and changed from ftp to http. M packaging/lsb/rsync.spec commit 9203c8d274b6f62e83dcc35f0a2514534ee8fd85 Author: Wayne Davison Date: Mon Dec 17 23:09:35 2007 -0800 Improved prepare-source to make it more flexible. The script now lets the user choose which actions to perform and their order. M configure M prepare-source commit 9468cf796daf9824070acea5fa0ec0f34f393d25 Author: Wayne Davison Date: Sun Dec 16 17:51:36 2007 -0800 Fixed a FALL THROUGH comment. M log.c commit 77d4c400c200e11aa1ab814101678c02c2d90414 Author: Wayne Davison Date: Sun Dec 16 17:18:01 2007 -0800 Only ignore ENOSYS error from lutimes(). M util.c commit e3915dac764208a166d87b6ef964c875b435d143 Author: Wayne Davison Date: Sun Dec 16 15:41:59 2007 -0800 Added the 'h' option to the tar command that creates the patches tar file just in case the patches directory is a symlink. M packaging/release-rsync commit 78246d1a093ae18b102d719692bde55c266297d6 Author: Wayne Davison Date: Sun Dec 16 15:09:43 2007 -0800 Preparing for release of 3.0.0pre7 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 4bb319c6a6278590050841eea7b33a66bf6957ae Author: Wayne Davison Date: Sun Dec 16 15:09:21 2007 -0800 Fixed extracting files from old tar file. M packaging/release-rsync commit 293b11b8a55ef9769be816cc23d8a75c82109939 Author: Wayne Davison Date: Sun Dec 16 15:03:50 2007 -0800 Mention 2 more changes in the NEWS. M NEWS commit 8f42da0b50e15b39e2a636362785e1aafc520ce0 Author: Wayne Davison Date: Sun Dec 16 15:02:42 2007 -0800 Added a "fetchall" option. M prepare-source commit a10186910dc0771ea907f92b1364cbb4912f37e3 Author: Wayne Davison Date: Sun Dec 16 14:16:37 2007 -0800 Fixed the check_filter() calls that might be checking an absolute path in "use chroot = no" mode against a daemon's exclude restriction. M main.c M options.c commit eb7715c1eb5a69a934fe59e1ccafe3b421b9c8fd Author: Wayne Davison Date: Sun Dec 16 14:14:35 2007 -0800 Moved the dir_count increment into an even better spot and make sure that send_file_name() returned a non-NULL pointer before doing any DOT_NAME processing in inc_recurse mode. M flist.c commit a7188cbf48f30782c7dc1ba70bbb93ef8e37dc13 Author: Wayne Davison Date: Sat Dec 15 11:57:34 2007 -0800 Fixed a potential memory leak in make_file(). M flist.c commit f7a2ac075f267d4cba779c26e20147d25d047e4e Author: Wayne Davison Date: Sat Dec 15 08:35:45 2007 -0800 Refer to delta-transfer algorithm rather than rsync algorithm. M options.c M rsync.yo commit ce27f36d927ba68d62d3b4539cfd5e0f758e20fb Author: Wayne Davison Date: Sat Dec 15 08:13:06 2007 -0800 Check on the alternate destination dirs and report any problems. M main.c commit af5ed0f257e1d050b43f97ba86a1bad863196e25 Author: Wayne Davison Date: Sat Dec 15 07:39:33 2007 -0800 Make push_dir() output where we are when verbosity is high. M util.c commit e6d05dcfca5585317808826186ca4d06e2d2eaa5 Author: Wayne Davison Date: Thu Dec 13 07:00:38 2007 -0800 Move incrementing of dir_count so that it can't get incremented for a directory that isn't going to be included in the transfer. M flist.c commit 65b4e4b2a93de8e5bff93b5c7a2a529613cbc5e8 Author: Wayne Davison Date: Sat Dec 8 11:39:03 2007 -0800 Updated indexing for accurate progress and improved raw ndx values. The sending side now has a sorted file-list in iconv mode so that it can output progress in sorted order. Simplified the over-the-wire index values to ensure both sides will always agree on the values. Optimized the allocation of the dir_flist->sorted array on the receiving side with --iconv and incremental recursion. M flist.c M progress.c M receiver.c M rsync.c M rsync.h M sender.c commit 37adeae73e9e590082d1247eeb8f216db18b24dc Author: Wayne Davison Date: Fri Nov 30 19:08:54 2007 -0800 A few more additions of $(srcdir) to Makefile.in. M Makefile.in commit 091b3459f6e89ff3f04b8287e490789011586461 Author: Wayne Davison Date: Fri Nov 30 19:02:50 2007 -0800 Fixed a build problem for those building in a different dir from the srcdir. Also got rid of "cd" code in configure stub. M Makefile.in M configure commit 85cdbb6be34abecfeaedac7810fdf88f418aa619 Author: Wayne Davison Date: Fri Nov 30 18:01:18 2007 -0800 Reorganize the build-farm "prepare-source" magic a little. This makes it easier for a user to request a copy of the configure scripts via rsync ("./prepare-source fetch"). M configure M prepare-source commit fcb1068f72392f2c36d64302a043c6ab6e92918e Author: Wayne Davison Date: Fri Nov 30 07:42:47 2007 -0800 Improved header-file dependency rules even more. M Makefile.in commit 07ad305e8a0c10c82ad7b055e24be5e92601d00c Author: Wayne Davison Date: Thu Nov 29 23:44:40 2007 -0800 Make sure that the test programs get rebuilt when a header file changes. M Makefile.in commit bcfb738c93a586283457ea1c7015f321fd1f3f48 Author: Wayne Davison Date: Thu Nov 29 23:21:51 2007 -0800 One build-farm system needs to fetch the proto.h* files too. M configure commit b58f5e17ed35c68e10b88869d1e10d5378bd40e0 Author: Wayne Davison Date: Thu Nov 29 22:52:20 2007 -0800 Simplified the time_t overflow check and moved an extra_len rounding check into the right spot in recv_file_entry(). M flist.c commit 87de82f2d0ed8288e59aa311edd7b63d627bea3b Author: Wayne Davison Date: Thu Nov 29 22:46:43 2007 -0800 Make sure that the inc_recurse value is always set to either 0 or 1. M compat.c commit 87531e6302dd9352730f29b4bde36b2b21d4038b Author: Wayne Davison Date: Thu Nov 29 17:12:54 2007 -0800 Get rid of some compiler warnings in the AIX sysacls code. M lib/sysacls.c commit eb67a6909b02a333b36abf8ad11304863eb22e19 Author: Wayne Davison Date: Thu Nov 29 10:27:16 2007 -0800 Don't try to process hard-link data in list-only mode. M hlink.c commit 9217ce30e308db28dc4789ef009ecf553f35097c Author: Wayne Davison Date: Wed Nov 28 11:52:16 2007 -0800 Revised release-rsync and nightly-rsync code to create a tar files with the right timestamps. M packaging/nightly-rsync M packaging/release-rsync M support/git-set-file-times commit d52607ecd6c8b4e68ebacff8cd5163257f59cfc2 Author: Wayne Davison Date: Wed Nov 28 01:00:37 2007 -0800 Preparing for release of 3.0.0pre6 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 13e4914826df2ded6dfe46e73ae0ebcd10aff231 Author: Wayne Davison Date: Wed Nov 28 00:57:23 2007 -0800 Fixed a problem with extracting the previous release's generated files (used to create the release diff). M packaging/release-rsync commit 932fcfc1aab6c5cb376cc0a17487feaf1b285f8f Author: Wayne Davison Date: Wed Nov 28 00:40:34 2007 -0800 Mentioned the latest changes in the NEWS. M NEWS commit a2c770dc216835b20f2841475412cb723b14f476 Author: Wayne Davison Date: Wed Nov 28 00:39:02 2007 -0800 Switching over to a dynamic hash method for really large files. This code has been reported to be better for large files than the file-chunking code that was included in pre3. M match.c commit ba22c9e219ccd45fea318e7759a7fe4a7c3703dc Author: Wayne Davison Date: Wed Nov 28 00:28:26 2007 -0800 Adding --contimeout=SECONDS option. M errcode.h M log.c M main.c M options.c M rsync.yo M socket.c commit 6a2456c501093327333b79af9a5fd9cf311702ea Author: Wayne Davison Date: Tue Nov 27 15:53:43 2007 -0800 Don't use git-FOO command to call git sub-commands. M packaging/nightly-rsync M packaging/release-rsync M support/patch-update commit ef3f14e6a74a36a428f6d38aa77fc7fff2b6c576 Author: Wayne Davison Date: Tue Nov 27 13:11:08 2007 -0800 When the new "munge symlinks" option is off, a non-chroot daemon should sanitize its symlinks, as it used to do. M flist.c M rsyncd.conf.yo commit 9585b27678ee8b94f2f260e8d8d61ff4381f2fa3 Author: Wayne Davison Date: Mon Nov 26 21:58:19 2007 -0800 Add a new daemon security option: "munge symlinks". M clientserver.c M flist.c M loadparm.c M rsync.h M rsyncd.conf.yo A support/munge-symlinks M testsuite/rsync.fns commit 5c77266d9583fdb556be959e453afae82de70e36 Author: Wayne Davison Date: Sun Nov 25 15:12:06 2007 -0800 Use a non-printing command for proto.h's build-rule. M Makefile.in commit 3db06222afe9960cf6b41c4a90e892c6ee80d44d Author: Wayne Davison Date: Sun Nov 25 15:03:19 2007 -0800 Give proto.h a build rule so that make re-checks its timestamp. M Makefile.in commit aa6865d7617f5239624f1b0604be379709dbde92 Author: Wayne Davison Date: Sun Nov 25 14:46:33 2007 -0800 Return to the master branch at the end. M support/patch-update commit 67b9b26ff3687a3b43358c7608d6b1981495ab88 Author: Wayne Davison Date: Sun Nov 25 14:36:30 2007 -0800 Modified the discovery of the generated files & use "make gen". M packaging/nightly-rsync M packaging/release-rsync M support/patch-update commit b82ad9507fdc11f896c23762f9ca3927536401a2 Author: Wayne Davison Date: Sun Nov 25 14:08:19 2007 -0800 Re-run autoconf and autoheader, as needed. M Makefile.in commit 4d7c8e6b76b6a69cc044580f5759546a0570b65e Author: Wayne Davison Date: Sun Nov 25 13:49:41 2007 -0800 We now call set_stat_xattr() before set_xattr(). M rsync.c commit a685271de33c6d9d39fb1a8855fe214911c774e6 Author: Wayne Davison Date: Sun Nov 25 13:48:54 2007 -0800 Various xattr fixes: - Fake-super mode no longer strips the RSYNC_PREFIX from a "%name" item. - Make various places skip the fake-super xattr when --fake-super is enabled. - If we fail to re-read the xattr value of an xattr we are trying to un- abbreviate, send a zero for its length (avoiding a protocol problem). M xattrs.c commit 613c2d44317e9e1aacba22a3af9ce31078893339 Author: Wayne Davison Date: Sat Nov 24 11:50:41 2007 -0800 Improved proto.h-tstamp handling, including cleanup. M Makefile.in M mkproto.pl commit 225787a4a4c3ed08dade67d057a4a858f6273a10 Author: Wayne Davison Date: Sat Nov 24 10:54:35 2007 -0800 Made the (re-)building of the proto.h file automatic in the main Makefile rules, and the (re-)building of the man pages automatic if yodl2man is present. M .gitignore M Makefile.in M configure M configure.in M prepare-source.mak commit e107b6b122812d88d531f3826e1a510abe916006 Author: Wayne Davison Date: Sat Nov 24 10:50:45 2007 -0800 Fixed a problem with --fake-super not getting the fully tweaked new_mode value. Also fixed the removal of rsync-internal xattr values on the destination files when we aren't copying rsync-internal xattr values. M rsync.c M xattrs.c commit 5223b786ca62d7b7ffbbd6764083d4d71f6301b9 Author: Wayne Davison Date: Thu Nov 22 11:19:34 2007 -0800 A daemon needs to set dry_run with --only-write-batch. M clientserver.c commit 3f0211b63a6cdc4a2cecfd2a0dffeba172c86a47 Author: Wayne Davison Date: Thu Nov 22 09:56:21 2007 -0800 New logging categories added to allow differentiation between transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols. M acls.c M authenticate.c M cleanup.c M flist.c M generator.c M hlink.c M io.c M log.c M main.c M receiver.c M rsync.c M rsync.h M sender.c M util.c M xattrs.c commit a6c6f8e650f9790c7827ad1ff321fe21daf522cf Author: Wayne Davison Date: Thu Nov 22 09:51:21 2007 -0800 Use FLOG instead of FERROR for config errors. M loadparm.c M params.c commit ee6e80c7532696f04bd021a26b3b2e5178cf5f31 Author: Wayne Davison Date: Thu Nov 22 07:57:03 2007 -0800 Fix two iconv problems that Lennart Lövstrand pointed out in bug 5075. M io.c commit ce72de30ce4d850bdd0985cbcd5d686470745934 Author: Wayne Davison Date: Wed Nov 21 07:09:26 2007 -0800 Don't try to delete when list_only is set. M generator.c commit 29bca53f9b6c020b5bd226b6378482a203fa7df3 Author: Wayne Davison Date: Tue Nov 20 17:37:53 2007 -0800 Got rid of the unused symlink parameter to sanitize_path(). M exclude.c M flist.c M main.c M options.c M util.c commit dc2815c1fb40ff8f40eee6e1eaf57deb7fbf1d3d Author: Wayne Davison Date: Tue Nov 20 17:22:47 2007 -0800 Make sure that a failure to build configure.sh or config.h.in doesn't leave a file lying around that could deceive us on the next run. M configure commit 3005a12bcec665882d17f472cf19802c0d965a2f Author: Wayne Davison Date: Tue Nov 20 08:40:15 2007 -0800 Only allow the build farm to rsync the latest generated configure files when building them fails. M configure commit fd913297faad60dab4cdaa01400e9ad7d8ce7104 Author: Wayne Davison Date: Sun Nov 18 17:54:35 2007 -0800 Made some code that handles hard-linking of symlinks be omitted if symlinks can't be hard-linked. M generator.c commit 90c98cdc39f640a14fb31e330d9297887926283a Author: Wayne Davison Date: Sat Nov 17 10:29:13 2007 -0800 Adding a support script that can be used to make the checked-out file-times of an initial clone nicer. A support/git-set-file-times commit b258ebf8ac029949aea3703b01c5363183806cb3 Author: Wayne Davison Date: Sat Nov 17 10:26:46 2007 -0800 Improved F_RDEV_P() define to use DEV_EXTRA_CNT count. M rsync.h commit 97f0421523521ad2e0ff7b14eb38b854a0b9e0a0 Author: Wayne Davison Date: Fri Nov 16 07:22:02 2007 -0800 Make sure we process a parent patch before a dependent patch. M support/patch-update commit ee8a733d6fed612ffb8cdafbbcc9b7db016b1a3d Author: Wayne Davison Date: Thu Nov 15 14:05:09 2007 -0800 A couple minor improvments to the tar-creation code. M packaging/release-rsync commit 20c7d7fd698d4cb705aef04fabd20432c7e38580 Author: Wayne Davison Date: Thu Nov 15 07:48:13 2007 -0800 Updated to work with git instead of cvs. M packaging/nightly-rsync commit 49ebb358ab3ae8b65ceb97725ee79e821d424f73 Author: Wayne Davison Date: Mon Nov 12 15:10:52 2007 -0800 Handle new PATCH-$name files, improved $last_touch code, fixed handling of dependent patches. M support/patch-update commit 1f41d42a911cbde2a305b4cef1dbf6dfe9a00545 Author: Wayne Davison Date: Mon Nov 12 13:32:10 2007 -0800 Getting rid of all .cvsignore files. D .cvsignore D doc/.cvsignore D lib/.cvsignore D popt/.cvsignore D zlib/.cvsignore commit 813d2d101a1a2878f76693c68575f9285d5de328 Author: Wayne Davison Date: Mon Nov 12 07:12:48 2007 -0800 Mention the change for protocol 30. M csprotocol.txt commit 86eb9f95955d3957c2dfdcbc36492076385c96fd Author: Wayne Davison Date: Mon Nov 12 06:44:16 2007 -0800 Exit if something goes wrong with commit or tag. M packaging/release-rsync commit 18fa91296bb0e85130f8e98e710528a18a20028f Author: Wayne Davison Date: Mon Nov 12 06:30:24 2007 -0800 Make sure that time has progressed when we need change branches in order to run prepare-source. M support/patch-update commit 8d3211447dc655ade96de0339ad122ece55efa9f Author: Wayne Davison Date: Mon Nov 12 00:13:52 2007 -0800 If we start a sub-shell to let the user fix a rebase, output a message and change the prompt. M support/patch-update commit 805d8ac43daef8de2eee7ceeeede0ee4805e5f26 Author: Wayne Davison Date: Sun Nov 11 23:58:01 2007 -0800 Updated to work with latest git repository and to package the patches directory in a separate tar file. M packaging/release-rsync commit d26c7dfdb0a28a8ffc1bf5bffeb5555883c2f1e2 Author: Wayne Davison Date: Sun Nov 11 23:15:40 2007 -0800 This script transforms one or more patch/* branches into one or more patches/*.diff files. A support/patch-update commit 1e21cde31558882e84cb699423f1ef49ee46969c Author: Wayne Davison Date: Sun Nov 11 22:52:25 2007 -0800 Ignore a couple more items. M .gitignore commit c5d77e9659bb40db09376beb31ba9d23396ae601 Author: Wayne Davison Date: Sun Nov 11 22:51:50 2007 -0800 Including my extern-squishing script, which just found an extraneous extern in exclude.c. M exclude.c A support/extern-squish commit 2909586ede1934c36e43e176909c36998279b2a2 Author: Wayne Davison Date: Fri Nov 9 21:37:01 2007 -0800 This helper script exists to create the generated files that are needed for a build. It pretends to be a configure script so that the build steps are still the normal sequence of ./configure, make, make install (which is particularly helpful with the samba build farm). Once the generated files are ready, the configure.sh script is called to do the real configure work. A configure commit c5435b56bf169c612fedf1a60859ad38d93d5b76 Author: Wayne Davison Date: Fri Nov 9 22:57:14 2007 +0000 Switched prototype generation from awk to perl. D mkproto.awk commit 2c386ff971dbed3f3f3786cbcd10ce6f24f35a74 Author: Wayne Davison Date: Fri Nov 9 19:55:00 2007 +0000 Ignore generated files and dirs. A .gitignore commit 7f3b529367e327eb40abe0b4acb394de7d0b2932 Author: Wayne Davison Date: Fri Nov 9 19:31:20 2007 +0000 Tweaked gensend to upload man pages too. M Makefile.in commit 6228239894e946546d7ff33a576453ed4fca04f2 Author: Wayne Davison Date: Fri Nov 9 19:28:27 2007 +0000 Include the arg name for the lp_*() funtions. M mkproto.pl commit 4da09a65f84b2ebca6bf05e6b793868fc683b40f Author: Wayne Davison Date: Fri Nov 9 19:14:51 2007 +0000 Simplified script even more for HP-UX. M mkproto.pl commit ab9661098674ee9896cade4c3098100b14c94c93 Author: Wayne Davison Date: Fri Nov 9 18:15:52 2007 +0000 Use older open() style for compatibility with older perl versions. M mkproto.pl commit c8dccf8fb4949ad8f2c25f86808b517a5b30faf9 Author: Wayne Davison Date: Fri Nov 9 18:12:40 2007 +0000 Improved the manpage install rules. M Makefile.in commit bdc12f41ded2093bf40e79b774070afd6df104c6 Author: Wayne Davison Date: Fri Nov 9 18:04:50 2007 +0000 Don't fail the install if the man pages aren't there. M Makefile.in commit 2042c632512e47cb7bfa3aa6131b89c2e9829820 Author: Wayne Davison Date: Fri Nov 9 17:56:00 2007 +0000 Clean generated files for distclean. M Makefile.in commit 6ec47d3d015acb3fa793c59c7eaf2266dbfc77ad Author: Wayne Davison Date: Fri Nov 9 17:50:10 2007 +0000 Added gensend target. M Makefile.in commit 0c270e48afc4efa03ebb27a514bca9ef869cc910 Author: Wayne Davison Date: Fri Nov 9 17:40:56 2007 +0000 Let's try using perl for building proto.h. A mkproto.pl M prepare-source.mak commit 8aeac05d981687e0e267a52e0e3bd7a5df634de5 Author: Wayne Davison Date: Fri Nov 9 16:56:46 2007 +0000 Improved configure bootstrap to try to build generated files before fetching them. M prepare-source.mak commit 564dc9941eef5f1835d69aa0de888906ee5d60ca Author: Wayne Davison Date: Fri Nov 9 16:22:20 2007 +0000 This is an attempt to remove generated files from the rsync repository while still supporting the samba build farm. Let's see if it works. M prepare-source.mak commit 732b391720e81c048039d830cd74917947188059 Author: Wayne Davison Date: Fri Nov 9 04:49:18 2007 +0000 Preparing for release of 3.0.0pre5 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 879b6ad05c943aa552728d4b27620488ac1d3408 Author: Wayne Davison Date: Fri Nov 9 04:48:10 2007 +0000 When performing a --dry-run, output a "(DRY RUN)" reminder on the last line of the verbose summary text. M NEWS M main.c commit f153c9c9439506aac400a125f98fc3c7550b68ce Author: Wayne Davison Date: Fri Nov 9 04:32:58 2007 +0000 Mention latest changes. M NEWS commit 1b411143e517b2f7baec66e8ffbffb3ded1dd04c Author: Wayne Davison Date: Thu Nov 8 20:30:17 2007 +0000 Got rid of a compiler warning. M lib/getaddrinfo.c commit 9456434688a271d2842431530108d7a13df96aac Author: Wayne Davison Date: Thu Nov 8 14:54:58 2007 +0000 Some fixes for SCO in new getaddrinfo() code. M lib/getaddrinfo.c commit 268da8167a4d25130f2f9c6cc49c8c31362df5e9 Author: Wayne Davison Date: Thu Nov 8 01:31:58 2007 +0000 Use uint32, not uint32_t. M lib/getaddrinfo.c commit 2213961e8f53e11763a0cae400e1a3669e861763 Author: Wayne Davison Date: Thu Nov 8 01:10:34 2007 +0000 Add back a define of "struct sockaddr_storage" for systems that don't have it. M configure.in M lib/addrinfo.h commit d100e733db1c34030385e46dae47fdbf1984de60 Author: Wayne Davison Date: Thu Nov 8 00:06:48 2007 +0000 Improve the man page and --help descriptions of --dry-run. In particular, make it clear that --dry-run turns off action without turning on verbosity, and has some incomplete/inaccurate stats. M options.c M rsync.yo commit 15e4d4018491e01ea36b773aa6165a62481d6f31 Author: Wayne Davison Date: Tue Nov 6 15:32:55 2007 +0000 Tweaked an extern. M generator.c commit f7a76b9c450c05abb799e1103d90b51f9f06c0c3 Author: Wayne Davison Date: Tue Nov 6 15:25:02 2007 +0000 Some changes to allow an unsorted file list even if the iconv option was disabled via configure. M compat.c M flist.c M generator.c M hlink.c M options.c M rsync.h commit 84e1a34eaae4d222ff852fc58df44cb670345056 Author: Wayne Davison Date: Mon Nov 5 18:33:09 2007 +0000 Fixed some typos that Matt pointed out. M options.c M rsync.yo commit 41979f2518c28863a8f698c8333c4eefc1e3f7cf Author: Wayne Davison Date: Mon Nov 5 18:15:04 2007 +0000 Make sure that get_xattr_data() never tries to malloc 0 bytes. M xattrs.c commit 4b1553e2d4c6d2df6e7ae327966ccea7b0dc5ca8 Author: Wayne Davison Date: Mon Nov 5 18:15:01 2007 +0000 If the xattr data is bogus in get_rsync_acl(), free the buffer. M acls.c commit e516b69ef67822cbbde7252cdddb1217b4aa5567 Author: Wayne Davison Date: Mon Nov 5 15:02:30 2007 +0000 Fixed get_xattr_acl() -- it needed to zero *len_p. M xattrs.c commit 7df593f21f124b1907e33cc9699be2b0d8191440 Author: Wayne Davison Date: Mon Nov 5 15:02:27 2007 +0000 Got rid of a redundant mtime check. M generator.c commit cac80887a688eb0c8dc077e80a9425e41d1f15be Author: Wayne Davison Date: Sun Nov 4 06:43:01 2007 +0000 Conditional symlink-checking code in unchanged_attrs() should be checking HAVE_LUTIMES. M generator.c commit 45a143cd510865bcd6e08333df58898893c8f28d Author: Wayne Davison Date: Sat Nov 3 21:14:16 2007 +0000 Have unchanged_attrs() check the mtime on items where we can affect the time, even if unchanged_file() might have already checked it. M generator.c commit 0379c8eca1716810c06a0c8710c06d77a6256be6 Author: Wayne Davison Date: Sat Nov 3 19:27:49 2007 +0000 Make sure that the user has write permissions when opening a temp file. M syscall.c commit c9b16cdaba74c48229243fad65acadba24e56237 Author: Wayne Davison Date: Sat Nov 3 18:14:36 2007 +0000 Stop password errors from getting reported as transfer errors. M authenticate.c commit 77943e69aab7c9541513956cd4966d7fc9464f6f Author: Wayne Davison Date: Sat Nov 3 16:57:17 2007 +0000 - Renamed updating_basis -> updating_basis_or_equiv. - Set updating_basis_or_equiv if we're inplace-updating a file using the backup file as the basis. M receiver.c commit d620219dc4c15d252019ef0fd67ae57a3059621f Author: Wayne Davison Date: Sat Nov 3 16:30:30 2007 +0000 A better way to count our queued workload. M flist.c M generator.c commit c0685c05f871261a0adb66cc22b3e0d50717a648 Author: Wayne Davison Date: Sat Nov 3 15:27:14 2007 +0000 Fixed hang when --hard-links was processing a large directory hierarchy with no files. M generator.c commit b7386d23d46ea8ed1fe85dc6ec4d11d85f345a16 Author: Wayne Davison Date: Sat Nov 3 07:20:09 2007 +0000 Avoid verbose output during the forwarding of flist data (for now, at least). M rsync.c commit 17a4977befedb841fde2c4c40ed39b74c3af4ba8 Author: Wayne Davison Date: Sat Nov 3 07:20:05 2007 +0000 In mplex_write(), make extra sure something unexpected doesn't get put between the split output of a long buffer. M io.c commit 4f9b139ab9e8d46895c92865335b729f967abef2 Author: Wayne Davison Date: Fri Nov 2 20:53:04 2007 +0000 The HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF. M util.c commit 9f802c7294e11562afd0edb75b80f7a49a9fb43d Author: Wayne Davison Date: Fri Nov 2 20:52:57 2007 +0000 A new version of the getaddrinfo code from the samba source. A lib/addrinfo.h A lib/getaddrinfo.c commit 6e1fa33f6774a8668a3879aab7101775d094063a Author: Wayne Davison Date: Fri Nov 2 20:52:52 2007 +0000 Make use of the HAVE_NETDB_H define. M rsync.h commit 4021aa455bd7ffa5abebd8847370306bddf2b867 Author: Wayne Davison Date: Fri Nov 2 20:52:46 2007 +0000 Changes to handle new getaddrinfo code. M configure.in commit 6ec0f6977d7a2d1b239238ecf5d2e1223496d1f9 Author: Wayne Davison Date: Fri Nov 2 20:52:33 2007 +0000 Added AC_HAVE_TYPE(). M aclocal.m4 commit 8c702798f69802d65b34a8eb392e9a96bb5c021b Author: Wayne Davison Date: Wed Oct 31 15:01:26 2007 +0000 One more SUBPROTOCOL_VERSION increase for iconv change. M rsync.h commit 2ad3c71777c90aa65813f89e57ac6412e73b36db Author: Wayne Davison Date: Wed Oct 31 14:02:51 2007 +0000 - In --iconv mode, we can't lower the ndx_end value because dirs aren't sorted to the end. - Made output_flist() output from "files" instead of "sorted". M flist.c commit 05bd302ab67ba6158d4de7894783818531e83a06 Author: Wayne Davison Date: Wed Oct 31 05:48:56 2007 +0000 Increment the SUBPROTOCOL_VERSION. M rsync.h commit 2b4d51f2e9bc1acd302ebea6213b2d43861fd8cc Author: Wayne Davison Date: Wed Oct 31 05:48:25 2007 +0000 Set ndx_start to 1 only for an inc-recursive transfer. M flist.c commit ee279980cc82f44ec563c53789bbf5e635bef678 Author: Wayne Davison Date: Wed Oct 31 04:43:36 2007 +0000 - Handle a dot-dir-containing flist using its parent_ndx value. M generator.c commit 4e42173508ccb02a1610b40456f778ee9cecabc3 Author: Wayne Davison Date: Wed Oct 31 04:43:32 2007 +0000 - Fixed a problem with merging dot dirs with non-dot-dir args in inc-recursive mode. - Clean up a relative name to remove interior dot dirs and extra slashes. - Fixed the error output about /../ in a -R path after a /./ cut-off. - Changed the starting ndx value to 1 so that a dot-dir flist can use 0 to refer to its parent (".") directory. M flist.c commit b58bfb2f20afc8fb19bc26d307143dacf7b809db Author: Wayne Davison Date: Wed Oct 31 04:43:29 2007 +0000 Call clean_fname() with new flag arg. M exclude.c M options.c commit 6bb82fe0a84cadeaacd354e864a5b237bd734e81 Author: Wayne Davison Date: Wed Oct 31 04:43:25 2007 +0000 Changed clean_fname() to take a flag int instead of a BOOL. Added a few extra cleaning options (all off by default). M util.c commit c73f2a3831bc2f882dddd3ef2cc1eb0cb20ceeeb Author: Wayne Davison Date: Wed Oct 31 04:43:22 2007 +0000 - Define the new CFN_* flags for clean_fname(). - Changed struct relnamecache's "is_dot_dir" member to "name_type". M rsync.h commit b1eca24226d0cc47b7ad47f93ec4f726c4abf197 Author: Wayne Davison Date: Wed Oct 31 04:43:19 2007 +0000 Avoid a crash if we read an index value without a valid first_flist. M rsync.c commit 58b7b3d668bd95e7552eb285c6e1e17de2b7b233 Author: Wayne Davison Date: Wed Oct 31 00:51:48 2007 +0000 Suggest -Z as a good popt alias letter instead of -s. M rsync.yo commit ce055e863de711efc559b4909e2f71be8a093a02 Author: Wayne Davison Date: Tue Oct 30 15:00:40 2007 +0000 Mention that --keep-dirlinks can be dangerous if there are untrusted symlinks in the transfer. M rsync.yo commit 53ec55a88e932bee3f0a7ee9b95d2671602544b0 Author: Wayne Davison Date: Tue Oct 30 02:24:03 2007 +0000 Fixed --one-file-system handling when dealing with multiple user-specified mount points in inc-recursive mode. M flist.c commit 2cce75453c2961d2e17888cbc196195ae1e70f07 Author: Wayne Davison Date: Mon Oct 29 20:43:34 2007 +0000 My version of Matt's cleanup patch from bug 5051. This makes --copy-dest use a temp file when not in in-place mode, and has various improvments for the code. I have also "#if 0"ed the code in the receiver that makes missing directories to see if we can figure out if it is needed (and if so, what for). M generator.c M receiver.c M util.c commit 93204ccae21d3e623563bec7a037bb47a9e6f997 Author: Wayne Davison Date: Sun Oct 28 21:42:41 2007 +0000 Made some more char pointers const. M cleanup.c M receiver.c commit 57d617192b6c02f192c42f725c01bbe1f45756bb Author: Wayne Davison Date: Sun Oct 28 20:03:00 2007 +0000 Don't call copy_file() for a dry-run. (Thanks, Matt!) M generator.c commit ea118be593f7f487fccb091377b4227581018ee4 Author: Wayne Davison Date: Sun Oct 28 06:51:50 2007 +0000 Fixed setting of updating_basis value. M receiver.c commit 6a85ee9623f40afa976e2cbe6ced5529c509a3c7 Author: Wayne Davison Date: Sat Oct 27 05:09:06 2007 +0000 Preparing for release of 3.0.0pre4 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 5851ac2dfed01258adee729596ceed7bdfe069a4 Author: Wayne Davison Date: Sat Oct 27 04:41:18 2007 +0000 Fixed a problem with build_hash_table() getting called too often when overwriting a shorter file. M match.c commit e844a4a8a8500e6e1cbb53c2a932c2c57bc0ca9f Author: Wayne Davison Date: Sat Oct 27 02:19:49 2007 +0000 When listing a bare module name w/o -r, make sure we list the contents of the module's root directory. M clientserver.c M main.c commit 1d8638ce868edf570b1195999f57bc8516c49e5b Author: Wayne Davison Date: Sat Oct 27 00:00:21 2007 +0000 Preparing for release of 3.0.0pre3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 4c17cdcb64e3f333f141b43b3193a19eece4c8a1 Author: Wayne Davison Date: Fri Oct 26 22:11:19 2007 +0000 Chunk a really large file to avoid sender-side hash-table overload. M match.c M rsync.h commit c291d0575962774b449e405c95ae099af4dd7dc6 Author: Wayne Davison Date: Fri Oct 26 16:53:02 2007 +0000 Fixed problem with anchored filter and an absolute source path with --relative. M exclude.c commit 9520ce4b65fefc6178988d808134ad551d70cb2c Author: Wayne Davison Date: Thu Oct 25 02:05:43 2007 +0000 Mention .git/ exclude. M rsync.yo commit 0485b451ea4c80cb8012d5b4539b05146b013368 Author: Wayne Davison Date: Thu Oct 25 02:05:05 2007 +0000 Added .git/ to "CVS" excludes. M exclude.c commit 4efa11680a07d02d48fa70cc3df393ee6bd11082 Author: Wayne Davison Date: Thu Oct 25 01:40:17 2007 +0000 We need to provide iconvbufs() anytime ICONV_CONST is defined. M rsync.c commit 2f39f112c167fff30224d8f401b75a9820f1e82e Author: Wayne Davison Date: Sun Oct 21 22:30:49 2007 +0000 A few more improvements. M NEWS commit 0438c59fd00cd573e075870a6ce2ffb10e33c202 Author: Wayne Davison Date: Sun Oct 21 21:53:20 2007 +0000 Improved a description. M NEWS commit 1aa343e89c8ac63b71cff36001cbaa8ed00b11d2 Author: Wayne Davison Date: Sun Oct 21 21:52:25 2007 +0000 Make last fix even better. M hlink.c commit 5ed353a881ed9c360933c8ba8e4ca368ba8ab058 Author: Wayne Davison Date: Sun Oct 21 16:50:31 2007 +0000 Avoid dropping a hard-linked itemized output with -ii. M hlink.c commit c126e66ebdd309bd0fb36b1a0885aec46f1081bd Author: Wayne Davison Date: Sat Oct 20 06:19:01 2007 +0000 Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not defined. M flist.c commit 97bcf138be6c110438a84d791df1a6d06f768c4c Author: Wayne Davison Date: Thu Oct 18 19:47:41 2007 +0000 Improved a couple entries. M NEWS commit 37ce167996540b7971e3e966c26e0fc64a1f8dbe Author: Wayne Davison Date: Thu Oct 18 14:04:42 2007 +0000 We can't decrement the in_progress value for a hard-linked file until the generator gets a chance to finish the hard links. M generator.c M io.c commit 88a7426843ea6b8ee80ea9c986ffc554600ef4e9 Author: Wayne Davison Date: Wed Oct 17 14:15:22 2007 +0000 Typedef any missing types. M rsync.h commit a1f7c8e25020306cdda8b3f1afde829b3f89ae6d Author: Wayne Davison Date: Wed Oct 17 14:15:18 2007 +0000 Add checking for id_t, and changed some of the type checking to use the newer, recommended method. (Couldn't switch uid_t and gid_t.) M configure.in commit 52d9a554d12c14d6964843a1c154ba8e78f78b09 Author: Wayne Davison Date: Tue Oct 16 22:42:10 2007 +0000 Changed a word in an error message. M compat.c commit aabb50d4e391be5768fa76170372e28e85902f95 Author: Wayne Davison Date: Tue Oct 16 18:33:47 2007 +0000 Tweaked set_allow_inc_recurse() a bit more. M compat.c commit 03646b49105f5a7c885b57a6978da544504cf6a1 Author: Wayne Davison Date: Tue Oct 16 16:19:40 2007 +0000 The start of some updated "thanks". M rsync.yo commit 11b02d927f2d809aeade01768b16b690220c1049 Author: Wayne Davison Date: Tue Oct 16 16:00:41 2007 +0000 Adding Wesley Terpstra's lchmod()-equivalent that uses setattrlist(). M syscall.c commit 5cefa088e21d994d6721e5edbd529f9aee61caa8 Author: Wayne Davison Date: Tue Oct 16 16:00:34 2007 +0000 We now report symlink mode changes if HAVE_SETATTRLIST is defined. M generator.c commit 2e4e03f196c61a692d95b0a320c7cf0fa51e1e76 Author: Wayne Davison Date: Tue Oct 16 16:00:31 2007 +0000 Added checks for setattrlist and sys/attr.h. M configure.in commit ea4e8cf8a19ef194eece2c4473b1b5017316f035 Author: Wayne Davison Date: Tue Oct 16 15:10:17 2007 +0000 Call set_allow_inc_recurse() for situations that don't call server_options(). M main.c commit 95def6d957131340ee797f010a4455b110dbde2a Author: Wayne Davison Date: Tue Oct 16 15:10:12 2007 +0000 - Send an 'i' in the -e arg to the server if we can support inc_recurse. - Got rid of some unneeded blocking_io value twiddling. - Send --use-qsort to the server if it was specified. M options.c commit 9970bed4d99f70dab4676ae92dab104a70aae56c Author: Wayne Davison Date: Tue Oct 16 15:10:09 2007 +0000 - Moved the arg-checking relating into set_allow_inc_recurse() and call it when the server is in setup_protocol(). The function sets allow_inc_recurse to 0 if some options won't allow us to support an incremental-recursive transfer. - The server now checks for an 'i' in the -e option from the client and zeros out allow_inc_recurse if not found. - The server reports its inc_recurse determination back to the client. - The client sets inc_recurse based on the value it gets from the server. M compat.c commit 494d049ce17d3b210ce4503ae3034c6d83532b94 Author: Wayne Davison Date: Tue Oct 16 15:10:05 2007 +0000 Incremented the SUBPROTOCOL_VERSION. M rsync.h commit 6a385e3b7e16f5af258eecec708aa3450be15bd5 Author: Wayne Davison Date: Tue Oct 16 04:08:25 2007 +0000 We don't need to send --no-i-r anymore. M options.c commit 71456d301f8b28bab6fd29106ea4bb15c945a7d7 Author: Wayne Davison Date: Tue Oct 16 04:08:21 2007 +0000 Write out the inc_recurse flag into a protocol-30 batch file. M io.c commit dbd697b5780f8ec2f5e8615799ed0be921694f32 Author: Wayne Davison Date: Tue Oct 16 04:08:18 2007 +0000 - Send a flag from the client to the server to indicate if the protocol is going to run in inc_recurse mode or not. - Verify that the options we received (as a server or as a batch-reader) are compatible with the requested inc_recurse mode. M compat.c commit 5ca70927bea19aff939445bf78ed4d871bb04f7c Author: Wayne Davison Date: Tue Oct 16 04:08:14 2007 +0000 Incremented the SUBPROTOCOL_VERSION. M rsync.h commit 2e52ba36cb91c04eb37544f2205286db700ff730 Author: Wayne Davison Date: Mon Oct 15 00:16:12 2007 +0000 Added braces to an empty "if" (to avoid any complaints from a compiler that likes to point out an "if (...)" with a semicolon after it). M rsync.c commit fd78520dcad9247170341ae0f874085c8adaf219 Author: Wayne Davison Date: Mon Oct 15 00:13:59 2007 +0000 If there's no lchmod(), don't itemize permission differences for symlinks. M generator.c commit 3f655ca08d1d59d274978d99da18e8cc691db6b3 Author: Wayne Davison Date: Sun Oct 14 21:20:31 2007 +0000 If the user told us to use a password file and we used it, there's no need to comment if a RSYNC_PASSWORD environment variable is set. M authenticate.c commit 76edd334986a89d760262bd7784f59800f8de200 Author: Wayne Davison Date: Sun Oct 14 18:55:49 2007 +0000 Fixed a typo in a comment. M generator.c commit e5f35681e6f88d1b716b19ff7c9c77991207df08 Author: Wayne Davison Date: Sat Oct 13 05:23:34 2007 +0000 Forward MSG_IO_ERROR to the generator so that it can disable deletions. M io.c commit 32b9011ae97cb4be9dbd6d1991a9b633b64ce6a0 Author: Wayne Davison Date: Sat Oct 13 04:32:53 2007 +0000 Improvements surrounding --list-only and --dirs. M rsync.yo commit fdad5aad3f7ba4f8ddd9ecd1053e861d107ca0b4 Author: Wayne Davison Date: Fri Oct 12 14:08:19 2007 +0000 Get the version # right in the changelog. M packaging/release-rsync commit 90ac152deb12c67e0327b4f3374fe5b6a8c130a4 Author: Wayne Davison Date: Fri Oct 12 14:04:29 2007 +0000 Modify the changelog section in the .spec file for each release. M packaging/release-rsync commit e9df0a6242450d6f16c3d0030ff1fe27a3ec6182 Author: Wayne Davison Date: Fri Oct 12 14:04:00 2007 +0000 Fixed the day of the week. M packaging/lsb/rsync.spec commit 4cf94b8a01400d21cd0b1a22db7789ba84908775 Author: Wayne Davison Date: Fri Oct 12 13:57:37 2007 +0000 Improved the summary, the description, and the changelog. M packaging/lsb/rsync.spec commit a6fa5bdef32186778079753687219cdbc5e9f9bb Author: Wayne Davison Date: Fri Oct 12 13:57:15 2007 +0000 Improved the initial description summary. M rsync.yo commit 8f61dfdbd46da5c54816193e0e841e7b672dccdf Author: Wayne Davison Date: Fri Oct 12 01:21:02 2007 +0000 One more tweak to the synopsis. M rsync.yo commit ddf8c2b0b215a97de07fc8afadc7a7742a50ee1f Author: Wayne Davison Date: Fri Oct 12 01:12:05 2007 +0000 Improvements suggested by Matt's improved manpage. M rsync.yo commit 44ae628c59f0b8e8fb9c2cba42242c5fb0b3c5d7 Author: Wayne Davison Date: Fri Oct 12 00:09:19 2007 +0000 Preparing for release of 3.0.0pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 44a7ba4587a645c7f4a8f4ed4f7de9b83605a49e Author: Wayne Davison Date: Fri Oct 12 00:07:28 2007 +0000 Tweaked a couple minor things. M NEWS commit 44c4492acfc8ff6c48b5848c2a34acd6be50dddb Author: Wayne Davison Date: Wed Oct 10 19:24:35 2007 +0000 Conditionalize the call to setup_iconv(). M main.c M pipe.c commit 609e6dda6b3e3f7fa8cee01fdd0d79b670b7cd10 Author: Wayne Davison Date: Mon Oct 8 18:02:11 2007 +0000 - Use the new *_CONTENT_DIR flag names (was *_XFER_DIR). - Check the FLAG_IMPLIED_DIR flag to find implied dirs. - Expect flagged implied dirs for all protocol 30 transfers. M generator.c commit 3f30927214317034727e11218aff0bd6d686bdf5 Author: Wayne Davison Date: Mon Oct 8 18:02:07 2007 +0000 - Mark implied dirs with FLAG_IMPLIED_DIR. - Use the new *_CONTENT_DIR flag names (was *_XFER_DIR). - Send implied dirs with XMIT_TOP_DIR | XMIT_NO_CONTENT_DIR. - All protocol 30 transfers send flagged implied dirs. M flist.c commit ae11e4ee2da26d2ce5421d057357f314ba28a52c Author: Wayne Davison Date: Mon Oct 8 18:02:03 2007 +0000 - Added a flag for implied dirs: FLAG_IMPLIED_DIR. - Changed the *_XFER_DIR flags to *_CONTENT_DIR flags. - Increment SUBPROTOCOL_VERSION. M rsync.h commit b61665d5b61cfc322579028b4b54438d8b80ac91 Author: Wayne Davison Date: Sun Oct 7 20:43:49 2007 +0000 Reposition the call to setup_iconv() so that it gets called only once is a local_server copy, and so that arg-parsing code doesn't interfere with the sending of a remote charset value. M main.c M options.c M pipe.c commit 38943d29d32dab09eb2eb952fedbf4d319ffa13b Author: Wayne Davison Date: Sun Oct 7 07:18:49 2007 +0000 Improved on the list-only fix and on the other similar checks that want to ignore implied dirs that are actually present in the file list when inc_recurse is active and --no-implied-dirs was specified. M generator.c commit ff0284ddc4bd7a1942033665e3d1dfa1ac4df4ff Author: Wayne Davison Date: Sun Oct 7 07:18:45 2007 +0000 - Simplified the code in recv_file_entry() for protocol 30. - Simplified the flag setting in send1extra since we know that recurse is set. - Make sure that FLAG_XFER_DIR is unset for a non-dot-dir when recurse is not set. - The --relative code wasn't setting is_dot_dir enough. M flist.c commit 3f65576881adfd20abea9cdab2b43f9e90a582df Author: Wayne Davison Date: Sun Oct 7 04:04:57 2007 +0000 Mention how --list-only w/o -r now abandons an old kluge. M NEWS commit 3caf40356dd9d2c32349cbe30dfdae8056d91440 Author: Wayne Davison Date: Sun Oct 7 03:52:28 2007 +0000 We now send -d to the server for a list-only transfer w/o -r (rather than sending -r with a kluged exclude). M options.c commit 26bbb6aa4b1ebce2b2d0f925deb53ab294c5fe71 Author: Wayne Davison Date: Sun Oct 7 03:52:24 2007 +0000 Set xfer_dirs when we set list_only. M main.c commit bf66c2da1438f2b6c5467912bd24dbf3431c9843 Author: Wayne Davison Date: Sun Oct 7 03:52:20 2007 +0000 Got rid of some old exclude trickery for --list-only w/o -r. M exclude.c commit 65f6b6b0ef8684bfe7d0ab018ae10a19ddfb1d23 Author: Wayne Davison Date: Sun Oct 7 03:52:17 2007 +0000 Got rid of a useless list_only tweak. M clientserver.c commit 983f647c7ea28f1beda1b38fe7ee885a19d2d5d5 Author: Wayne Davison Date: Sun Oct 7 03:29:04 2007 +0000 Fix list-only output of dirs w/--relative but w/o --recursive. M generator.c commit 14dfad3873691b5ea9fe0170d9c7f6f5c9ea3179 Author: Wayne Davison Date: Fri Oct 5 20:47:18 2007 +0000 A couple tweaks to the AIX ACL code. M lib/sysacls.c commit 215465713b5b9df1da371c5a871af6a67ecdc0c6 Author: Wayne Davison Date: Fri Oct 5 20:40:36 2007 +0000 Make sure ICONV_OPTION is unset if we didn't find iconv_open() and iconv.h. M rsync.h commit 6be5ac61bd2b4d4bdb77c26d3e8e2729a2433668 Author: Wayne Davison Date: Fri Oct 5 02:45:09 2007 +0000 Simplified a SMB_ACL_NEED_SORT conditional because some preprocessors couldn't handle an #if embedded in a macro. M acls.c commit 90c71caeb3c0132e8ce0213c7a4fc2e69acdc926 Author: Wayne Davison Date: Fri Oct 5 02:30:39 2007 +0000 The hpux_count_obj() function should have been declared with a void return type. M lib/sysacls.c commit d46b5646c65fa9bb0952de104ecc89a2ddadbe76 Author: Wayne Davison Date: Fri Oct 5 02:22:51 2007 +0000 A few more improvements and some reshuffling. M NEWS commit da564b51a16259cfc22123ee5134fd7e6398ca1e Author: Wayne Davison Date: Fri Oct 5 00:45:13 2007 +0000 Preparing for release of 3.0.0pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit f89617f7f23605ea4177489f406d6333faa9a510 Author: Wayne Davison Date: Fri Oct 5 00:41:38 2007 +0000 One more tweak. M NEWS commit 0f8984ed7822bf3e848c385098465a4a750df3ae Author: Wayne Davison Date: Mon Oct 1 06:13:16 2007 +0000 The latest changes. M NEWS commit 306847ea67dfcb4b7c24b259be37551e37a97593 Author: Wayne Davison Date: Mon Oct 1 02:32:54 2007 +0000 Mention that we abort if the pid file exists. M rsyncd.conf.yo commit d4eba300c9ca263b8d849644ea5d729170e7d49d Author: Wayne Davison Date: Mon Oct 1 02:25:58 2007 +0000 The lp_load() function doesn't fudge the pszFname arg anymore. M loadparm.c commit dd589118d0108f78e33ad302df0bc316ce84bf4a Author: Wayne Davison Date: Mon Oct 1 02:25:54 2007 +0000 - Set config_file to a default filename if it is NULL. - Changed create_pid_file() to fail if the pidfile already exists, which makes the daemon exit with an error. - Output errors about a failure to open the config file or the lock file to (a still open) stderr. - We now notice (and complain) if fork() fails. M clientserver.c commit f92e15efd5eb09f10d28b30728540686c85c86aa Author: Wayne Davison Date: Sun Sep 30 07:46:28 2007 +0000 Mention the latest way to specify multiple remote args. M rsync.yo commit 4f3c1df6c3c0e2ed96518a593d49766182873545 Author: Wayne Davison Date: Sun Sep 30 07:34:33 2007 +0000 Made list more complete. M NEWS commit eb8f5c74e1c0711a557fd9ce9bd411500ff997d6 Author: Wayne Davison Date: Sun Sep 30 07:30:48 2007 +0000 Got rid of some SPACE-TAB sequencs in the indentation. M chmod.c M options.c commit a960239f392402581eea6aaeaa49da96e46247bf Author: Wayne Davison Date: Sun Sep 30 07:14:16 2007 +0000 Allow additional remote args to contain an identical hostname instead of requiring it to be empty. This allows for the easy use of braces: rsync -av host:file{1,2} /dest/ M main.c commit 5621e5105a31ea4b5a5ed17d73433c134ae8e048 Author: Wayne Davison Date: Sun Sep 30 06:57:12 2007 +0000 Moved become_daemon() into clientserver.c. M socket.c commit a1d2685b08312addc2c6bf772c6f4dd801629a4a Author: Wayne Davison Date: Sun Sep 30 06:57:07 2007 +0000 - Moved become_daemon() here from socket.c and made it static. - Call lp_load() before we call become_daemon(). - Output an error to stderr if we fail to open/parse the config file. - Added a create_pid_file() static function and call it earlier in the startup sequence. M clientserver.c commit 0f6b4909dbe592bf05f17db7772e835cff2f5839 Author: Wayne Davison Date: Sat Sep 29 17:01:01 2007 +0000 Improved --acls, --xattrs, and --fake-super. M rsync.yo commit b0ca7d25007c80fdc996ca38fb01d3b2796dcdb0 Author: Wayne Davison Date: Sat Sep 29 16:06:40 2007 +0000 Specify a better SMB_ACL_VALID_NAME_BITS value for OS X. M lib/sysacls.h commit 7ed6bc53b90ddfe262b9df467b147750a0e822e0 Author: Wayne Davison Date: Sat Sep 29 16:06:37 2007 +0000 Added get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl(). M xattrs.c commit f57ab2f71889ca2e0f3f6c2c784e7ff76db20db0 Author: Wayne Davison Date: Sat Sep 29 16:06:34 2007 +0000 When running with --fake-super, get/put ACLs from/to an xattr and don't range-check the incoming values. M acls.c commit 5ebb7935d2ec33cd59bc0e2a68303cd729b154b9 Author: Wayne Davison Date: Sat Sep 29 04:35:26 2007 +0000 Tweaked a variable name. M lib/sysacls.c commit c50a9076e120e1600823cc8e901dbefd89f1f5d7 Author: Wayne Davison Date: Sat Sep 29 02:26:23 2007 +0000 Added support for OS X testing using chmod +a and ls. M testsuite/acls.test commit d417c51669be357fc2795eddfb0685c63ee1d630 Author: Wayne Davison Date: Fri Sep 28 21:54:11 2007 +0000 - Added OS X ACL support. - Simplified some of the ge/set calling sequences. - Got rid of SMB_ACL_PERMSET_T. M lib/sysacls.c M lib/sysacls.h commit 5b934f5133cee8adea717e2ffff2b6358d96b519 Author: Wayne Davison Date: Fri Sep 28 21:54:07 2007 +0000 Added OS X ACL support, using slightly tweaked sys_acl_*() functions. M acls.c commit 49ea69b3ffb96853c3c08eb857f9b8c736cb870d Author: Wayne Davison Date: Fri Sep 28 21:54:01 2007 +0000 We enable ACL compilation on OS X by default now. M configure.in commit 578219bed56bdd6af9bd59497f0954b6d000484c Author: Wayne Davison Date: Wed Sep 26 17:43:57 2007 +0000 Determine the previous version number in a more reasonable fashion. M packaging/release-rsync commit 2e4a3d17b45e168c565a25f694fd73d3079ed8b0 Author: Wayne Davison Date: Wed Sep 26 14:57:52 2007 +0000 Some improvements and fixes for the upcoming release. M packaging/release-rsync commit b4b24520f6a336a006c69b4680c0ccfecb00254c Author: Wayne Davison Date: Sun Sep 23 22:31:14 2007 +0000 Added (conditional) include of stdint.h. M rsync.h commit 13710874ce907cd9405f83814cbebbe73f884e2e Author: Wayne Davison Date: Sun Sep 23 22:19:55 2007 +0000 Changed "statx" to "stat_x" to try to work around a build problem on AIX. M acls.c M backup.c M flist.c M generator.c M hlink.c M rsync.c M rsync.h M xattrs.c commit 7341ee2dfd0c183d7c3878f511cebcd57003c173 Author: Wayne Davison Date: Sun Sep 23 21:54:03 2007 +0000 Fixed a crash bug in get_local_name() when the file list is empty. M main.c commit e0cfd15bcc96696206480cf48471bf08b9b45053 Author: Wayne Davison Date: Sun Sep 23 21:46:51 2007 +0000 Fixed a glitch in the sending of mount-point dirs in inc_recurse mode. M flist.c commit 5a473548827c34298f65325c24da4a92a803fd88 Author: Wayne Davison Date: Sun Sep 23 21:05:15 2007 +0000 Added a stub function for make_bak_dir(). M t_stub.c commit f5b532b14424b5ecaebcd1edb25b257bc812ef0b Author: Wayne Davison Date: Sun Sep 23 21:03:46 2007 +0000 Added an option to copy_file() that tells it to try to make a backup directory if the open of the dest file fails. M util.c commit c0dba635ba9d2cf29e39b9363cecc277974d62bb Author: Wayne Davison Date: Sun Sep 23 21:03:41 2007 +0000 The --inplace code now properly handles creating a backup when the --whole-file and/or --read-batch options are specified. M generator.c commit e1ac7791fefaf2489d35d6e37707cc7573cade4d Author: Wayne Davison Date: Sun Sep 23 21:03:38 2007 +0000 Changed make_bak_dir() to take a const char *. M backup.c commit 5b3f6a273056a22d4d87ea36e108506e854100ed Author: Wayne Davison Date: Sun Sep 23 19:45:22 2007 +0000 Use make_bak_dir() if we get ENOENT while trying to open an inplace backup file. M generator.c commit f20326688977f5281be2268e40c14733124113de Author: Wayne Davison Date: Sun Sep 23 19:45:19 2007 +0000 Made make_bak_dir() global. M backup.c commit 21914d8135f94b1a1bc1bda085ab8ba0249f8bc9 Author: Wayne Davison Date: Sun Sep 23 19:45:00 2007 +0000 Made clean_flist() only duplicate *_DIR_* flags on a dropped dir when the kept entry is also a dir. M flist.c commit 200aec7db479a3275f08c80af987375c95c8d8cc Author: Wayne Davison Date: Sun Sep 23 19:10:10 2007 +0000 Avoid a checker warning about unfreed memory. M options.c commit a15c4b38b53152c498ef3b676fb629b43bd7060d Author: Wayne Davison Date: Sun Sep 23 16:02:33 2007 +0000 Fix a glitch in the handling of the last path element in a -R path with a trailing slash. M flist.c commit 40e383765a972e4cbfc4d0091f472542e04e453c Author: Wayne Davison Date: Sun Sep 23 15:46:11 2007 +0000 - Don't allow -x to drop implied directories. - Improved the code that tries to avoid scanning the same dir twice in a row to not drop any relnamecache entries. M flist.c commit 544108829843565858514f79cf62e7b9f54f9147 Author: Wayne Davison Date: Sun Sep 23 14:35:12 2007 +0000 Added the relnamecache structure and improved some variable names. M flist.c M rsync.h commit d0a6cdb62ed2f62373bbbc95894e123b647f54f2 Author: Wayne Davison Date: Sun Sep 23 02:18:57 2007 +0000 Make sure that the dirs we are merging have the same timestamps. M testsuite/relative.test commit 19531e1f7444358c7c99726dfac6088b6df69b1e Author: Wayne Davison Date: Sun Sep 23 02:03:20 2007 +0000 Got rid of some unneeded externs. M acls.c M clientserver.c M compat.c M io.c commit 6f0805f564a5f11e7e93d0b74ee907641c748d5b Author: Wayne Davison Date: Sun Sep 23 02:00:53 2007 +0000 Moved list-only output from flist.c to generator.c so that it works properly even in inc_recurse mode. Got rid of double output, weird output order, and outputting of implied dirs w/--no-implied-dirs. M flist.c M generator.c commit 6191429b509f0bb055a27f44a30b6b0711c4a82d Author: Wayne Davison Date: Sun Sep 23 01:18:03 2007 +0000 Added a missing "void" to the arg-spec of setup_iconv(). M rsync.c commit 89b76bac1fa51103993b10ed65c0860e58dfb6b2 Author: Wayne Davison Date: Sun Sep 23 00:30:40 2007 +0000 Added a test to make sure that merging relative items continues to work right. M testsuite/relative.test commit 0758b2db30c73bee9c21d4ae75ff3d6f9131f7b5 Author: Wayne Davison Date: Sat Sep 22 22:57:50 2007 +0000 Document the change to how --releative works. M rsync.yo commit 74db1f1498083aeb5b338f775b147ae6764f56f3 Author: Wayne Davison Date: Sat Sep 22 22:37:52 2007 +0000 Always send implied dirs as dirs. M flist.c commit 4f802c66370f222359ffb8571d5d57b512fb1789 Author: Wayne Davison Date: Sat Sep 22 21:51:08 2007 +0000 Fixed a just-introduced glitch in directory creation with --no-implied-dirs. M generator.c commit 33a04593ee76204d277574bd34c352df2fbd4e42 Author: Wayne Davison Date: Sat Sep 22 21:43:19 2007 +0000 We now forward the --no-implied-dirs option to the receiving side, just in case we end up talking protocol 30 in inc_recurse mode. M options.c commit 6303f9a25f96eb5a4af395f76e1577ad0d502770 Author: Wayne Davison Date: Sat Sep 22 21:43:15 2007 +0000 The latest --relative --no-implied-dirs code in inc_recurse mode sends us a normal sequence of dirs, and we just skip the implied ones. M generator.c commit 3932c423732eefb0ba9035c6467e757e8a484728 Author: Wayne Davison Date: Sat Sep 22 21:43:11 2007 +0000 Using relative with incremental recursion now results in a normal sequence of directories in the hierarchy, and works properly when merging things from multiple sources. M flist.c commit bc5df0f4e671fb9b0d0829032e433fafb061aa41 Author: Wayne Davison Date: Sat Sep 22 21:43:08 2007 +0000 Fixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN). M compat.c commit 4b163f00c236384a3e0f566729c1a79269450fea Author: Wayne Davison Date: Sat Sep 22 21:43:05 2007 +0000 - Incremented the SUBPROTOCOL_VERSION to 9. - Fixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN). - Added F_DIR_RELS_P() to support --relative in inc_recurse mode. M rsync.h commit f07992739a8814175bbff4912a15324b8e38fdea Author: Wayne Davison Date: Sat Sep 22 18:07:44 2007 +0000 Added ifuncs.h. M Makefile.in commit c605c2cdbd08c9f573bd4f0a0812643aa84979d7 Author: Wayne Davison Date: Sat Sep 22 18:07:17 2007 +0000 Tweaked opening comments. M ifuncs.h commit 1b42f628f495ff0cdaa8a7c219d8ce33192281fe Author: Wayne Davison Date: Sat Sep 22 16:52:58 2007 +0000 Moved inline functions from rsync.h into ifuncs.h. M clientserver.c M flist.c M io.c M loadparm.c M log.c M main.c M mkrounding.c M options.c M params.c M rsync.c M rsync.h M socket.c M tls.c M token.c M util.c M xattrs.c commit 5dafe360de093f1f5af5c6232e3c2adb20bac027 Author: Wayne Davison Date: Sat Sep 22 16:46:49 2007 +0000 Moving inline functions into its own .h file. A ifuncs.h commit 6619d5fcc10fe764e46b541d0dbfcb42d63c820e Author: Wayne Davison Date: Sat Sep 22 14:18:32 2007 +0000 Added some stub functions for compilers not smart enough to get rid of static inline functions that are not called. M tls.c commit b960483e999add21bdf3467d5c96955e515c29b4 Author: Wayne Davison Date: Sat Sep 22 14:16:48 2007 +0000 Avoid affecting the proto.h file. M mkrounding.c commit dd4a039515e3f14c62beffc23081de5dead98382 Author: Wayne Davison Date: Tue Sep 18 19:53:50 2007 +0000 Added some stub functions for compilers not smart enough to get rid of static inline functions that are not called. M mkrounding.c commit 229554084d9b1ff4e9b3b7600224bf3af8178c3c Author: Wayne Davison Date: Tue Sep 18 18:46:03 2007 +0000 Added missing "#ifdef ICONV_OPTION" conditionals. M flist.c M io.c commit 4a1edb63dd28c8b347d1a99551232dd8a13475e7 Author: Wayne Davison Date: Tue Sep 18 18:45:59 2007 +0000 If iconv_t isn't needed, define it as an "int" so that our proto.h file can be parsed. M rsync.h commit 3170b20967cde5323ba53fd1f9d0ffe243ff082c Author: Wayne Davison Date: Tue Sep 18 14:18:45 2007 +0000 Mention that a negative max-connections value disables the module. M rsyncd.conf.yo commit d34cd639fc5e5dcf866bd209a993ce13c6c45ca3 Author: Wayne Davison Date: Tue Sep 18 14:14:22 2007 +0000 If max-connections is < 0, disable the module. M connection.c commit 236df01b15447f5c72b15c2d45496e2ec73cf951 Author: Wayne Davison Date: Tue Sep 18 14:11:25 2007 +0000 One final tweak. M connection.c commit 21cafc50cc4d10b42f6e81963171ab0cdacec2f6 Author: Wayne Davison Date: Tue Sep 18 14:09:38 2007 +0000 Some minor improvements in claim_connection(). M connection.c commit de80679b6751427a875bc42af6d05f03c007d56a Author: Wayne Davison Date: Tue Sep 18 14:04:46 2007 +0000 Switching to --no-i-r from --no-ir. M options.c commit 27999abab48979c7306a1c335f8e264c6c200457 Author: Wayne Davison Date: Tue Sep 18 14:03:41 2007 +0000 Document the changed name of --no-i-r. M rsync.yo commit 82f37486a1a869609c09457853c4d80f54a65317 Author: Wayne Davison Date: Tue Sep 18 01:29:36 2007 +0000 Mention the --protect-args (-s) option and how it interacts with --iconv and --files-from. M rsync.yo commit 7820fa949fbfdb61f5987acfd191538c74d46255 Author: Wayne Davison Date: Tue Sep 18 01:14:33 2007 +0000 Relocated the setting of ic_ndx. M compat.c commit 2ac9793064573cee6d8530906124e61ef0092378 Author: Wayne Davison Date: Tue Sep 18 01:11:57 2007 +0000 - Added new iconvbufs() conversion function that is now used for our --iconv support. - Moved the setup of the ic_ndx value to compat.c. M rsync.c commit a4453606ccf4aa3853588af2883d77d4e4df81bc Author: Wayne Davison Date: Tue Sep 18 01:11:54 2007 +0000 - Improved -s support. - Handle setup_iconv() call in parse_arguments() so it gets set early. M options.c commit 71605b0f4d554c06e0e4ee1f3180adbdb02d441d Author: Wayne Davison Date: Tue Sep 18 01:11:49 2007 +0000 - Make use of new iconvbufs() function. - Convert protected args when -s and --iconv are active. - Simplified the splitting of args between normal and protected. - Relocated setup_iconv() call so that it takes effect earlier. M main.c commit ba525f770c3133683c894ac08f13286a97ab4315 Author: Wayne Davison Date: Tue Sep 18 01:11:45 2007 +0000 - Make use of new iconvbufs() function. - Convert remote --files-from filenames when -s and --iconv are active. M io.c commit 2509753fd39168002d3f30a3e6fa882108f9e8af Author: Wayne Davison Date: Tue Sep 18 01:11:42 2007 +0000 Make use of new iconvbufs() function. M flist.c M log.c commit 5688c74d25002c82091b0b558b3bbea2c2b45614 Author: Wayne Davison Date: Tue Sep 18 01:11:35 2007 +0000 - Setup the ic_ndx value here with the other FOO_ndx values. - Don't disable inc_recurse due to --no-implied-dirs. - Set filesfrom_convert bool. M compat.c commit 2ac081ff60fb63bb3872953c3a3487940edd51ce Author: Wayne Davison Date: Tue Sep 18 01:11:32 2007 +0000 - Added an xbuf type for use in the --iconv and --files-from code. - Incremented the SUBPROTOCOL_VERSION. M rsync.h commit 5d3e5f641d11b48426470c1f5e92cae31f1cea6f Author: Wayne Davison Date: Mon Sep 17 06:02:09 2007 +0000 Improved -s and support cvs's -e30.8 version idiom. M support/cull_options M support/rrsync commit a0f29ed824ff6fdae0d49826bf6bd810e3bca88a Author: Wayne Davison Date: Mon Sep 17 01:45:44 2007 +0000 Make sure that the hashed hard-link numbers from different file lists can't overlap in inc_recurse mode. M flist.c commit 0b515981fcfb4ba60d6f01ab604d11e13b85e48f Author: Wayne Davison Date: Sun Sep 16 21:41:42 2007 +0000 Changed print_child_argv() to take its prefix message as an arg. M clientserver.c M pipe.c M util.c commit 2e8259bb0bc5ffe64df9075ef8f1e8050caf951c Author: Wayne Davison Date: Sun Sep 16 02:42:55 2007 +0000 Disable -s by default. M support/cull_options M support/rrsync commit d2745243172544475e1bb337e798229411a5f52f Author: Wayne Davison Date: Sat Sep 15 21:10:35 2007 +0000 Adding knowledge of some new options. M support/rrsync commit 71845bd2a07eef21074e9f1907d0ba952dafd310 Author: Wayne Davison Date: Sat Sep 15 21:10:18 2007 +0000 That should have been -s. M support/cull_options commit bdd53557a8b7f84e6e4f658bce709d184985200e Author: Wayne Davison Date: Sat Sep 15 21:08:08 2007 +0000 Force knowledge the -p option, since it gets passed specially. M support/cull_options commit d6ca255c213b377540242cc9f7f8b10a9c317dd9 Author: Wayne Davison Date: Sat Sep 15 20:54:31 2007 +0000 - Fixed a bug in the passing of the --max-delete option. - Added --no-i-d as a shorter no-implied-dirs. - Changing to --no-i-r instead of --no-ir. M options.c commit 2dc7b91dd240db5de85d0f9e189d7293db19cae0 Author: Wayne Davison Date: Sat Sep 15 19:58:15 2007 +0000 Handle inheritance of SGID bit on dirs marked with FLAG_DIR_CREATED. M rsync.c commit 288b12eefe6c342551c0c1c5da93ac5bbbd0fed2 Author: Wayne Davison Date: Sat Sep 15 19:58:12 2007 +0000 We set FLAG_DIR_CREATED on a dot dir that got created by get_local_name() rather than using the (now removed) new_root_dir global. M main.c commit f7d6dce6c8be8f1afd15815c6b59896624eb965d Author: Wayne Davison Date: Sat Sep 15 19:58:09 2007 +0000 - Fixed an inc_recurse problem with implied dirs not getting created with the right attributes and getting omitted from the output. - Got rid of the directory touch-up pass in inc_recurse mode again. This requires us to create any missing directories early, but we still report on what happened in the normal course of the transfer sequence. - Use the FLAG_DIR_CREATED flag instead of (the removed) new_root_dir global. M generator.c commit 48a481c4d0762c040b8e2bd289c08f56948bb70e Author: Wayne Davison Date: Sat Sep 15 18:43:36 2007 +0000 Changed FLAG_DIR_CHANGED to FLAG_DIR_CREATED. M rsync.h commit 8db8eacbdd1e79cf92e189598cff04dd862d0dfb Author: Wayne Davison Date: Sat Sep 15 17:29:25 2007 +0000 - If two duplicate directories have identical outside-the-transfer paths, we only scan one of them in inc_recurse mode. - When unduplicating directories in inc_recurse mode, dump the ealier directory if it is implied. M flist.c commit e8e9e12c3ad227cb876680dd80de738cd5e376f9 Author: Wayne Davison Date: Sat Sep 15 17:00:41 2007 +0000 Reverting last change for a re-think. M flist.c commit 6e6daf5ac6a4c5a5652dc61c9159143096faca22 Author: Wayne Davison Date: Sat Sep 15 16:32:38 2007 +0000 Fixed a problem with duplicate dirs being unduplicated in the list: in inc_recurse mode, we must keep the last dir of the duplicates. M flist.c commit e73eed8563d21ef9ce83725cb09a3c2e14a40dbe Author: Wayne Davison Date: Sat Sep 15 15:50:59 2007 +0000 Added more local-network IPs to the "hosts allow" rsyncd config so that the FreeBSD machine in the compile farm can test. M testsuite/rsync.fns commit da1319128ac3e8d563a6959e82e471e8f5544a83 Author: Wayne Davison Date: Sat Sep 15 15:40:57 2007 +0000 - Parse hard-link info as soon as we get it in inc_recurse mode. - Improve the chances of the generator finding a match for a hard-link file in inc_recurse mode. M generator.c M io.c M main.c commit f2179fd37063a37bea9b9b259c412a8d10a8fa62 Author: Wayne Davison Date: Sat Sep 15 15:36:04 2007 +0000 The server should not wait around for an extra end-of-run message. M io.c commit 969cdffbeaaa32e4ef2ef90862b46f686856b042 Author: Wayne Davison Date: Sat Sep 15 15:30:45 2007 +0000 Prevent a server from outputting an end-of-run message about its error-code that cannot be sent successfully. M cleanup.c M log.c commit 3b7bcaaf3477be6a50fde54e06b80c9a5e698bd9 Author: Wayne Davison Date: Sat Sep 15 15:27:56 2007 +0000 Got rid of duplicate error when push_pathname() fails. M flist.c commit 4abe379c053f78a4f16ab80afa75a0f9be3b319b Author: Wayne Davison Date: Mon Sep 10 06:15:28 2007 +0000 Added an "ndx" arg to all the finish_hard_link() calls. M generator.c commit c980db5f083583cfa95a08d1bf3471762ec85cd9 Author: Wayne Davison Date: Mon Sep 10 06:15:25 2007 +0000 - Simplified the flist-spanning gnum logic in match_gnums(). - Don't use hlink_flist in hard_link_check(). - Made the prev_name logic in hard_link_check() better. - Added an "ndx" arg to the finish_hard_link() call. Also, set the prev value of any prior entries to the first finished item (which ensures that any item that follows a re-shuffled item (which was waiting for a transferred file to finish) can find the FIRST+DONE item. M hlink.c commit c35d6e3522d1c756f63fe911b4ad9fddbdf66d95 Author: Wayne Davison Date: Sun Sep 9 07:58:19 2007 +0000 Added --no-protect-args and --no-s. M options.c commit 044dc293071c635129afdedad63f30c2d49cd942 Author: Wayne Davison Date: Sun Sep 9 07:53:22 2007 +0000 - Made glob_expand_one() public. - Tweaking the calling syntax for glob_expand(). M util.c commit 7a4addaa744a9e2a99dc586a92c5ef9faac3fab9 Author: Wayne Davison Date: Sun Sep 9 07:53:18 2007 +0000 Added the --protect-args (-s) option, and made parse_arguments() clear out an old popt context before starting a new one. M options.c commit f7e5068d94b5de8f568cb835654dc83a31695ddf Author: Wayne Davison Date: Sun Sep 9 07:53:15 2007 +0000 - If the user specifies a source arg with a hostspec in it in a local- source transer, complain and exit. This can help to find option problems were an arg to an option turns into a local-source arg, and the real remote-source arg will now get rejected rather than attempting to find a file with a colon in its name. - We now support the ability to specify more than one remote arg using the ":FILENAME" idiom for additional remote filenames. - If the --protect-args (-s) option was specified, we send just the "--server -s" options to the remote rsync when it is starting, and then the real args are sent over the socket. M main.c commit 67b8f3dfe7d2ae0aa31ece00242e990ed8e256a4 Author: Wayne Davison Date: Sun Sep 9 07:53:12 2007 +0000 - Renamed read_line() to be read_line_old(). - Renamed read_filesfrom_line() to read_line() and added args to allow the caller to control how it works. - Added a new function, read_args(), that reads args from a file descriptor (using read_line()) and expands any wildcards in them. This function has relocated daemon code (from clientserver.c) and is also used by the new --protect-args (-s) option. The new code also got rid of an extra strdup() that wasn't needed. M io.c commit 95a44066da8ffc6c37f2c05f2225ae9f2dcf4caf Author: Wayne Davison Date: Sun Sep 9 07:53:08 2007 +0000 Call the renamed read_line() function (was read_filesfrom_line()). M flist.c commit 7909e65f8307f0e0a632275d4d895cf95f3de039 Author: Wayne Davison Date: Sun Sep 9 07:53:05 2007 +0000 - Made start_socket_client() and start_inband_exchange() take a variable number of remote args. - We now exchange a "VERSION.SUBVERSION" value in the initial @RSYNCD message. This is backward compatible with pre-protocol 30 rsyncs, and fixes a problem where rsync daemons weren't checking if they were speaking a compatible pre-release protocol. - Moved the protocol-handling code (which was in two places) into a new function: exchange_protocols(). - Protocol 30 now sends/receives the daemon args using NULLs as a separator rather than a newline. - Moved the arg-reading code into a new function in io.c: read_args(). M clientserver.c commit f74a3d813be237df00fe9fb0258cf248572c67c5 Author: Wayne Davison Date: Sun Sep 9 07:53:02 2007 +0000 Call the renamed read_line_old() function (was read_line()). M authenticate.c commit ac593860274252843d9fa5bddc8dc9371135b7c5 Author: Wayne Davison Date: Sun Sep 9 07:52:59 2007 +0000 Used a couple "#if SUBPROTOCOL_VERSION != 0" conditionals. M compat.c commit 73a649b7cb5369f7e3994406f2dfa3b640b10fe8 Author: Wayne Davison Date: Sat Sep 8 20:16:28 2007 +0000 Tweaked the pretend-ssh script. M testsuite/ssh-basic.test commit 9b49704959f4b7ecb482f3d1f87ba2735e1d7ed1 Author: Wayne Davison Date: Sat Sep 8 20:03:42 2007 +0000 Added a remote-shell substitute for use in testing and for certain other esoteric needs. A support/lsh commit ffbffc647bbc66a9196d96cb4b27555e7bcfe71a Author: Wayne Davison Date: Sat Sep 8 19:42:27 2007 +0000 Improved the argv/argc variable names that are really pointers. M options.c commit 968061bb65203ca9b0683ade0bf4bf238b8ce062 Author: Wayne Davison Date: Tue Sep 4 20:10:52 2007 +0000 Clarified something in the new --hard-links text. M rsync.yo commit c47e3ee1b6b56e8b5f7ce225aff37f11562981dc Author: Wayne Davison Date: Tue Sep 4 07:13:01 2007 +0000 Fixed two flist->files[first_hlink_ndx] references. M flist.c commit 549a3efbb738facfc6b8a506303d3d3165ea7b1b Author: Wayne Davison Date: Tue Sep 4 06:58:19 2007 +0000 Improved a sentence. M OLDNEWS commit accf8d12bc2b80420d31e9c5d4013df5fce06c9a Author: Wayne Davison Date: Tue Sep 4 06:57:57 2007 +0000 Added a test combining -H with -c and a hard-linked file that has only one instance inside the copy hierarchy. (Used to fail with protocol 29 or --no-ir.) M testsuite/hardlinks.test commit 0eeb9f5481181faf9fcb71752167289cd281fdba Author: Wayne Davison Date: Tue Sep 4 06:53:47 2007 +0000 If we turn off FLAG_HLINKED, set FLAG_HLINK_DONE so that any file-entry values affected by HLINK_BUMP() stay put. M hlink.c commit 7b46e30fd49d49d2c775dff8fe0c12c41ebe2f0f Author: Wayne Davison Date: Tue Sep 4 06:52:52 2007 +0000 Changed HLINK_BUMP() to look for either FLAG_HLINKED or FLAG_HLINK_DONE. M rsync.h commit 35c8fd761ff995845dbd5188586b5ca03ef878ab Author: Wayne Davison Date: Mon Sep 3 21:51:59 2007 +0000 Disabled the debug messages relating to the e_fds vars. M io.c commit ba2d43d702377fcfbb7b469b27b63ce9f0d7a2f4 Author: Wayne Davison Date: Mon Sep 3 21:32:21 2007 +0000 - Got rid of caveat about -H not working with incremental recursion. - Talk about how inc_recurse affects -H. - Mention --no-inc-recursive and --no-ir options. M rsync.yo commit 29349024c409421a3720bcbd811089177c3bb6b9 Author: Wayne Davison Date: Mon Sep 3 21:21:24 2007 +0000 Improved the handling of the file-status events received by the generator. M io.c commit d108e04f38ac0b376b6ac2af46a430b9b6dc988d Author: Wayne Davison Date: Mon Sep 3 21:21:21 2007 +0000 We don't disable inc_recurse due to -H anymore. M compat.c commit d4d6646aae6d123e1ec013f2354edf843dc06e29 Author: Wayne Davison Date: Mon Sep 3 21:21:17 2007 +0000 Changes to allow hard-linking to work in inc_recurse mode. M flist.c M generator.c M hlink.c M main.c commit cf2d26656db81fe017d34e06a465b86b4a384a06 Author: Wayne Davison Date: Mon Sep 3 21:21:12 2007 +0000 - Changes to allow hard-linking to work in inc_recurse mode. - Incremented SUBPROTOCOL_VERSION to 7. M rsync.h commit 7918f2440534993bdda324da839b2ea9a3884757 Author: Wayne Davison Date: Mon Sep 3 20:43:58 2007 +0000 Changed some instances of \" in checkit calls to '. M testsuite/backup.test M testsuite/chgrp.test M testsuite/chmod-option.test M testsuite/compare-dest.test M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test M testsuite/delete.test M testsuite/duplicates.test M testsuite/exclude.test M testsuite/fuzzy.test M testsuite/hardlinks.test M testsuite/longdir.test M testsuite/xattrs.test commit 9544261a45f73baaf472a2e30cc1e382d1cd0cc4 Author: Wayne Davison Date: Mon Sep 3 19:52:35 2007 +0000 Added weeding of "sending incremental file list" line to filter_outfile(). M testsuite/rsync.fns commit 354c9da60dc163cc94be4e083c7f86252cb09b8b Author: Wayne Davison Date: Mon Sep 3 04:59:15 2007 +0000 Added hashtable.o. M Makefile.in commit 626065702f55a48faaa9f27e11c4c0060000d5b2 Author: Wayne Davison Date: Mon Sep 3 04:59:12 2007 +0000 Removed the old version of the hashtable functions and updated the code to use the structures and functions calls. M hlink.c commit 9863bdbc936f730dda710742dfa65aabc034a6c7 Author: Wayne Davison Date: Mon Sep 3 04:59:09 2007 +0000 - Use the new hashtable structures and functions. - Tweaked a {read,write}_varint30() call set that didn't need to be "30". M flist.c commit 83135e8f6a093ac619f7cc6ae35260b0c5d75d9c Author: Wayne Davison Date: Mon Sep 3 04:59:05 2007 +0000 Updated hashtable structures. M rsync.h commit 369233927c6fc7f398d6ff4ea14ac8d648e19eae Author: Wayne Davison Date: Mon Sep 3 04:46:57 2007 +0000 The hashtable routines from hlink.c modified to have more generic names, to support 2 sizes of key (32 and 64 bits), and to have a non-allocating option for the find routine (returning NULL for no match). A hashtable.c commit 7e4b6b7bc47b8ac00fa295ed60e6e13e28fd1a8a Author: Wayne Davison Date: Mon Sep 3 04:19:11 2007 +0000 Use new0() function instead of new() followed by memset(). M exclude.c M fileio.c M flist.c commit a2dc4d687b258b688fd11dbe01a98ffb31936eb4 Author: Wayne Davison Date: Mon Sep 3 04:19:02 2007 +0000 Tweaked _new_array() to handle new use_calloc parameter. M util.c commit a4431563e8a1595ea1c4d3b1af3b6128ac005f21 Author: Wayne Davison Date: Mon Sep 3 04:18:58 2007 +0000 Added new0() and new_array0() to allocate and zero the memory. M rsync.h commit fbd91cae0cadf80229b41ee58394a046974c878c Author: Wayne Davison Date: Sun Sep 2 06:25:26 2007 +0000 One more tweak to latest omit-dir-times code. M options.c commit eb7a6e09cba703fdc4687214cb606804061b425f Author: Wayne Davison Date: Sun Sep 2 06:20:42 2007 +0000 Added --no-omit-dir-times and --no-O. M options.c commit 9889a34bf2f8d458c15ba4f9ba23aeef00e637d6 Author: Wayne Davison Date: Sun Sep 2 06:00:30 2007 +0000 Don't include the checksum_seed in the full-file MD5 checksum. M checksum.c commit 8e1e60e98f89f3b7a27e020fa25e88e0a8ad1cb8 Author: Wayne Davison Date: Sun Sep 2 06:00:27 2007 +0000 Bump up the SUBPROTOCOL_VERSION number. M rsync.h commit f9998046a3b0898810f8ed3b6368643b4c5874d9 Author: Wayne Davison Date: Sat Sep 1 16:57:01 2007 +0000 Made omit_dir_times a static variable in options.c by encoding all the time-preserving semantics into preserve_times. M generator.c M options.c M rsync.c commit 07bbf8703fa05ae612e0a2d7c71f0b0b914e1a97 Author: Wayne Davison Date: Sat Sep 1 16:38:09 2007 +0000 Document the new --append and --append-verify options. M rsync.yo commit 77502cbade90c38b6225008d8a1099ba1dd05974 Author: Wayne Davison Date: Sat Sep 1 16:38:04 2007 +0000 Downgrade the new --append option to --append-verify for protocols < 30. M compat.c commit 936fa865e1fd2ea0c97ef1a361f3f35a4153be75 Author: Wayne Davison Date: Sat Sep 1 16:38:00 2007 +0000 Handle the new --append and --append-verify options. M match.c M options.c M receiver.c commit 2f188c8d96c8a0c887fb73bf3288168825af0401 Author: Wayne Davison Date: Sat Sep 1 00:59:44 2007 +0000 Tweaked a comment. M flist.c commit 83f53948103af8dd2312f53173ee6733910f903f Author: Wayne Davison Date: Wed Aug 29 23:10:16 2007 +0000 Make the verbose message about the file-list expansion clearer in what is being expanded. M flist.c commit 24d677fc16b62a3b6c320e3edb5016b5fa193e8b Author: Wayne Davison Date: Wed Aug 22 00:36:56 2007 +0000 Don't omit the -4/-6 options if no IPv6 support was compiled into rsync. Just make them a no-op. M options.c M rsync.yo commit 65a22a5ff70d95bbcb04f8c1dcae3eb1ca784282 Author: Wayne Davison Date: Tue Aug 21 05:04:02 2007 +0000 In pool_free_old(), one code path was not clearing a "next" pointer, so the code could try to free an extent twice in certain circumstances. M lib/pool_alloc.c commit a0f70237f557be9d4208e677c49d8fc99328c592 Author: Wayne Davison Date: Tue Aug 21 04:54:30 2007 +0000 Fix pool_create() to honor the POOL_INTERN flag. (Thanks to Brion Vibber.) M lib/pool_alloc.c commit 4eff3051a0d2d58c04e6f2ea7264a1e3b05caf9c Author: Wayne Davison Date: Thu Aug 16 01:22:46 2007 +0000 Fixed a null-pointer dereference pointed out by Olivier Thauvin. M socket.c commit e208631a5b488a8bc6d0ad1d0a71a60faab2266e Author: Wayne Davison Date: Sat Aug 11 16:53:31 2007 +0000 Improved the arg-checking of a daemon command. M main.c M options.c commit b553a3dd20c17e1af630ab5945798d7520f31f6d Author: Wayne Davison Date: Sat Aug 11 16:51:48 2007 +0000 Document the RSYNC_CONNECT_PROG environment variable. M rsync.yo commit e5f1a96ff8a62685b0499e9c9f17300501bc5c8f Author: Wayne Davison Date: Sat Aug 11 16:20:56 2007 +0000 Added support for a %H escape in the value of the RSYNC_CONNECT_PROG environment variable. M socket.c commit eb7e7b24996734dd929c5bc1fbc0744b3908e5d8 Author: Wayne Davison Date: Sat Aug 4 22:19:49 2007 +0000 Get rid of the comment that --xattrs implies --perms and the outdated text that said it was a non-standard option. M rsync.yo commit 3caafdfd2fd654e3d610c62116081697eee02ea1 Author: Wayne Davison Date: Sat Aug 4 22:19:43 2007 +0000 Make the --xattrs option not imply --perms. M options.c commit 26ac181223325fbeadac5c8620e7758fd5d68985 Author: Wayne Davison Date: Sat Aug 4 19:09:26 2007 +0000 Let's go with "delta transfer algorithm" (thanks, Matt). M rsync.yo commit 7fa60281bf3c261fe527d36492869892a6836aed Author: Wayne Davison Date: Sat Aug 4 19:09:21 2007 +0000 Avoid a crash if pop_local_filters() has some pointer gaps. M exclude.c commit 73f2fa818948cf2b8d256da3bcc96374a924fff7 Author: Wayne Davison Date: Sat Aug 4 17:47:08 2007 +0000 - Call the rsync algorithm differential rather than incremental. - Don't refer to --files-from in the talk of incremental recursion, since it might make people think that --files-from disables incremental recursion for any recursively scanned directories. M rsync.yo commit 75f162e46fe7c14d3f65bfd5d895332373ec56d2 Author: Wayne Davison Date: Sat Aug 4 17:47:02 2007 +0000 - Use the new XMIT_NON_XFER_DIR flag. - Make sure that non-inc-recurse mode sets FLAG_XFER_DIR on all the non-implied directories. - Don't set FLAG_XFER_DIR on non-directories. M flist.c commit 1d2ca0070348a7527bb323c483e4e138ff2ff2da Author: Wayne Davison Date: Sat Aug 4 17:46:59 2007 +0000 - Added XMIT_NON_XFER_DIR flag. - Incremented the SUBPROTOCOL_VERSION number. M rsync.h commit 4d91a5f8f47d93ac55ac573e53e67fdf1f51f9c5 Author: Wayne Davison Date: Sat Aug 4 16:10:37 2007 +0000 Only honor XFLAGS_HLINKED on a non-directory. M flist.c commit 61cb031ca465bb782f9d8f60828bc3e9d7aca38c Author: Wayne Davison Date: Sat Aug 4 16:08:16 2007 +0000 Changed flags variable in send_file_entry() to xflags. M flist.c commit ff0c27c926564521ed58de838af76a4377838ae4 Author: Wayne Davison Date: Wed Aug 1 22:47:36 2007 +0000 Files with the same size should also be skipped by --append. M generator.c commit d1d0a7051fb1493fa774f8e9a3aa0ff2b1808df2 Author: Wayne Davison Date: Wed Aug 1 22:35:54 2007 +0000 Don't output a negative time-remaining value if the file has grown. M progress.c commit 444f9f7b04055c56fe771dec011b27200de3703f Author: Wayne Davison Date: Wed Aug 1 22:25:02 2007 +0000 Fixed the port-parsing in an rsync:// path; e.g., this now works properly: rsync://backup@otherbox/module/a:123:b M options.c commit 411c04f06fa26642c6bfc29fd70128e3f870a455 Author: Wayne Davison Date: Wed Aug 1 22:18:46 2007 +0000 If readdir() gives us an empty name, reject it. M flist.c commit 5d935dce63ae975db0efc23e3d94c32b17424444 Author: Wayne Davison Date: Tue Jul 24 04:09:46 2007 +0000 If --no-ir is specified, pass it to the server. M options.c commit b88f6fe7e5f0567ac34747d83c8704c28b2ac3ef Author: Wayne Davison Date: Sun Jul 15 06:37:17 2007 +0000 Let's try using egrep instead of grep since grep on Solaris systems was failing to work right. M testsuite/delete.test commit e6109f496cd50da4da536241634cd7774b347ca8 Author: Wayne Davison Date: Sun Jul 15 06:01:27 2007 +0000 Updated the --max-delete docs. M rsync.yo commit 836ce36a4f1b374f77d8021524dd6b99f8713424 Author: Wayne Davison Date: Sun Jul 15 05:51:05 2007 +0000 Mention the improved --max-delete behavior. M NEWS commit 35da2ec35a651ed4883a47949755a4c2429684fc Author: Wayne Davison Date: Sun Jul 15 05:43:05 2007 +0000 We don't need a compatibility check for --max-delete anymore. M compat.c commit 7b9598b2d5d0aa6aefe06731dc60612ee98646da Author: Wayne Davison Date: Sun Jul 15 05:42:30 2007 +0000 We now take a negative value specified to --max-delete as being synonymous with --max-delete=0. We also pass a request for 0 deletions to the server as --max-delete=-1. This ensures that we can send a backward-compatible option to old and new versions alike. M options.c commit 4a4622bbe5b752d0e1a8a2d6b4c572568d9866f0 Author: Wayne Davison Date: Sat Jul 14 22:24:03 2007 +0000 Improve the description of --update with respect to symlinks and special files. M rsync.yo commit c9ec460807a53af0f1e2a4c51619c473f972da19 Author: Wayne Davison Date: Sat Jul 14 21:58:36 2007 +0000 Make extra-verbose output of touch_up_dirs() only mention the dirs. M generator.c commit 79cd0c7fa4a89ac4c48345059ce65d2411cbf767 Author: Wayne Davison Date: Sat Jul 14 21:49:11 2007 +0000 Using --relative with --no-implied-dirs turns off incremental recursion. (A temporary measure until some bugs can be fixed.) M compat.c commit de8c8b28c03d5e0d4d745f804aef781cd276c379 Author: Wayne Davison Date: Sat Jul 14 21:25:51 2007 +0000 - When --omit-implied-dirs is specified and the creation of a directory fails, we must make sure that the item we're skipping has a name that is still inside the missing hierarchy by using a prefix matching func. - We now handle the failure to remove a file to create a dir the same way as a failed mkdir() (skipping the failed dir's contents). M generator.c commit 569e6f432b6ba46d3a57a89ef4d9834825a18e49 Author: Wayne Davison Date: Sat Jul 14 21:21:15 2007 +0000 - Made f_name() and f_name_cmp() take const pointers. - Added f_name_has_prefix(). M flist.c commit 0d585188f9dbb001006322fee6aab78657a12a8e Author: Wayne Davison Date: Sat Jul 14 19:36:52 2007 +0000 Make sure that any "dont compress" patterns that have wildcards in a suffix match stay in the wildcard-matching list. M token.c commit 34ca58d440aaaf8717a240a7bf6fb17d240ecc14 Author: Wayne Davison Date: Sat Jul 14 19:32:10 2007 +0000 The "dont compress" daemon option points to the --skip-compress option for the default set of non-compressed file suffixes. M rsyncd.conf.yo commit 9c528e293503ca64f235ce6c1326d50bc762f447 Author: Wayne Davison Date: Sat Jul 14 19:29:04 2007 +0000 Mention the latest changes. M NEWS commit 2b967218eb530c649fe342faab4470a4ad4036d4 Author: Wayne Davison Date: Sat Jul 14 19:24:44 2007 +0000 Document --skip-compress. M rsync.yo commit 6e058b4b60e01b874bfe6a9814b1d6b1944d6ae7 Author: Wayne Davison Date: Sat Jul 14 19:24:35 2007 +0000 - Added support for the new --skip-compress option. - Optimized the matching of non-compressing file suffixes. M token.c commit b1e436ec17499ff074d900e4545a6f8887ffb007 Author: Wayne Davison Date: Sat Jul 14 19:24:32 2007 +0000 Parse the --skip-compress=LIST option and sent it to the sending side. M options.c commit 4319cc56d87797c23943b401fb5bf33a5ed46989 Author: Wayne Davison Date: Sat Jul 14 19:24:27 2007 +0000 Added more suffixes to the default "dont compress" value. M loadparm.c commit 952ae751384aebf39e36cb0fb8d7d894dccc901d Author: Wayne Davison Date: Sat Jul 14 04:47:42 2007 +0000 Make sure that --dry-run with --del doesn't output extraneous info when the dest directory does not exist. M testsuite/delete.test commit 4d745d3cf59e4e36a2e9bede838a175fbc1064eb Author: Wayne Davison Date: Sat Jul 14 04:20:13 2007 +0000 The delete-during code needs to skip directories that don't exist yet in --dry-run mode to avoid outputting bogus delete details. M generator.c commit 8798be8e63f14e13e3b7e9ee59947bba0df4be6e Author: Wayne Davison Date: Sat Jul 14 04:06:33 2007 +0000 Mention license change. M NEWS commit 42b06481c34b6b09a21c0a5eb27f1de443c4a036 Author: Wayne Davison Date: Thu Jul 12 14:43:26 2007 +0000 Made some descriptions concerning modification times clearer. M options.c M rsync.yo commit dbe287b701ca1cc2ad45120edf203f33ef1af991 Author: Wayne Davison Date: Thu Jul 12 14:04:11 2007 +0000 Needed to use ndx_end in decrement_flist_in_progress(). M io.c commit 8e3b627d0733c3b21312c707ef03dd9686bb453c Author: Wayne Davison Date: Tue Jul 10 14:49:35 2007 +0000 Mention how --ignore-existing can be useful for restarting a copy that uses --link-dest. M rsync.yo commit 809724d7e2d45e428621d6827453b35bbf539e04 Author: Wayne Davison Date: Tue Jul 10 14:21:59 2007 +0000 - Use "filename", not "file name". - Say "regular file" instead of "file" when itemizing a list of non-directory types. - Try to avoid "file" in its generic sense, as it is hard to figure out when it includes dirs and when it doesn't. M rsync.yo commit 8e41b68e8f975c02a5d9281be780ba5d1a385107 Author: Wayne Davison Date: Tue Jul 10 13:55:49 2007 +0000 Tweaking the license text a bit more. M access.c M acls.c M authenticate.c M backup.c M batch.c M byteorder.h M case_N.h M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M connection.c M errcode.h M exclude.c M fileio.c M flist.c M generator.c M hlink.c M io.c M io.h M lib/compat.c M lib/md5.c M lib/mdfour.c M lib/permstring.c M lib/sysacls.c M lib/sysacls.h M lib/sysxattrs.c M loadparm.c M log.c M main.c M match.c M mkrounding.c M options.c M params.c M pipe.c M progress.c M receiver.c M rsync.c M rsync.h M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M tls.c M token.c M trimslash.c M uidlist.c M util.c M wildtest.c M xattrs.c commit dc77edf2181a08ded466e8fc44b190c90b313c0d Author: Wayne Davison Date: Mon Jul 9 01:24:01 2007 +0000 Martin gave his approval to use GPLv3 with this code. M tls.c commit 65ba6af61b44031adff77a199de261a8420df184 Author: Wayne Davison Date: Sun Jul 8 20:53:42 2007 +0000 - Do directory touch-ups at the end, even in inc-recurse mode. - Use the latest F_DIR_*() defines (whose names were tweaked). M generator.c commit 83d5e90054cd85c5bb2a93ef53d5ae32877e05b1 Author: Wayne Davison Date: Sun Jul 8 20:53:38 2007 +0000 - Use the new DEV_EXTRA_CNT and DIRNODE_EXTRA_CNT defines. - Use the latest F_DIR_*() defines (whose names were tweaked). M flist.c commit e434f0ebfe4134325f95b484a905aa398c145f7c Author: Wayne Davison Date: Sun Jul 8 20:53:35 2007 +0000 Use the latest F_DIR_*() defines (whose names were tweaked). M acls.c commit a08979d564dbb320a4000b709e8229d6fca7a281 Author: Wayne Davison Date: Sun Jul 8 20:53:31 2007 +0000 - Define DEV_EXTRA_CNT and DIRNODE_EXTRA_CNT. - Define and use ACL_BUMP(), fixing a clash between -A and -x in a directory's data. - Tweaked the F_DIR_*() defines to have more consistent names. - Don't make F_SUM() return a char pointer that is const. M rsync.h commit 252af65bb4525942178777542c33b18345a6126b Author: Wayne Davison Date: Sun Jul 8 06:30:28 2007 +0000 Changed the spots that referred to the filter_level as filter_flags to make the naming consistent. M flist.c commit d048c2f2257748e222e3e967981207de6e146ca9 Author: Wayne Davison Date: Sun Jul 8 06:25:57 2007 +0000 Added a test for --prune-empty-dirs. M testsuite/exclude.test commit 9b9d5f89b3f24ae3492f43db92ea039889fa8bad Author: Wayne Davison Date: Sun Jul 8 06:25:54 2007 +0000 Got rid of the output differences for protocol 30 since it is now the same as earlier protocols. M testsuite/itemize.test commit e5bf3b58558733a233f598ffb580207b7977994d Author: Wayne Davison Date: Sun Jul 8 06:25:51 2007 +0000 - Incremental recursion mode does not process the dirs while scanning a file list's contents. Instead, it handles a parent dir prior to each extra file list. This makes the dir-processing order the same in protocol 30 as it is in earlier protocols. - Moved the permission-fudging code for dirs into recv_generator() to make the new protocol-30 dir-handling logic easier. M generator.c commit 6755a7d7426dcc9b887f80f066021dbacffc7b10 Author: Wayne Davison Date: Sun Jul 8 06:25:47 2007 +0000 If we get an ndx that is 1 entry prior to an incremental flist's start, it refers to the file list's parent dir. M receiver.c M rsync.c M sender.c commit 5459e693a31e67bd68f6ef58d89ada67ddee9670 Author: Wayne Davison Date: Sun Jul 8 06:25:42 2007 +0000 - The sending side now sets the parent_ndx value in each file list. - Leave a 1-entry gap between incremental file lists so that we can use that index value to refer to the parent directory of each file list. - Set and use the new ndx_end value in the file list. The incremental recursion mode omits dirs in this value (except in the first list) since the generator will be using the new "gap" ndx value to process each parent dir. M flist.c commit 24108eb854b1427018abb08a228788533254fdd2 Author: Wayne Davison Date: Sun Jul 8 06:25:36 2007 +0000 - Increased the SUBPROTOCOL_VERSION to 4 due to the new dir-ndx logic. - Added ndx_end value to struct file_list. M rsync.h commit 4635fb999533026387435ef1bdfe734a67cfa50c Author: Wayne Davison Date: Sat Jul 7 20:43:14 2007 +0000 Avoid the prune-empty-dir code when cleaning a file list created by get_dirlist(). M flist.c commit 9decb4d2ef51599425f12a68dbeba2b4f3a2d908 Author: Wayne Davison Date: Sat Jul 7 20:22:05 2007 +0000 Changed "count" to "used" in struct file_list since there can be empty items that make the count inaccurate (and the name somewhat deceiving). M flist.c M generator.c M hlink.c M io.c M main.c M receiver.c M rsync.c M rsync.h M uidlist.c commit b3b326016a4d29fea20d97e782f1af05542aca22 Author: Wayne Davison Date: Sat Jul 7 16:01:59 2007 +0000 The length check in make_file() doesn't need to subtract pathname_len anymore, as the sender code never concatenates the F_PATHNAME() value with the dirname+basename string these days. M flist.c commit 4bde45f60e1b6c49a86a19389adddfb45b99a6c5 Author: Wayne Davison Date: Sat Jul 7 15:37:56 2007 +0000 Make the comment even better. M testsuite/hardlinks.test commit 4fd842f98df4970f6e49a0365dbed60774e56c09 Author: Wayne Davison Date: Sat Jul 7 05:33:14 2007 +0000 Switching to GPL 3. M COPYING M access.c M acls.c M authenticate.c M backup.c M batch.c M byteorder.h M case_N.h M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M connection.c M errcode.h M exclude.c M fileio.c M flist.c M generator.c M getgroups.c M hlink.c M io.c M io.h M lib/compat.c M lib/md5.c M lib/mdfour.c M lib/permstring.c M lib/sysacls.c M lib/sysacls.h M lib/sysxattrs.c M loadparm.c M log.c M main.c M match.c M mkrounding.c M options.c M params.c M pipe.c M progress.c M receiver.c M rsync.c M rsync.h M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M token.c M trimslash.c M uidlist.c M util.c M wildtest.c M xattrs.c commit f92f5b166e3019db42bc7fe1aa2f1a9178cd215d Author: Wayne Davison Date: Sat Jul 7 05:25:50 2007 +0000 Tweaked a comment to remove a (really old) rsync version reference. M testsuite/hardlinks.test commit 9b25ef35bd8c13480f79753c605f873d9e271936 Author: Wayne Davison Date: Mon Jul 2 22:11:23 2007 +0000 Switch the checking of preserve_[ug]id var to checking [ug]id_ndx var when the code is about to use the [ug]id_ndx value as an index (since this saves a memory reference). M flist.c M generator.c M log.c M rsync.c commit 7c73536c25744a5e38027ec373a4cc26f4a681c4 Author: Wayne Davison Date: Mon Jul 2 22:06:48 2007 +0000 Use module_dir instead of lp_path(). M log.c M t_stub.c M util.c commit 33cbd577ad5cd3f156c8666533fc9b8eed250eba Author: Wayne Davison Date: Mon Jul 2 22:02:14 2007 +0000 If a module's path is not absolute, make it absolute. M clientserver.c commit 524eaa8245e3d9314055759403ead1fee9e136cc Author: Wayne Davison Date: Mon Jul 2 21:35:14 2007 +0000 We omit copying any user-space rsync.%FOO attributes unless the user specified -X twice. M options.c M xattrs.c commit 9742b386b3d5b3010675aef9febaffbf8ab2d2c0 Author: Wayne Davison Date: Mon Jul 2 21:29:49 2007 +0000 Make option variables a little clearer by using separate FOO_ndx values to index into the file-list extra-attribute array instead of abusing the preserve_FOO variables. M compat.c M rsync.h commit 8b498b9f1aa9f6419bb633e68a1c21d19c04e381 Author: Wayne Davison Date: Wed Jun 6 15:43:34 2007 +0000 Decided against the last change. M lib/pool_alloc.c commit c04af6970114f2209fce571d35ad2b1511119dc8 Author: Wayne Davison Date: Wed Jun 6 15:38:31 2007 +0000 Allow a NULL address to be passed to pool_free_old() to indicate that it should free all old mem and reset to an empty state. M lib/pool_alloc.c commit f87fb190b3bd1250a07ff12161db2107d7717263 Author: Wayne Davison Date: Sat Jun 2 16:44:23 2007 +0000 Check for the setacl command for Tru64 (which doesn't have setfacl). M runtests.sh commit a21e72c3e652774e5b3468fd1c9ce7ca64f5aa33 Author: Wayne Davison Date: Sat Jun 2 16:30:04 2007 +0000 Attempting to make the mask test compatible with Solaris 8. M testsuite/default-acls.test commit 1c4ffe64dbdb6ffe2bebc1f5ffdd62520bc62c77 Author: Wayne Davison Date: Tue May 29 04:23:50 2007 +0000 Mention the pool_alloc changes. M NEWS commit abdcb21a7aa725cbf7a5a9e37f93484a133b69d1 Author: Wayne Davison Date: Tue May 29 04:19:47 2007 +0000 Unified the file-list pool used in incremental recursion mode so that we use less memory, especially in small transfers. As file lists are discarded, we use the new pool_boundary() and pool_free_old() functions to discard pool extents that are no longer needed. M flist.c commit f5ba7bfbb6d0862046cd8649459f4a3787e01fac Author: Wayne Davison Date: Tue May 29 04:19:44 2007 +0000 - Changed FILE_EXTENT to NORMAL_EXTENT and HLINK_EXTENT to SMALL_EXTENT. - Added a pool_boundary variable to struct file_list. M rsync.h commit 676e604135b05af05b52111d76d05ee391dea5eb Author: Wayne Davison Date: Tue May 29 04:19:41 2007 +0000 Added pool_free_old() and pool_boundary() functions to add a way to free all wholly affected extents older than a particular point in time. M lib/pool_alloc.3 M lib/pool_alloc.c M lib/pool_alloc.h commit 3fac8ca8d19177095763dfad82258b972fadedb8 Author: Wayne Davison Date: Tue May 29 02:47:23 2007 +0000 Tweaked a variable and a label to make them less confusing. M lib/pool_alloc.c commit 33766a8daa6bbd1812c03fd13f93856a14ff4f3c Author: Wayne Davison Date: Tue May 29 02:46:44 2007 +0000 Improvements to increase clarity, fix misstatements, add missing punctuation, and fix some typos. M lib/pool_alloc.3 commit e3d27df44468267e7086e63307a61a72c0e60a1e Author: Wayne Davison Date: Tue May 29 00:52:08 2007 +0000 - Fixed a bug where a pool_free() on the most-recently allocated pool item was trying to make that memory available to the pool, but it failed to adjust the right variable. - Fixed a bug in pool_free() where the return of the entire live extent back to unallocated status did not obey POOL_CLEAR. - Use the new() and new_array() functions instead of malloc(). - Changed the sqew variable to skew. - Some other minor formatting tweaks. M lib/pool_alloc.c commit 6aa27a7ce54a93f42f4fde62af9c195e59f4a0a3 Author: Wayne Davison Date: Sat May 26 21:46:22 2007 +0000 - Do less seeking when writing a sparse file. - Don't rewrite the last byte of a file in sparse mode when the file didn't end with a null char. M fileio.c commit 47cffb77ded59e52e8af12cafd7407eb2844b119 Author: Wayne Davison Date: Sat May 26 21:44:19 2007 +0000 Handle EINTR in a couple places where we handle the --file-from I/O. M io.c commit 565a340b0a275faeff7b434ccf8bab98ff0d073d Author: Wayne Davison Date: Fri May 25 14:32:08 2007 +0000 Changed verbosity back from -vvvv to -vv. M testsuite/merge.test commit f45b64d8dd6010b9662cc103e732da03aa83a754 Author: Wayne Davison Date: Fri May 25 14:29:35 2007 +0000 Improved the sort comment. M NEWS commit 56ce72c4471479410d6c20ef1b044207da4290eb Author: Wayne Davison Date: Fri May 25 14:23:05 2007 +0000 Improved a comment. M flist.c commit 898fab25775b83569bd00a8a62338f4c85af16cc Author: Wayne Davison Date: Fri May 25 14:16:57 2007 +0000 Got rid of superfluous acl_clear_perms() call that Antti Tapaninen pointed out. M lib/sysacls.c commit 0e5dd898669f2b2f272079320fdc71155008155a Author: Wayne Davison Date: Thu May 24 23:11:33 2007 +0000 Mention latest improvements. M NEWS commit 79028af116752d192634f44e672f0b8b51ba7785 Author: Wayne Davison Date: Thu May 24 23:08:39 2007 +0000 Changed dup-detection code to keep the first item in the user's args. This is more in keeping with the way cp works, and also makes the dir- joining code (in inc_recurse mode) easier. M flist.c commit a572e12675882f401e43f231ca4effdedfc70d69 Author: Wayne Davison Date: Thu May 24 02:50:41 2007 +0000 - Added fsort() and fsort_tmp() that implement a mergesort routine that ensures that any identical items in the file-list stay in the same order as they had in the input. It will also obey the --qsort option (which causes it to punt the sort to the qsort() routine). - Changed the various places that sort the file-list to call fsort(). M flist.c commit c8e839461533cbe68637ad46baa84dff1e4bc4f2 Author: Wayne Davison Date: Thu May 24 02:50:38 2007 +0000 If someone forces the use of qsort() via --qsort, disable incremental recursion (at least for now). M compat.c commit 8487f9cf29ac7beef852d6e760cf471db7f8da4a Author: Wayne Davison Date: Thu May 24 02:50:35 2007 +0000 - Added the --qsort option. - Added several new --no-FOO options. M options.c commit d750be6ad80327f8ae5febe7c6849d1ec8dd00fe Author: Wayne Davison Date: Wed May 23 00:48:27 2007 +0000 Make sure we don't try to output a NULL pointer in a verbose message. M generator.c commit 0bb86165351ce3b5c5e0db487cade12ce4606740 Author: Wayne Davison Date: Wed May 23 00:42:38 2007 +0000 - Output a -vvv(erbose) message in the touch_up_dirs() loop. - Made the keep-alive counter in touch_up_dirs() work better. - Use !(N & 0xFF) instead of !(N % 200). M generator.c commit 1faa1a6da93065febb7e08830e5da37a09b6444d Author: Wayne Davison Date: Wed May 23 00:42:32 2007 +0000 Output a -vvv(erbose) message when receiving an incremental file list. M flist.c M io.c M rsync.c commit b5ae4e25c26f006e686dcefde9fe7d489f840248 Author: Wayne Davison Date: Tue May 22 05:59:02 2007 +0000 Added a comment to the do_chmod() to mark it as a discouraged function. M syscall.c commit 3d0a159d96d153144fe3bd2a2c59a62ec2a62d89 Author: Wayne Davison Date: Tue May 22 05:58:59 2007 +0000 Added a comment to a shared iterator to avoid a warning from IBM's checker. M hlink.c M lib/wildmatch.c commit 8ea07c0030ee9dd2c56d4c8c57139887c0c6794e Author: Wayne Davison Date: Tue May 22 05:50:47 2007 +0000 - Changed the dir_flist code on the sending side to derive its sorted data from the sorted parent flist. This ensures that any entries marked with FLAG_DUPLICATE are in the same order in the dir_flist (where the flags get checked) as they are in the parent flist (where the flags get set). - Made the flist_expand() function static. - Added a growth count arg to flist_expand(). - Made make_file() set a pool variable instead of tweaking flist. - Improved the error message when a dir-number is out of bounds. M flist.c commit 59fd2a5e7df7c431929230e9899427a034bfd545 Author: Wayne Davison Date: Tue May 22 05:50:41 2007 +0000 Improved the error message when a dir-number is out of bounds. M rsync.c commit ae87c43452b2b2d81d4e9c66153948d4ba334b5d Author: Wayne Davison Date: Tue May 22 03:58:18 2007 +0000 One more output_flist() call that should verify if my analysis of the Solaris 10 host's merge-test failure is correct or not. M flist.c commit f1599b9ef254c8b2272c591614b876c1b95f3d03 Author: Wayne Davison Date: Tue May 22 00:00:51 2007 +0000 Be more verbose so that we can debug what is going wrong on solaris. M testsuite/merge.test commit ee83e1bd4d41792ddf54f2898e37e7ef15ab0c98 Author: Wayne Davison Date: Tue May 22 00:00:07 2007 +0000 Improved the index values that output_flist() outputs when we're being extra verbose: they now have the list's ndx_start value added in. M flist.c commit 7455467c17ee2415c1ad74f9a59f517e8daf9a6a Author: Wayne Davison Date: Mon May 21 23:45:26 2007 +0000 One more try at silencing some checker warnings. M zlib/zutil.c commit 19395697b9f9693c72af8c83c5be7313123476ac Author: Wayne Davison Date: Mon May 21 18:39:05 2007 +0000 Let's see if we can silence some more code-checker warnings. M zlib/zutil.c commit 7787579ad46e11ca52e913dbf31b0f7856672f9d Author: Wayne Davison Date: Mon May 21 10:20:18 2007 +0000 Added some "FALL THROUGH" comments in the main switch. M zlib/inflate.c commit 58a37ed34a601dc828c910ccb2effc1f4a57e03d Author: Wayne Davison Date: Mon May 21 03:56:06 2007 +0000 Get rid of compiler warning about iconv()'s second parameter. M flist.c commit fe8d61e5d5e9fc9dcb7787558f3178d482fc5784 Author: Wayne Davison Date: Mon May 21 03:20:39 2007 +0000 Fixed a thinko in the calling of recv_add_gid(). M uidlist.c commit 87b0cc726b08810dc1df94d146fe0d4c775759e3 Author: Wayne Davison Date: Mon May 21 03:09:25 2007 +0000 Got rid of the temporary "set -x" that was added for debugging. M testsuite/exclude.test commit 4504b2259ff90687a1d843bb55f9f87c0295c67d Author: Wayne Davison Date: Mon May 21 03:08:55 2007 +0000 The match_gid() function needed to affect the *flags_ptr value when re-using the last-found match. M uidlist.c commit cf1b4969b906017a087f10ab105e3ebf27f93265 Author: Wayne Davison Date: Mon May 21 03:08:01 2007 +0000 The recv_file_entry() function needed to remember the gid flags so that it can reuse them when the gid stays the same. M flist.c commit 434e77193cfb17e92a70e6519fd091700a2ec5a4 Author: Wayne Davison Date: Mon May 21 02:31:20 2007 +0000 Set -x option to diagnose what is going wrong on FreeBSD. M testsuite/exclude.test commit 858d45f1601354a91913c201ecd15e1bbcb28ba6 Author: Wayne Davison Date: Mon May 21 02:17:48 2007 +0000 Cast some F_OWNER()/F_GROUP() values to make sure that we don't get a signed/unsigned compiler warning on some systems. M flist.c M generator.c M rsync.c commit 63186ec0777af853fafe75b74184576f235c7d4d Author: Wayne Davison Date: Mon May 21 02:09:45 2007 +0000 Fixed a problem in a couple OS's sys_acl_get_access_bits() functions. M lib/sysacls.c commit dfcb3865698eb380ccfff689880f7fc4e2638331 Author: Wayne Davison Date: Mon May 21 02:06:51 2007 +0000 Make sure that the scratch dirs have rwx permissions before we try a recursive rm. M runtests.sh commit d15f2ff0cf372be49d57b1d7884557ddbe1a4d9c Author: Wayne Davison Date: Mon May 21 01:06:16 2007 +0000 Tweaked a sentence in the --size-only section. M rsync.yo commit c395acd8046a0dc8be3df095ce7c1e9fbf48864b Author: Wayne Davison Date: Mon May 21 01:05:36 2007 +0000 Create a symlink back to the source dir in the scratchdir of a test. M runtests.sh commit 030820d5dcb4799a8688187d9f5aa15525ae4be8 Author: Wayne Davison Date: Mon May 21 01:04:40 2007 +0000 - Unified the formerly separate user & group name-lists into a single name-list. On POSIX systems, this list will be sorted with the user names first, so the code will work essentially the same way it did before for the currently supported OSes. However, the code will now more easily support non-POSIX ACL setups such as (hopefully) the one used in OS X. - Increased the (potentially) available access-bit storage for name elements from 3 to 31 bits. For non-name elements, the access bits now have the potential to store 7 bits instead of 3. (All the current POSIX implementations still error-check their values at 3 bits, but this will allow adding non-POSIX ACL setups more easily.) - The protocol that transmits the ACL information was changed to send names in a single list, and to use {read,write}_varint() functions instead of {read,write}_byte(). This supports sending access-bit values up to 32-bits (minus any bits reserved for xmit flags). - The construction of the internal access-bit value was moved into the lib/sysacls.c code, so that it could be handled in an appropriate manner for each OS. (Aside: the code still does not support transmitting incompatible ACL information between systems, but I envision improving --fake-super to store the ACL information that is received as xattr information, and this would allow a system that supports extended attributes to backup a source system that had an incompatible ACL method.) M acls.c commit 043ef55b227146d2482859c66573b3229042ee75 Author: Wayne Davison Date: Mon May 21 01:04:37 2007 +0000 - Define what the valid access bits are for a name element and a non-name element. - Set a define when the OS needs the name-list sorted. - Got rid of the permset-related defines. - Got rid of some function prototypes that rsync doesn't need. - Got rid of the defines for the do-nothing ACL code. M lib/sysacls.h commit a30dcbc0a8850f63fe831e9f38259347ac4aaa7c Author: Wayne Davison Date: Mon May 21 01:04:34 2007 +0000 - Added a function to get/set all the access-bit values with a single call. This allows the per-OS compatibility code to construct the value with however many bits are supported by each OS. - Removed several functions that rsync doesn't (and won't) need. - Got rid of the do-nothing ACL code (the ACL code in rsync should be disabled on a system that we can't support). M lib/sysacls.c commit 02f0227e87c2922ce9dce075f4c1fad892ee58cc Author: Wayne Davison Date: Mon May 21 01:04:31 2007 +0000 Changed SUBPROTOCOL_VERSION from 2 to 3 because of the ACL protocol changes. M rsync.h commit 142a5e7b8b128797db27c1a31af7d05c9cc4928e Author: Wayne Davison Date: Sun May 20 07:40:07 2007 +0000 Moved GID_NONE define from rsync.h to uidlist.c. M rsync.h M uidlist.c commit fdfc67406c01f48726dd6fff12b0bca3f66d3158 Author: Wayne Davison Date: Sun May 20 07:10:48 2007 +0000 - Added more users and some groups to one of the files we're copying. M testsuite/acls.test commit fb7b9ddcb1165ad0ab9aba773e050816068d0b61 Author: Wayne Davison Date: Sun May 20 07:10:45 2007 +0000 - Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID(). M xattrs.c commit 4ade505c7ed255e2482b2a19bf40054c672d5b30 Author: Wayne Davison Date: Sun May 20 07:10:41 2007 +0000 - Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID(). - Use the new FLAG_SKIP_GROUP define. M generator.c M log.c M rsync.c commit 1564cd5a873fbb86e7a8230a4c09b20709a48723 Author: Wayne Davison Date: Sun May 20 07:10:37 2007 +0000 - Use F_OWNER() and F_GROUP() instead of F_UID() and F_GID(). - Made recv_file_entry() name the xmit-flags variable "xflags" to prevent confusion with the internal flags value we're creating. - Added an arg to the calls of recv_group_name() and match_gid(). - Use the improved function names: send_id_list() and recv_id_list(). - Improved the display of the GID values in output_flist(). M flist.c commit 33233b4900346a1ed03498058bb28477961493c9 Author: Wayne Davison Date: Sun May 20 07:10:34 2007 +0000 - Fixed a bug in the match_racl_ids() function's iteration. - Fixed a bug with preserving a group ID in an ACL when running as a non-super user that the user is not a member of. M acls.c commit d6b422a61cc082428904d4b7a7c51260e7cd49e9 Author: Wayne Davison Date: Sun May 20 07:10:31 2007 +0000 - Changed id & id2 from int to id_t in the struct iflist. - Added a uint16 flags var to struct iflist. - We now mark a group with FLAG_SKIP_GROUP if the receiving user can't set a group rather than turning it into GID_NONE. This allows us to keep the real group ID mapping, which is needed by the ACL code. M uidlist.c commit ff2001b91b6a0dc0f00486e85f90af122d0ad4f0 Author: Wayne Davison Date: Sun May 20 07:10:28 2007 +0000 - Added FLAG_SKIP_GROUP define. - Removed F_UID() and F_GID() defines. M rsync.h commit d858b27400eba6301a25d5cb34330e7748bcf772 Author: Wayne Davison Date: Tue May 8 17:04:05 2007 +0000 A couple more minor tweaks. M rsync.yo commit 1874f7e2e176dc7a3c2f05687a28bcbfe5964b06 Author: Wayne Davison Date: Tue May 8 17:01:24 2007 +0000 Improved the documentation on the "quick check" algorithm and the --size-only option. M rsync.yo commit 377d22ab9f4f7874bbfee94a7905bc1469b6a2e7 Author: Wayne Davison Date: Sun May 6 19:44:26 2007 +0000 If the server is exiting with an error, delay our exit just a little in order to give the client side a better chance of reading any error message we just sent. M cleanup.c commit 4f3797c7e261a7acc83d35bb930d271f19d63be3 Author: Wayne Davison Date: Sat May 5 18:34:37 2007 +0000 Clumped some option-sending together that only happens on the sending side. M options.c commit 6b5a8f80fc68baeb6914fc33fdd2b6e8f24de7a1 Author: Wayne Davison Date: Mon Apr 30 02:58:14 2007 +0000 Try a better way to deduce if the xattr functions we need are there. M configure.in commit bf10faa9dcf6c11bcc85a32e1cda070c4acf21de Author: Wayne Davison Date: Sun Apr 29 15:01:57 2007 +0000 Added a "sleep 1" to make certain failures more reproducible. M testsuite/merge.test commit 548ca46fecd58a43fd9f19e79bdc968f21c71992 Author: Wayne Davison Date: Sat Apr 28 23:47:16 2007 +0000 Use the --super option for the non-fake test, just in case a system can chown without appearing to be root (uid 0). M testsuite/chown.test commit e8c64ffdc73e3b2dbb412d1ea193770e48cfea06 Author: Wayne Davison Date: Sat Apr 28 18:40:23 2007 +0000 If the lgetxattr() function isn't found, disable xattr support. M configure.in commit 0eb05245f1cf827d5275896095a3abcbfa84c1e2 Author: Wayne Davison Date: Sat Apr 28 17:22:53 2007 +0000 Authorize 10.0.1.2 for one of the BSD test-farm systems. M testsuite/rsync.fns commit 0156c7842d413de7a6a6f3aae273c73f5d269662 Author: Wayne Davison Date: Fri Apr 27 14:09:22 2007 +0000 Improved the --iconv description. M NEWS commit 1acb8f511966f982400d79f5f27c0317a418a4b9 Author: Wayne Davison Date: Fri Apr 27 13:52:07 2007 +0000 Added the $(CHECK_SYMLINKS) var to installcheck target. M Makefile.in commit 76e754a0fd2a60e758e742f05b1cce4efc101472 Author: Wayne Davison Date: Fri Apr 27 00:19:21 2007 +0000 Fixed the buildability of the file without ICONV_OPTION enabled. M flist.c commit e7f905accbdb86be951aca9412f11f76c140b6bb Author: Wayne Davison Date: Fri Apr 27 00:19:02 2007 +0000 Fixed the comment about --iconv. M NEWS commit a9a8bc962cc228e4516f8807c71dec799c68474e Author: Wayne Davison Date: Thu Apr 26 23:15:51 2007 +0000 Got rid of the --no-ir kluge in this test. M testsuite/merge.test commit a6e7b97868097083337a39bb73070208d4556534 Author: Wayne Davison Date: Thu Apr 26 23:15:47 2007 +0000 - Fixed the merging of duplicated directory hierarchies in incremental recursion mode. - Fixed some problems with --iconv in incremental recursion mode. M flist.c commit 1befb74b1383a722aa5c139828764086223e4072 Author: Wayne Davison Date: Thu Apr 26 23:15:43 2007 +0000 Refer to the right sorted/unsorted file list array in touch_up_dirs(). M generator.c commit 8f3335a18c26e52e7a6c0a94eade66af8e247469 Author: Wayne Davison Date: Thu Apr 26 23:15:39 2007 +0000 The server now needs the F_NDX() data for --iconv with incremental recursion. M rsync.c commit 505c0579f7520206ea6fb85e72469735547af619 Author: Wayne Davison Date: Thu Apr 26 23:15:36 2007 +0000 Added FLAG_DUPLICATE for the sender to mark a duplicate flist entry (which is better on the sending side than clearing the duplicate's data). M rsync.h commit a430691df19501367a7432a66402b4f6f603c700 Author: Wayne Davison Date: Thu Apr 26 23:06:38 2007 +0000 Prevent a hang in incremental-recursion mode when the receiver encounters an error updating the file: the receiver now sends MSG_NO_SEND to the generator so that it knows when all outstanding work is completed. M receiver.c commit 332cf6df7c32dbaa47cbfe515121da7bd53974e8 Author: Wayne Davison Date: Thu Apr 26 05:53:13 2007 +0000 The --iconv option has now made it to the trunk. M NEWS M clientserver.c M configure.in M flist.c M generator.c M hlink.c M io.c M log.c M main.c M options.c M receiver.c M rsync.c M rsync.h M rsync.yo M socket.c M testsuite/rsync.fns commit 3f7afe7ec1cc499c811e1455bb5ff8748cd2a07a Author: Wayne Davison Date: Thu Apr 26 05:32:38 2007 +0000 Changed a "mkdir -p" into a makedir. M testsuite/relative.test commit 8fc4033ef08e747c961c1bf6c43995a39bf732f4 Author: Wayne Davison Date: Thu Apr 26 00:23:52 2007 +0000 Changed F_ROOTDIR() to F_PATHNAME(). M log.c M rsync.h M sender.c commit ef35abb2b7aa64d42896661b8c7a13e89504ba31 Author: Wayne Davison Date: Thu Apr 26 00:23:48 2007 +0000 - Renamed flist_dir to pathname to avoid confusion with dir_flist var. - Renamed push_flist_dir() to push_pathname(). - Set a pool var in recv_file_ent() instead of playing games with flist. - Simplified the top_flags computation in send_file_list(). M flist.c commit 0b68d6b6f4aba4ffe577551320269cbce4a5c7bb Author: Wayne Davison Date: Tue Apr 24 19:33:12 2007 +0000 Create symlinks for fake tests. M Makefile.in commit f1271537a4c36c748754cf72854ed60e0831659a Author: Wayne Davison Date: Tue Apr 24 19:03:54 2007 +0000 Put the files down in a subdir so that we test backup's dir- creating functionality (which had a bug until recently). M testsuite/backup.test commit b13505da1d2f8a7f6e8df88e0b421ff0e7a2da54 Author: Wayne Davison Date: Tue Apr 24 18:43:31 2007 +0000 Need to call unmake_file() instead of free() on a file_struct. M backup.c commit 7ea6ea98c87b77e12c1c13699ddf3baf2bc0589a Author: Wayne Davison Date: Tue Apr 24 18:21:08 2007 +0000 Use a single makepath call with multiple args. M testsuite/chmod-option.test M testsuite/delete.test commit d1798a2fda20876febfecdc035510a0dd9875761 Author: Wayne Davison Date: Tue Apr 24 18:19:25 2007 +0000 Allow makepath to take multiple args. M testsuite/rsync.fns commit e911ff75d6bdfc02602d528e178675450de3ce58 Author: Wayne Davison Date: Tue Apr 24 18:18:57 2007 +0000 Specify an arg sequence that was recently failing to work. M testsuite/merge.test commit 49f7162e7df197194e8adbf3740f4ba47ab7c410 Author: Wayne Davison Date: Tue Apr 24 18:18:29 2007 +0000 Use a slightly different rsync calling syntax. M testsuite/acls.test commit 3bb88b4388478e3afdcdcd23df5880132a316d88 Author: Wayne Davison Date: Tue Apr 24 17:53:54 2007 +0000 Fixed a directory push problem with the user specified an arg with a subdir followed by an arg with no subdirs. M flist.c commit b3fbe3ce35f9c0f35b9c2f00b3157643255a330d Author: Wayne Davison Date: Tue Apr 24 17:22:01 2007 +0000 The chown script now has a --fake-super mode if the script name has "fake" in it. Added a symlink named chown-fake.test. M testsuite/chown.test commit 9557eabaa773f32b119c596d882abf48a2d63c1a Author: Wayne Davison Date: Tue Apr 24 17:06:09 2007 +0000 Made the devices.test script do a real device test when called normally, or a fake-device test when called with "fake" in the script name. Added a devices-fake.test symlink. M testsuite/devices.test commit acac1f5c6f04c55f5d1f0cddec4fa308673f0892 Author: Wayne Davison Date: Tue Apr 24 16:54:38 2007 +0000 Conditionalize xattr code for systems without xattr support. M tls.c commit 34273554222d6fbdb7fdf36757cb4c9c6b76f876 Author: Wayne Davison Date: Tue Apr 24 16:11:02 2007 +0000 A little more popt tweaking. M Makefile.in commit cbf626fd6252135ad282c812c3b4c09f51e96c0d Author: Wayne Davison Date: Tue Apr 24 16:06:29 2007 +0000 Fixed build problem for tls for those using the included popt. M Makefile.in commit 1c702303eb53e9a5e6298eb7fcc2a3ea7bee5ccd Author: Wayne Davison Date: Tue Apr 24 08:11:02 2007 +0000 Moved the header info from smb_acls.h into lib/sysacls.h. M Makefile.in M lib/sysacls.h D smb_acls.h commit 9a234269ed444e9bab0ad4da806a6d2bbd554b3f Author: Wayne Davison Date: Tue Apr 24 08:00:49 2007 +0000 Improved the usage message. M tls.c commit db9c9e27660be8672abf55886ff7226abd21004f Author: Wayne Davison Date: Tue Apr 24 07:52:45 2007 +0000 Added arg-parsing to tls.c. M testsuite/devices.test M testsuite/rsync.fns M tls.c commit 9439c0cb5a4b020b9bfcfe0351e33c17b9c53b54 Author: Wayne Davison Date: Tue Apr 24 07:32:44 2007 +0000 Adding the --fake-super option. M Makefile.in M NEWS M backup.c M clientserver.c M flist.c M loadparm.c M options.c M rsync.c M rsync.h M rsync.yo M rsyncd.conf.yo M syscall.c M t_unsafe.c M testsuite/devices.test M tls.c M trimslash.c M xattrs.c commit 2ed790f3541cd5803b285bb46b2cba02103cc88b Author: Wayne Davison Date: Mon Apr 23 19:54:07 2007 +0000 Improved the SUBPROTOCOL_VERSION code a little, and bumped the value to 2. M options.c M rsync.h commit 486f8cd1abb053fbe2dc4cbabe3db6f326019ea3 Author: Wayne Davison Date: Mon Apr 23 19:03:29 2007 +0000 Changed the prerelease-protocol support to use an idiom that will not slow down the initial version handshake between the two sides. M compat.c M io.c M options.c commit 875a13b42c8fa16811e429e3773ee942d3873d69 Author: Wayne Davison Date: Mon Apr 23 18:40:00 2007 +0000 No need to reset quiet, since we tell parse_arguments() that it should prevent quiet from getting set. M clientserver.c commit 719522b9bd72266b2678849a0e306834dc15ae67 Author: Wayne Davison Date: Sat Apr 21 19:46:19 2007 +0000 Tweaked --version in a few minor ways, including the mentioning of the SUBPROTOCOL_VERSION if it is non-zero. M options.c commit 753849fdbcf8df0a408135be469f620bb74f2ab5 Author: Wayne Davison Date: Sat Apr 21 19:32:46 2007 +0000 Batch files need to be written with the new subprotocol value for protocol 30. M compat.c M io.c M rsync.h commit bb25779de7afb3e5a803c81ba6526b92f829c12b Author: Wayne Davison Date: Sat Apr 21 19:31:54 2007 +0000 Mention how many bits our local timestamps support. M options.c commit 348d54d6d18e7a83b91735d063daac7856519e4e Author: Wayne Davison Date: Sat Apr 21 19:27:04 2007 +0000 Mention the latest changes that have been made. M NEWS commit 4471d9e5709fc2a9992ef89f916dcb8bb8093d50 Author: Wayne Davison Date: Sat Apr 21 18:40:42 2007 +0000 Added a way to exchange a protocol's sub-protocol value. This will be 0 when a protocol goes final, and non-zero for an intermediary CVS version of a protocol that is in flux. If we find that we're talking to a CVS version with a different sub-protocol #, we automatically drop back to the prior protocol that the sides have in common. M compat.c M rsync.h commit 19d4cac9961f1e68d3a186a805ec9b90f217e4b2 Author: Wayne Davison Date: Fri Apr 20 22:40:01 2007 +0000 We now allow verbose messages to be sent when forwarding incremental-recursion file-list data from the receiver to the generator. M rsync.c commit e4c877cf7082ddcb4a979fa7a8b252f95a34eb62 Author: Wayne Davison Date: Fri Apr 20 22:39:58 2007 +0000 Added a message queue for the receiver->generator messages to handle the case where the message pipe is being used to forward the file-list data. M io.c commit f14b3ef43028984105202aee81b679324c260394 Author: Wayne Davison Date: Fri Apr 20 22:39:55 2007 +0000 Verify that the modtime value is not being truncated, and complain if it is. M flist.c commit f3c93b176185ce34bcfb7f4481fed8efae6cad3f Author: Wayne Davison Date: Fri Apr 20 21:39:08 2007 +0000 Check the size of a time_t. M configure.in commit a72ba0cfac4128ed0627b7b534da6f6df9c69c01 Author: Wayne Davison Date: Fri Apr 20 08:17:06 2007 +0000 Call the new {read,write}_varlong30() names for the long-int functions that are protocol sensitive. M main.c commit ba59bd68fca726026a07806d6625443163c40aef Author: Wayne Davison Date: Fri Apr 20 08:17:03 2007 +0000 - Call the new {read,write}_varlong30() names for the long-int functions that are protocol sensitive. - Changed the sending of the time value in protocol 30 to support 64-bit values without bloating positive 32-bit values. M flist.c commit 1c60d219472b3de0080cda807b014d011e3b5ccb Author: Wayne Davison Date: Fri Apr 20 08:16:59 2007 +0000 Got rid of the NVAL*() defines. M byteorder.h commit 473feecff3c3b695afc43b0fee4b84c6dcfeeedc Author: Wayne Davison Date: Fri Apr 20 08:16:56 2007 +0000 Added {read,write}_varlong30() inline functions to use the right long-int function based on protocol version. M io.h commit 351e23ad8e1b2b077bec77d6250d1c82fb04dd1f Author: Wayne Davison Date: Fri Apr 20 08:16:53 2007 +0000 - Changed the {read,write}_longint() functions into separate {read,write}_varlong() and {read,write}_longint() functions: the former handles variable-length transmissions, and the latter is backward-compatible with older rsync versions. - Improved the {read,write}_var{int,long}() functions to be simpler and to use a different byte order. - The {read_write}_varlong() functions also allow the caller to specify the minimum number of bytes to send. This allows time values to be sent efficiently with a 4-byte minimum, while length values continue to be sent with a (more optimal for them) 3-byte minimum. M io.c commit f31514adb780899d886df63edd79ac3d48363f2f Author: Wayne Davison Date: Fri Apr 20 02:17:58 2007 +0000 Changed the *_abbbrevint() functions to *_varint(). M acls.c M flist.c M io.c M io.h M uidlist.c M xattrs.c commit 2fcc265c2fc409f29f2c924155f01582aedac981 Author: Wayne Davison Date: Wed Apr 18 03:30:53 2007 +0000 Got rid of protocol-29 check. M testsuite/default-acls.test commit b58e40332f26aff16486e6cde598395a081abdee Author: Wayne Davison Date: Wed Apr 18 03:23:26 2007 +0000 If ssh access is not enabled, use a shell function to test that we can copy using a spawned rsync process. M testsuite/ssh-basic.test commit a217c4535951943e00d6dd991cc6f775034ca4a9 Author: Wayne Davison Date: Wed Apr 18 02:33:02 2007 +0000 Got rid of ACL's uid/gid iterators in favor of a single function that converts the uids & gids in a loop. M acls.c M uidlist.c commit 764782662d8049bf835cad0e643be6ee6ed7280c Author: Wayne Davison Date: Sat Apr 14 07:11:32 2007 +0000 Can eliminate the testtmp.* ignore rule now. M .cvsignore commit 4b24f4a2b5f400047d58d2c815dce627bfc58413 Author: Wayne Davison Date: Sat Apr 14 07:10:52 2007 +0000 Changed scratchbase from using a "testtmp." name prefix to using a "testtmp/" name prefix (i.e. using a subdir). This allows me to create a testtmp as a symlink to a different file system to assist with testing ACLs and xattrs. M runtests.sh commit c64ff141b83dfb2bba32079db8309df176988388 Author: Wayne Davison Date: Thu Apr 12 02:44:41 2007 +0000 Improved the description of the --checksum option. M rsync.yo commit 1b896f8d1e5ba86bfcadf9ef68ad1453e48e5fb9 Author: Wayne Davison Date: Thu Apr 12 02:37:31 2007 +0000 The check for GCC <= 2 was in the wrong part of an #ifdef sequence. M rsync.h commit 01894cf01fef34d6746711ba1bb17323ab8344b6 Author: Wayne Davison Date: Sat Apr 7 19:22:20 2007 +0000 Allow a local-server copy to use -X and -A even if a --protocol-version is forced, which makes some testing idioms easier. M compat.c M testsuite/acls.test M testsuite/xattrs.test commit 16edf86595a5a990a942fa045dfb523dae1fe6cb Author: Wayne Davison Date: Sat Apr 7 17:22:25 2007 +0000 The improved --xattrs option is landing on the trunk. M Makefile.in M backup.c M cleanup.c M compat.c M configure.in M flist.c M generator.c A lib/sysxattrs.c A lib/sysxattrs.h M main.c M options.c M receiver.c M rsync.c M rsync.h M rsync.yo M sender.c A testsuite/xattrs.test A xattrs.c commit 1c53e5171cfce78416c0a534dbe8fb2d0725fd2e Author: Wayne Davison Date: Sat Apr 7 17:22:09 2007 +0000 Tweaked an error message and a comment. M acls.c M testsuite/acls.test commit 63d83e94774149b604522726bbb833d9416f07b9 Author: Wayne Davison Date: Sun Mar 25 17:01:48 2007 +0000 Improved push_dir() error reporting. M flist.c commit 5463453489b58c47ea709d844ba80a1f657c3aa3 Author: Wayne Davison Date: Wed Mar 21 13:51:54 2007 +0000 The print now uses a more straight-forward map() instead of a join(). M support/cvs2includes commit 108133689de94aebca29b41cf8f0156fd03123a1 Author: Wayne Davison Date: Sun Mar 18 20:41:51 2007 +0000 Use relative directories, and note that the merge code is only working because it is not yet using --inc-recursion. M testsuite/merge.test commit 46ad63b7cf559c86e236cc0413e547cec50c5877 Author: Wayne Davison Date: Sun Mar 18 20:40:01 2007 +0000 Added a test of a multi-file copy from a nested directory using a relative source path. M testsuite/hands.test commit dbb20f6bc0f498f6f1a2cdddb05d41edbc2fafa5 Author: Wayne Davison Date: Sun Mar 18 20:05:24 2007 +0000 One more tweak. M testsuite/chown.test commit 25c2a6ac0e1f45a0c4fcc425ddaa5e9027a868ac Author: Wayne Davison Date: Sun Mar 18 17:35:39 2007 +0000 Fixed a multi-file, no-dir, relative copy, such as: rsync -av lib/*.c /var/tmp/lib M flist.c M testsuite/chown.test commit 161fba6903024ebecdb40da429d135b442e40d52 Author: Wayne Davison Date: Sun Mar 18 06:28:51 2007 +0000 Put the checksum seed at the end of the checksum2 buffer in md5 mode. M checksum.c commit 55edf18c4237bb732d71d70b397fa18d6ab71fb9 Author: Wayne Davison Date: Sun Mar 18 06:20:07 2007 +0000 Made a char* arg const. M receiver.c commit a0456b9c4635be8832fc5712454a75ec102b1176 Author: Wayne Davison Date: Sun Mar 18 06:00:53 2007 +0000 Protocol 30 now uses MD5 checksums instead of MD4. M Makefile.in M authenticate.c M checksum.c M flist.c M generator.c M io.c A lib/md5.c M lib/mdfour.c D lib/mdfour.h A lib/mdigest.h M match.c M receiver.c M rsync.h commit 1a515b494b2ecf927118cfc18d8efb8a58868579 Author: Wayne Davison Date: Thu Mar 15 23:17:26 2007 +0000 In option descriptions, the short form of --copy-dirlinks is -k, not -K. M rsync.yo commit 33cd9ad54b6fe6ea5c988f01514f643805da9353 Author: Wayne Davison Date: Wed Mar 14 00:22:05 2007 +0000 I managed to duplicate the hang, so hopefully it's fixed now. Let's restore the full test suite and find out. M testsuite/default-acls.test M testsuite/merge.test commit 896f046f79252045e6044482add0f8ef24bde911 Author: Wayne Davison Date: Wed Mar 14 00:20:44 2007 +0000 Fixed more potential hang cases for incremental recursion. M generator.c commit b9d5eea5c6b6dcf22fbb5c2dec5888238606d0fb Author: Wayne Davison Date: Wed Mar 14 00:02:39 2007 +0000 Next step: allow protocol 30 to be used, but disallow the use of incremental recursion. If this still avoids the hanging, I will need to try to track down how inc_recurse can deadlock. M testsuite/merge.test commit 5275029d11b980f7a5c6582c78412ae864dd2ec8 Author: Wayne Davison Date: Wed Mar 14 00:00:01 2007 +0000 Added an explicit option that will disallow the use of incremental recursive mode (and an option to negate that). M compat.c M options.c commit 271aeaa49eb8e912e1c7285ffacbff5fc42d6ec5 Author: Wayne Davison Date: Mon Mar 12 18:05:03 2007 +0000 Next step: see if the hang returns with a partial restoration of protocol 30. M testsuite/merge.test commit 91763a9c2f9b0c64e9bbabdf0619faa279317283 Author: Wayne Davison Date: Mon Mar 12 04:56:15 2007 +0000 It looks like some of the compile-farm hosts are hanging on this test, so let's try some remote-diagnostics (let's try protocol 29 first). M testsuite/merge.test commit 18438f0bac84a084cbec8f6960476ea434dea0ea Author: Wayne Davison Date: Mon Mar 12 04:33:30 2007 +0000 Changed the sending of device major/minor numbers in protocol 30 to take fewer protocol bytes and use one less bit in the XMIT_* flags. M flist.c M rsync.h commit 057f649fc9048ba7851027001ce746ee079922d9 Author: Wayne Davison Date: Sun Mar 11 22:02:26 2007 +0000 When a hard-linked device is duplicating the data from the prior device, we need to allocate 2 extra option slots for the device numbers. M flist.c commit 88467ec444756d267f5200d029edc892048fbae1 Author: Wayne Davison Date: Sun Mar 11 14:25:00 2007 +0000 Don't enable ACLs on darwin until we figure out how they work. M configure.in commit 1b897d50a93b82b4393778a2a8bcda62f85e17d5 Author: Wayne Davison Date: Sun Mar 11 07:31:17 2007 +0000 Leave out two unneeded sys*_fd() functions due to their using a function & struct that is not available in the rsync code. M lib/sysacls.c commit d4a013edb7a8d018e63fb8102433867bdb95ea9f Author: Wayne Davison Date: Sun Mar 11 07:21:07 2007 +0000 We now compile on systems where ENOTSUP is not defined. M acls.c M lib/sysacls.h commit 545584cb9a56c595b08dd92a2d18bf7bb3567c39 Author: Wayne Davison Date: Sun Mar 11 07:13:11 2007 +0000 Leave SUPPORT_ACLS undefined instead of giving it a 0 value. M configure.in commit e5abce8e0dbb8a36b3112e77d508a11fde06f170 Author: Wayne Davison Date: Sun Mar 11 06:50:48 2007 +0000 Silence a compiler warning about a printf() %d mismatch. M acls.c commit 3060ca8d422dd40e497ba09c0cf5be021ed585e3 Author: Wayne Davison Date: Sun Mar 11 06:27:59 2007 +0000 Temporarily skip this test as it is taking too long on the compile farm at the moment. M testsuite/default-acls.test commit ab14d01a0e9df438731eda534e71de43e1c0173f Author: Wayne Davison Date: Sun Mar 11 05:59:46 2007 +0000 Use the abbrevint30 routines in a few more places. M uidlist.c commit 987838fd2c1d94b3e7d69c3a63e11407f94d6fc6 Author: Wayne Davison Date: Sun Mar 11 05:54:21 2007 +0000 Make configure continue if ACL support is not found and the user didn't explicitly ask for ACLs. M configure.in commit 6d4e718f5fecd4e02e5958f477922e9bec8a4559 Author: Wayne Davison Date: Sun Mar 11 05:43:55 2007 +0000 Moved the new static internal functions from rsync.h to io.h. M flist.c A io.h M rsync.h commit 1c3344a105f656a45f6b46e1710c3fc4ab862a9a Author: Wayne Davison Date: Sun Mar 11 00:13:34 2007 +0000 The ACL support has arrived! This version has a brand new protocol that makes it incompatible with all prior versions. A patch will be provided to allow talking with older (patched) rsync versions. M Makefile.in A acls.c M backup.c M byteorder.h M compat.c M configure.in M flist.c M generator.c M hlink.c M io.c A lib/sysacls.c A lib/sysacls.h M log.c M options.c M receiver.c M rsync.c M rsync.h M rsync.yo A smb_acls.h A testsuite/acls.test A testsuite/default-acls.test M testsuite/devices.test M testsuite/itemize.test M uidlist.c M util.c commit 085e2fd588d27cedc37edaee0575cfea7bb2f2d8 Author: Wayne Davison Date: Thu Mar 8 02:00:48 2007 +0000 Changed the code that cleans up the old nightly releases from time-based to count-based (keeping the newest 10 items). M packaging/nightly-rsync commit f41152d39396f0672a97268739c333537579404a Author: Wayne Davison Date: Mon Mar 5 17:08:00 2007 +0000 Decided that we don't really want the rule that preserves the backup-suffix files to be perishable. M compat.c M options.c commit d0c59b0e887971bcabaacf79d2b59a5a0faa1d12 Author: Wayne Davison Date: Sun Mar 4 14:56:22 2007 +0000 A local server needs to process the auto-exclude rules since we don't send the excludes over the socket for a local copy. M compat.c commit f49c837651b6e3f26043a5b7f97697ea8c8ffaee Author: Wayne Davison Date: Sat Mar 3 01:14:08 2007 +0000 Mention the slight change to the auto-filter rules that are created for the --backup option and the --partial-dir option. M rsync.yo commit c12895089cfc31fd372a0fcf0da6ffb6222fa73b Author: Wayne Davison Date: Sat Mar 3 01:06:45 2007 +0000 Moved a couple auto-filter rules from options.c into compat.c so that we are sure to only apply the perishable filter modifier when the receiving side is new enough to understand it. M compat.c M options.c commit 27122338dc9a7ccef24c4de292ed20899053f703 Author: Wayne Davison Date: Fri Mar 2 21:14:01 2007 +0000 Make the auto-generated protect filters use the perishable flag so that they don't stop a vanished directory from being removed. M options.c commit d762dfe94b9b9122f58a12ac1f5a0dfacee5dcb1 Author: Wayne Davison Date: Sat Feb 17 17:05:22 2007 +0000 Mention a couple more changes. M NEWS commit c4750c2a07772259375b530d8c8d74a86e92d198 Author: Wayne Davison Date: Sat Feb 17 17:00:40 2007 +0000 Make sure that a newly-created destination directory gets the same rules applied to it as other newly-created directories when --perms wasn't specified. M generator.c commit 3831f063198de700f35e8ff6aba944162527ada0 Author: Wayne Davison Date: Fri Feb 16 02:47:12 2007 +0000 - Moved the second send_extr_file_list() call to a better spot. - Moved the FILECNT_LOOKAHEAD define into rsync.h. M rsync.c M rsync.h M sender.c commit be91bd81b8cf3579e1e9e4af39a51eb44ee8a636 Author: Wayne Davison Date: Fri Feb 16 02:35:31 2007 +0000 Improved the incremental sending of file lists in two ways: (1) when the sender gets an index of a file to send, we make sure to send enough future file-list data relative to the new cur_flist value before we send the data for the file transfer (ensuring that the generator gets the data in a more timely manner), and (2) the generator flushes the output socket after each file-list object has completed its scan so that the sender knows in a more timely manner that more list data is needed. M generator.c M io.c M sender.c commit 2a40b503c06afff55ea6b3e6d3f760e8ef58c7f3 Author: Wayne Davison Date: Fri Feb 16 01:20:29 2007 +0000 Make sure that the am_server variable is non-zero after parsing the options we received over the socket. (Thanks, Matt!) M clientserver.c commit ba2133d6add082b059728074febdac6c520a4351 Author: Wayne Davison Date: Sun Feb 4 14:54:58 2007 +0000 Further modifications to the copyright comment section. M access.c M authenticate.c M backup.c M batch.c M byteorder.h M case_N.h M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M connection.c M errcode.h M exclude.c M fileio.c M flist.c M generator.c M getgroups.c M hlink.c M io.c M loadparm.c M log.c M main.c M match.c M options.c M params.c M pipe.c M progress.c M receiver.c M rsync.c M rsync.h M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M tls.c M token.c M trimslash.c M uidlist.c M util.c M wildtest.c commit 4f47fec04d2a98427d9f9783a073a5f1856ef342 Author: Wayne Davison Date: Sat Feb 3 22:46:57 2007 +0000 Added a license comment to the top of the file. M mkrounding.c commit ab3d6c6025162c19c082602aa1e488f22e40d392 Author: Wayne Davison Date: Sat Feb 3 05:13:17 2007 +0000 The "ndx" variable now holds the unique, over-the-wire value, not a value that is relative to the cur_flist object. This makes the variable consistent with how the sender and the receiver use it. M generator.c commit 121bfb2b4d9df88bfbc9917209842bb8d9d17e22 Author: Wayne Davison Date: Sat Feb 3 05:13:14 2007 +0000 The ndx arg passed to increment_active_files() is now the unique, over-the-wire value, making it consistent with the ndx arg that is passed to decrement_active_files(). M io.c commit 100018b7cdf4c5df206c16decb07a3c2680bb5e6 Author: Wayne Davison Date: Wed Jan 31 21:46:49 2007 +0000 Mention the year 2007 in the copyright declarations. M compat.c M flist.c M io.c M main.c M options.c M receiver.c M rsync.c M rsync.h M sender.c M token.c commit 1ff66d4c68058b023c5d2dd0904b07db7d6c0976 Author: Wayne Davison Date: Wed Jan 31 21:45:42 2007 +0000 Changed the main file-scan loop to not check for redo items when in incremental recurse mode -- it is enough to check for them when changing from one file-list to another. M generator.c commit 87a34ce56a9e9f498b68cb74da9aff7bac88f4f4 Author: Wayne Davison Date: Tue Jan 30 03:57:55 2007 +0000 The code can now set cur_flist to NULL sooner than it used to, so the flist_for_ndx() routine needs to work when cur_flist is NULL. M rsync.c commit 04c722d5e060248f6f8f01d8b9c01305c5a29d6a Author: Wayne Davison Date: Tue Jan 30 03:57:52 2007 +0000 - Renamed done_cnt -> msgdone_cnt. - Changed increment_active_files() to call check_for_finished_files() and to avoid calling both io_flush() and read_msg_fd() in the same iteration of a loop (since the former may have called the latter). M io.c commit 7730114b308fa9a6d66a84ba72bebce0aee571cb Author: Wayne Davison Date: Tue Jan 30 03:57:48 2007 +0000 Moved the code that checks for finished file-lists, for finished "redo" sends, and finished hard-links into check_for_finished_files(), a new function that takes the place of check_for_finished_hlinks(). This lets us signal the sender more rapidly when a file-list is done (which ensures that it sends us more work to do in a timely manner), and also avoids two potential deadlocks in the old code. M generator.c commit 7a2fa0c2d3ffa9288140b738b65e4eabb7e596c2 Author: Wayne Davison Date: Tue Jan 30 03:57:45 2007 +0000 Changed how send_extra_file_list() checks if we have enough future work. M flist.c commit 4eeaa1625314abb6bce386653f562eea352e7f7e Author: Wayne Davison Date: Tue Jan 30 03:37:47 2007 +0000 Improved a sentence. M OLDNEWS commit 8dca155fca03a83dcec6280581081d188e7e1312 Author: Wayne Davison Date: Sun Jan 28 06:39:52 2007 +0000 Some improvements from Matt. M README commit 2a5df8629964df5f5762d2b5de0a56f2ae6d73e1 Author: Wayne Davison Date: Sat Jan 27 16:30:33 2007 +0000 - Fixed a potential hang bug in wait_for_receiver() that could occur if the io_flush() call happened to read the last message from the receiver, causing the read_msg_fd() call to deadlock. - Fixed an error-looping problem when the server-side receiver failed to send a message down the error-msg pipe: we no longer try to send a new error about this new failure down the same failing pipe. - Make sure that we stop any deferring of forwarded messages in the generator when we are exiting with an error. M io.c commit 3ea6e0e7a1a3938acd6ce455b71d816a80b1eaca Author: Wayne Davison Date: Sat Jan 27 14:56:09 2007 +0000 Changed the variable "incremental" to "inc_recurse". M compat.c M flist.c M generator.c M io.c M main.c M receiver.c M rsync.c M rsync.h M sender.c commit 051ad69634a961188a09453b33abe605c2a55bd6 Author: Wayne Davison Date: Sat Jan 27 14:53:10 2007 +0000 Improved the talk of --hard-link improvements. M NEWS commit 744e63fb2abd7027316ac57fa64bc31d84218c1a Author: Wayne Davison Date: Sat Jan 27 14:37:53 2007 +0000 More extern tweaking. M receiver.c commit cc7b86bf9bd8523c9c1f0e7c0aa8741ad7352477 Author: Wayne Davison Date: Sat Jan 27 14:34:15 2007 +0000 The last MSG_DONE from the receiver to the generator is now followed by the stats.total_read value so that the generator can set its value to that of the receiver. This makes log_exit() log the right value when we're on the server side. M io.c M main.c commit 8c18ebe81d53ba65546feb5fff89ae574a361343 Author: Wayne Davison Date: Sat Jan 27 14:26:19 2007 +0000 Got rid of unused externs. M receiver.c M rsync.c M sender.c commit 33689f4803b8fa50b3862272451861610a1ed136 Author: Wayne Davison Date: Tue Jan 23 15:34:43 2007 +0000 Added an extra paragraph to the --link-dest option to make it more explicit that it is best used with an empty destination hierarchy. M rsync.yo commit 424d369179a2e89948609fa793210c49c16939a8 Author: Wayne Davison Date: Tue Jan 23 15:24:36 2007 +0000 Paul's patch to silence some 64-bit compiler warnings. M flist.c commit d0221f1d2bb77a8fa9ce8e86ab52ee566c7a9b77 Author: Wayne Davison Date: Sun Jan 21 14:51:52 2007 +0000 Fixed handling of "redo" items in protocol 30. M receiver.c commit 3be97bf931a73f43e68ad1b919510fca9bdd9134 Author: Wayne Davison Date: Sat Jan 20 22:10:14 2007 +0000 - Make sure that we can't write via io_flush() when msg_fd_in is temporarily set to -1. - Got rid of the msg2genr message cache. M io.c commit 4afab316073bed7dbd6215f788daf753e83c342e Author: Wayne Davison Date: Sat Jan 20 20:19:24 2007 +0000 We need to call msg2sndr_flush() in read_msg_fd() now. M io.c commit be21e29c351698b3f86caf13e446c5e4b19c9fde Author: Wayne Davison Date: Sat Jan 20 19:56:03 2007 +0000 Make sure defer_forwarding_messages is set when msg_fd_in gets set to -1. M io.c commit c5b6e57a136d5bdc1eff9ef11e69c7093065920e Author: Wayne Davison Date: Sat Jan 20 08:42:53 2007 +0000 Fixed some typos Matt found. M rsync.yo commit ca947dea3e18232b4c0d6ccc4ec43ed4077cbe5f Author: Wayne Davison Date: Wed Jan 10 01:49:35 2007 +0000 Moved the code that adds each file's length to stats.total_size so that the delete code doesn't change the value. M flist.c commit 2aea85ab5418cbb8b3fb88d881651e6f8e47bbeb Author: Wayne Davison Date: Tue Jan 9 20:03:34 2007 +0000 Removed a couple items (one complete, one that we don't need). M TODO commit 05a41409b1b4a459e7796b412fe8a14ad4280a80 Author: Wayne Davison Date: Fri Dec 29 14:17:26 2006 +0000 Mention that --prune-empty-dirs forces a non-incremental recursive scan. M rsync.yo commit 7a28d18448acbe1620a57c3c6b3d7c513aa67f8b Author: Wayne Davison Date: Fri Dec 29 14:17:21 2006 +0000 If prune_empty_dirs is set, don't set incremental. M compat.c commit 1e05b590c48734e780b5260f3ed1d89016fd86e2 Author: Wayne Davison Date: Fri Dec 29 01:22:51 2006 +0000 Fixed a typo and improved a sentence. M rsync.yo commit ce5fddc3ed022909918567882baa703545a44b8c Author: Wayne Davison Date: Fri Dec 29 00:56:25 2006 +0000 Added a sleep so that the --delete-delay action will always tweak the directory time, and reveal any lack of dir-time touch-up. M testsuite/fuzzy.test commit fd3f5af2aa76e687182a7dfab8a55016900689b1 Author: Wayne Davison Date: Fri Dec 29 00:55:28 2006 +0000 - Put directory retouching code into a separate function that is now called for all our touch-up needs. - Fixed a problem with --delete-delay interfering with the directory-time touch-up in incremental mode. M generator.c commit dde5b7722603b9818bdea65b4ef00bdbc6fbf9a2 Author: Wayne Davison Date: Fri Dec 29 00:12:42 2006 +0000 - My use of readfd_unbuffered() in read_msg_fd() really needed to be readfd() so that the buffer is never partially filled. - Make sure that msg2genr_flush() does not flush any messages while the flist-forwarding is active. - Changed io_flush() to honor its flush_it_all arg again. M io.c commit f845ef7decf84b4deb87e2c7b8c4c24e1516cf02 Author: Wayne Davison Date: Thu Dec 28 19:02:01 2006 +0000 An incremental-recursion transfer can't switch from delete-delay to delete-after. M generator.c commit 9ae7a2cddbb19d14e1b4453cfd40d840ea3042d2 Author: Wayne Davison Date: Thu Dec 28 18:49:13 2006 +0000 Use write_ndx() and read_ndx(). M flist.c M generator.c M main.c M rsync.c M sender.c commit 8a65e0ce00bb5150c1cc70b985a649e0dc9e5278 Author: Wayne Davison Date: Thu Dec 28 18:49:08 2006 +0000 Added write_ndx() and read_ndx(), functions that allow us to transmit fewer bytes when exchanging the file-list index values. M io.c commit 98b1689dcba04ad6385eca04a3d9c02b5f65f1e7 Author: Wayne Davison Date: Thu Dec 28 18:43:20 2006 +0000 Output a file-list message when verbose and using incremental recursion mode. M flist.c commit 012d1a01f532976228e6f68374c8a5b2227a6481 Author: Wayne Davison Date: Thu Dec 28 16:40:24 2006 +0000 Mention incremental recursion and change to --delete. M NEWS commit d9f46544a3f7553e034084a21c6b76c7ce5bafe7 Author: Wayne Davison Date: Thu Dec 28 16:37:01 2006 +0000 Document the incremental recursion algorithm and the change in the --delete default. M rsync.yo commit 42c6b139019f7417a5067cdb93ad3f2452a69e7c Author: Wayne Davison Date: Thu Dec 28 15:43:30 2006 +0000 Restored the calling of send_file_entry() back to send_file_name() (since the reason I had separated it no longer exists). M flist.c commit f1482c3391484f17f9f58298e12208d76be7ec2f Author: Wayne Davison Date: Thu Dec 28 09:42:48 2006 +0000 Assign the owner and group using F_OWNER() and F_GROUP(). M flist.c M uidlist.c commit 5bb7348509023645ae39d10aa386a260b28e5da7 Author: Wayne Davison Date: Thu Dec 28 09:42:44 2006 +0000 - Define F_OWNER() and F_GROUP() to be used for assigning the UID and GID. - F_UID() is now defined to return a uid_t value. - F_GID() is now defined to return a gid_t value. M rsync.h commit 4c9d5fef07041b2b210a9e7c1cfbf883f848d2f1 Author: Wayne Davison Date: Thu Dec 28 08:57:25 2006 +0000 Repositioned a misplaced assignment. M flist.c commit 56078033762f8b62918a20abe1dd59fd6f719f82 Author: Wayne Davison Date: Thu Dec 28 07:54:47 2006 +0000 - Added a sleep to make sure that the preservation of the mtime on implied directories is working. M testsuite/relative.test commit 76e0a49efe6a5ce4ecdb4d74eb1f2301aa31345c Author: Wayne Davison Date: Thu Dec 28 07:54:44 2006 +0000 Handle slight differences in the output of protocol 30's incremental mode. M testsuite/itemize.test commit 76a1013cc6a93722546abdacefba42684e011e33 Author: Wayne Davison Date: Thu Dec 28 07:54:41 2006 +0000 Use --delete-delay instead of --delete-after. M testsuite/fuzzy.test commit 496c809f8cf529c5a95f9578b34a9299b0d92ffb Author: Wayne Davison Date: Thu Dec 28 07:54:37 2006 +0000 - Made match_uid(), match_gid(), recv_user_name(), and recv_group_name() public functions. - Made add_uid() and add_gid() return the name or NULL. M uidlist.c commit 3ac830b9f91dc5ee088769d35962484465f301ac Author: Wayne Davison Date: Thu Dec 28 07:54:34 2006 +0000 A few minor tweaks to handle the newest variable names. M hlink.c commit f3d6d4800b35fd65d2395defdb57fed16cea3e85 Author: Wayne Davison Date: Thu Dec 28 07:54:31 2006 +0000 Handle the new incremental-recursion mode. M generator.c M main.c M receiver.c M rsync.c M sender.c commit 8ef246e0b5a3aa9944dab4275353c50aab9f955c Author: Wayne Davison Date: Thu Dec 28 07:54:27 2006 +0000 - Handle the new incremental-recursion mode. - Changed some function names to make them more consistent. M io.c commit c7e6f84f897b7c69038b80434900571ed206c1d5 Author: Wayne Davison Date: Thu Dec 28 07:54:23 2006 +0000 New functions, variables, and file-list code to support the new incremental-recursion mode. M flist.c commit fe04532ad287836dbba6305b734e6fd1978e02c6 Author: Wayne Davison Date: Thu Dec 28 07:54:19 2006 +0000 New support function: change_local_filter_dir(). M exclude.c commit e4b619b46d6ad596a8e5ceaa6b5d34b0fd2cc527 Author: Wayne Davison Date: Thu Dec 28 07:54:16 2006 +0000 - Choose --delete-before or --delete-during depending on protocol version. - Set incremental-recursion mode, if possible. - Protocol 30 gets generator->sender messages enabled. M compat.c commit 9ec3828b031df2ca472efe61e950673949bec3ce Author: Wayne Davison Date: Thu Dec 28 07:54:13 2006 +0000 Some new defines for incremental-recursion mode. M rsync.h commit e0e32031564b805e72d6c31a1336843ae4a94a79 Author: Wayne Davison Date: Thu Dec 28 07:54:10 2006 +0000 - Changes to handle new default of --delete-during for --delete. - Allow -H to be repeated. M options.c commit edb977215ba3ac0d64dc7208f67791afe11bb55d Author: Wayne Davison Date: Thu Dec 28 07:54:07 2006 +0000 Only append_mode > 0 now indicates option is enabled. M match.c commit 18233a170eb92412033ca9e1f7be341ffb4e31b3 Author: Wayne Davison Date: Thu Dec 28 07:54:04 2006 +0000 Only sparse_files > 0 now indicates option is enabled. M fileio.c commit 283887d7779e424a5f0a833f313df96a28f850bc Author: Wayne Davison Date: Thu Dec 28 07:08:13 2006 +0000 Neaten up use of uid_t/gid_t variable types. M uidlist.c commit c2f0e4d965849a8860c5bb8f59ba548fc28805ec Author: Wayne Davison Date: Thu Dec 28 06:27:22 2006 +0000 Don't include MATCHFLG_PERISHABLE in CVS-exclude handling unless we're talking protocol 30 or above. M exclude.c commit 8576397c3e51319260bd0ec8cc7f8663d90afb2c Author: Wayne Davison Date: Wed Dec 27 21:40:16 2006 +0000 Fix the building of mkrounding$(EXEEXT) when building outside the source directory (provided by Art Haas). M Makefile.in commit c09af06d0c8f29e294c097740f71c9eaed0b04ae Author: Wayne Davison Date: Wed Dec 27 17:43:51 2006 +0000 Made the int_byte_cnt[] array 75% smaller. M io.c commit ded73ed90f34e2c075f32378f91526e3ffcb0c3d Author: Wayne Davison Date: Wed Dec 27 17:36:57 2006 +0000 Ignore all conftest* items, as Matt suggested. M .cvsignore commit f335eb1f83fa27de73e05b16c6ced424f419dec3 Author: Wayne Davison Date: Tue Dec 26 05:56:38 2006 +0000 Fix usage message. M tls.c commit 7afa34fd276bf03ded67e82738c3b86c9674fdd0 Author: Wayne Davison Date: Tue Dec 26 05:29:05 2006 +0000 Test --only-write-batch option. M testsuite/batch-mode.test commit 1f56188f8ca68212e2635863891da76119518806 Author: Wayne Davison Date: Mon Dec 25 17:49:23 2006 +0000 Can just test ignore_errors w/o lp_ignore_errors(module_id) now. M flist.c M generator.c commit 3162ea6f672b0f861319d634c3c0e1615124dd91 Author: Wayne Davison Date: Mon Dec 25 17:49:19 2006 +0000 Set ignore_errors variable based on lp_ignore_errors(module_id). M clientserver.c commit 327c559aff771314cef19d9485d317a08283da01 Author: Wayne Davison Date: Sun Dec 24 06:13:08 2006 +0000 Improved the new --pasword-file error message. M main.c commit 99effefc8105c019c6fbefbfc3f4f5ed6705d910 Author: Wayne Davison Date: Sun Dec 24 05:47:21 2006 +0000 Fixed a thinko in the last news item. M NEWS commit e8dad395185b32531a8333d380c0aa6a284c12e2 Author: Wayne Davison Date: Sun Dec 24 01:30:44 2006 +0000 Mention checking of --password-file's use. M NEWS commit 09a54c399c2be75d067d7d5159eae4bbe0f152eb Author: Wayne Davison Date: Sun Dec 24 01:30:24 2006 +0000 Make the --password-file option's summary even better. M options.c M rsync.yo commit 9586e593704baf56b373c85e0469d464d5c34231 Author: Wayne Davison Date: Sun Dec 24 00:58:30 2006 +0000 Improved the docs for the --password-file option. M rsync.yo commit ce455b03e76b188dc68642e0fcb5ca17f705ae20 Author: Wayne Davison Date: Sun Dec 24 00:58:24 2006 +0000 Improved the summary of the --password-file option. M options.c commit a39da29ac5c373f76cabbf010f75d3ada0ddbf79 Author: Wayne Davison Date: Sun Dec 24 00:58:21 2006 +0000 If the user specified --password-file without using daemon mode, complain and die. M main.c commit 794a0b6c25375ff6fcfb35700b0511334d31e9c8 Author: Wayne Davison Date: Sat Dec 23 23:57:16 2006 +0000 Make use of the SHORT_SUM_LENGTH define. M checksum.c commit 1b81f797a2c12b6a4e34250451ed791ab0065e0e Author: Wayne Davison Date: Sat Dec 23 20:48:29 2006 +0000 Fixed a problem with the output of %f for non-daemon rsyncs. M log.c commit 889ae39d7adc30ecfdacc39b37c8d9c11cdabb7f Author: Wayne Davison Date: Sat Dec 23 20:46:33 2006 +0000 Mention the %f fix. M NEWS commit 5f4e991c7059cf7887c16bb5cacddc8fb31faf26 Author: Wayne Davison Date: Wed Dec 20 00:50:17 2006 +0000 Fixed the item numbers in the regex comment. M support/file-attr-restore commit c96f6eb5840b619cbfe6d0378bd06ef6cf6ac7ae Author: Wayne Davison Date: Mon Dec 18 07:24:24 2006 +0000 Call SIGACTION() instead of signal(). M support/savetransfer.c commit e10664c5e877bd75b58fe542024fcecf74e55091 Author: Wayne Davison Date: Mon Dec 18 06:56:30 2006 +0000 Moved the write_stream_flags() call from io.c into main.c so that it gets called before the transfer starts (thus ensuring that it can write out un-tweaked values of preserver_[ug]id vars). M io.c M main.c commit 99a957d3f4919e6e47a838ae068a5fd45a99105d Author: Wayne Davison Date: Mon Dec 18 06:56:26 2006 +0000 Renamed flist_extra_cnt to file_extra_cnt. M compat.c M flist.c M rsync.h commit 658a63694bb0ff47ad5a63fb3d98e51954b57b1f Author: Wayne Davison Date: Mon Dec 18 06:56:23 2006 +0000 Got rid of the "tweaked" versions of the uid and gid vars. M batch.c commit 30e50494bbb057d4191e4636b963c6b7b0770ece Author: Wayne Davison Date: Mon Dec 18 06:41:00 2006 +0000 Tweaked the output a little. M mkrounding.c commit 719985cb9ce1d4866c47b155194a3968ae58541a Author: Wayne Davison Date: Sun Dec 17 04:42:33 2006 +0000 A few more minor tweaks. M hlink.c commit 2d2414f39ec3047d29ddd5edf18a1e98a2534470 Author: Wayne Davison Date: Sun Dec 17 02:05:11 2006 +0000 - We now define int16 and uint16. - Make use of the [u]int{16,32,64}_t types, if they're around. M rsync.h commit edb4ba5fdb8358d007ff9cfcd5c4f5420627599c Author: Wayne Davison Date: Sun Dec 17 01:59:03 2006 +0000 We now check for these: int16_t, uint16_t, int32_t, uint32_t, and int64_t. M configure.in commit 007996b40da03a5880ca9b4a6d40a8182808335d Author: Wayne Davison Date: Sun Dec 17 00:40:39 2006 +0000 Got rid of the code that sorted based on struct idev objects since we always use a hardlinked group-number now. M hlink.c commit dbd9ea3e5afd7564f41170e19eed7ebd7e974638 Author: Wayne Davison Date: Sun Dec 17 00:40:36 2006 +0000 Use F_ROOTDIR() in place of dir.root. M log.c M sender.c commit 2ef03405174835db3736e38b192395c0c60bc8cb Author: Wayne Davison Date: Sun Dec 17 00:40:33 2006 +0000 Use F_DEPTH() in place of dir.depth. M generator.c commit 9d737ecb7ad35232104913df1ee01dc5623b12d2 Author: Wayne Davison Date: Sun Dec 17 00:40:28 2006 +0000 Got rid of the hlink_pool in favor of using the new hashtable code on the receiving side. This allows us to always use a 32-bit number to identify the hardlink clusters, even on a system where pointers are 64-bits. Also made changes to handle the use of F_ROOTDIR() and F_DEPTH() instead of the old union that wasted space on the receiving side when pointers are 64-bits. M flist.c commit bd6edd3fa26dde8d134edb0166665c12082dd9a6 Author: Wayne Davison Date: Sun Dec 17 00:40:24 2006 +0000 - Got rid of "struct idev". - Use just the 32-bit numbers in the file_extras union. - Re-ordered the items in the file_struct to avoid padding on systems with 64-bit pointers. - Got rid of the "dir" union in the file_struct, making the two items into "extras": F_DEPTH() for the receiving side, and F_ROOTDIR() for the sending side. - Added PTR_EXTRA_LEN define. - Got rid of F_HL_IDEV() define. M rsync.h commit 6eee13cf580ef3270539098eead19259192aa497 Author: Wayne Davison Date: Sun Dec 17 00:40:21 2006 +0000 Moved the flist_extra_cnt stuff from options.c to compat.c so that the values will be computed separately for the sender and the receiver. M compat.c M options.c commit 9602b5cfbde40d3e56e98b7b6002cfb421e91e50 Author: Wayne Davison Date: Sun Dec 17 00:40:18 2006 +0000 - Ensure that mkrouding gets rebuilt when rsync.h changes. - Added an easy way to run the tests using protocol 29. M Makefile.in commit 48ffc11e9cd35d57f518a5cac8e56d79d424ca04 Author: Wayne Davison Date: Sat Dec 16 23:14:59 2006 +0000 Make the error messages a little clearer. M testsuite/delete.test commit 5a3e9ff6081cb83873881df9a7bcfc19f9af5e58 Author: Wayne Davison Date: Sat Dec 16 21:11:58 2006 +0000 Output some info about the size of our structures. M mkrounding.c commit aac5cab80b9d4fc0adff2b72aeba2406176930ae Author: Wayne Davison Date: Sat Dec 16 19:24:17 2006 +0000 Changed the static file_struct var to match the changes in rsync.h. M log.c commit a3e18c763a3bef045177aafc8be349b210d91cad Author: Wayne Davison Date: Sat Dec 16 19:24:14 2006 +0000 Use the new rounding.h file to optionally round up the count of extra values we put at the start of the file_struct. Also, deal with the extras variable no longer being in the file_struct. M flist.c commit 403dbc1377e985b515c803651d526761fac74163 Author: Wayne Davison Date: Sat Dec 16 19:24:11 2006 +0000 Build & run mkrounding to make the rounding.h file used by flist.c. Also, clean up the new items. M Makefile.in commit 5b30412c68f55f518a3070359fbd636774d5ec3a Author: Wayne Davison Date: Sat Dec 16 19:24:08 2006 +0000 Moved the file_extra union out of the file_struct. M rsync.h commit d5833800a8d14bf8b57002e837ce69f3adbae694 Author: Wayne Davison Date: Sat Dec 16 19:24:05 2006 +0000 New file to figure out if a system has any rounding needs when prepending extra values at the start of the file_struct. A mkrounding.c commit 8d3a785fa53f0334822dfccdb5d643c7bcebd225 Author: Wayne Davison Date: Sat Dec 16 19:24:02 2006 +0000 Added mkrounding and rounding.h. M .cvsignore commit 3a5a7de6c91a1943f2a264a1606450e3a7f0c295 Author: Wayne Davison Date: Sat Dec 16 07:39:53 2006 +0000 Mention hard-link memory savings and byte-transfer savings. M NEWS commit c58c1dc44601db434a9fdfa923d1b123dc9a0f25 Author: Wayne Davison Date: Sat Dec 16 07:18:41 2006 +0000 Added a basename var to file_struct at the end, making it clearer where the basename exists without actually changing how the data is organized. M flist.c M generator.c M rsync.h commit eefe189e1d8a7919d3b69a8db6dede3cf7f8c250 Author: Wayne Davison Date: Sat Dec 16 02:18:44 2006 +0000 Changed the test for the 2.6.8 bug to preserve owner and group. M testsuite/chmod-option.test commit f05c80119448c117dfdeaf0a4eb6d174ce5d5f55 Author: Wayne Davison Date: Fri Dec 15 22:31:16 2006 +0000 Moved the calls to init_hard_links() into flist.c. M main.c commit c905bf37f6a6a248944c63ce85882f78b5255871 Author: Wayne Davison Date: Fri Dec 15 22:31:13 2006 +0000 Added a simple hashtable routine for hashing st_dev and st_ino info on the sending side, and the support routines for the receiving side that handle using a "group number" for each hard-link cluster rather than having to manage a pool of dev+inode data. (For protocol 30) M hlink.c commit 8cae71ebc3aaddb61068cb1b5ae279f1e8f90b68 Author: Wayne Davison Date: Fri Dec 15 22:31:10 2006 +0000 For protocol 30, the sender uses the new idev_node() hashfile routine to keep track of which item is the first one in a particular hard-link cluster. It then abbreviates the sending of any follow-on items in the cluster, reducing transfer bytes. It also omits the sending of any dev+inode data to the receiver, saving even more xfer bytes (since the receiver can associate the entries based on the the group's index number that is sent when abbreviating an entry). M flist.c commit 14d776ff0c8928f1e865edb9e394a23730e05393 Author: Wayne Davison Date: Fri Dec 15 22:31:07 2006 +0000 - The XMIT_SAME_DEV define is now pre-protocol-30 specific. - Added XMIT_HLINK_FIRST define. - Added struct idev_node. - Added F_HL_GNUM() for protocol 30 (used in place of F_HL_IDEV()). M rsync.h commit c7565dad84795355e9e4422a207c1a2acf22b5a4 Author: Wayne Davison Date: Thu Dec 14 22:38:21 2006 +0000 Renamed XMIT_HAS_IDEV_DATA to XMIT_HLINKED. M flist.c M rsync.h commit b7cfb9e2c08c052fd85fe722f812a94d25715313 Author: Wayne Davison Date: Wed Dec 13 15:36:15 2006 +0000 Renamed the F_*HLINK* macros to make their purpose clearer. M generator.c M rsync.h commit 0d152437dff56d2dfcbd8050d4be07a589ae0073 Author: Wayne Davison Date: Wed Dec 13 14:52:59 2006 +0000 Tweaked the option-passing code's delete logic to make it cleaner. M options.c commit 6aef83c97d85046ccc4004ba368e4a615e0f8dd6 Author: Wayne Davison Date: Tue Dec 12 20:42:06 2006 +0000 Cast FILE_STRUCT_LEN & EXTRA_LEN to int for rprintf(). M flist.c commit 225aeca346b5d59f5058e900966f68d9f076c3d5 Author: Wayne Davison Date: Tue Dec 12 20:17:05 2006 +0000 Use new BITS_EQUAL() define. M generator.c M rsync.c commit 0a62f5f38237a5b9a10d1c75f4b624c0035431a3 Author: Wayne Davison Date: Tue Dec 12 20:17:02 2006 +0000 Added BITS_EQUAL() define. M rsync.h commit 234844915e81c9ebc3e95b2e312982d3d1eb59a3 Author: Wayne Davison Date: Tue Dec 12 15:01:57 2006 +0000 Removed last reference to "struct hlist". M rsync.h commit 263d3bfb40c9bba7bc57b46b9af43bda6ad1b80a Author: Wayne Davison Date: Tue Dec 12 14:58:10 2006 +0000 Neaten some function formatting. M flist.c commit bf466c0f82e75b1bd3544a35a40b447de43e8852 Author: Wayne Davison Date: Tue Dec 12 14:55:21 2006 +0000 Provide alternate F_LENGTH() define for systems with no 64-bit type. M rsync.h commit 8b58407586f65dd710823f39420368447f4ddeb1 Author: Wayne Davison Date: Sun Dec 10 21:56:37 2006 +0000 Mention fix for -vv --stats. M NEWS commit 64119c792da6c4fe98107861aab518a0add0fc13 Author: Wayne Davison Date: Sun Dec 10 14:55:44 2006 +0000 Added MSG_CLIENT to the acceptable messages the generator can get from the receiver. M io.c commit 8388e011ae6d53552229f8de4c15e609af228e92 Author: Wayne Davison Date: Sun Dec 10 14:54:08 2006 +0000 Added MSG_CLIENT to the msgcode enum. M rsync.h commit 0fddbd8a09b69f8f96dba770b9e313c5fc2fa895 Author: Wayne Davison Date: Sat Dec 9 17:35:36 2006 +0000 A minor format tweak. M generator.c commit badb8c24b9954a4c6f4725452c8e73f5f24cf2df Author: Wayne Davison Date: Sat Dec 9 00:24:11 2006 +0000 Handle the new output from the hard-link code, including a fix for a long-standing bug combinding -H with --compare-dest. M testsuite/itemize.test commit bfd3137246794e3eee55ae8e19968d50006050da Author: Wayne Davison Date: Sat Dec 9 00:24:08 2006 +0000 - Added FLAG_HLINK_DONE. - Added BITS_SET() and BITS_SETnUNSET() defines. - Got rid of unused HL_* defines. - Got rid of no-longer-needed struct hlist. - Changed F_HL_LIST() to F_HL_PREV(). - Added F_NOT_HLINK_FIRST() and F_NOT_HLINK_LAST(). - Got rid of WITH_HLINK and WITHOUT_HLINK. - Got rid of the hlink_pool in the file list. M rsync.h commit 6de0d062599b12263d212d55adfa8a4131ad8215 Author: Wayne Davison Date: Sat Dec 9 00:24:05 2006 +0000 Got rid of the pool-destroy call since this is not around anymore. M receiver.c commit 89d730a098341609988a87c28d6aefea89662e42 Author: Wayne Davison Date: Sat Dec 9 00:24:01 2006 +0000 Call the new hard-link init functions. M main.c commit 18979194cfd4b245f6d29064617257dd312ed683 Author: Wayne Davison Date: Sat Dec 9 00:23:58 2006 +0000 - Use the revamped hard-link functions. - Turned maybe_ATTRS_REPORT var into a global for use by hlink.c. M generator.c commit aadc84d359307e15115b5822f5d16d7faad133c1 Author: Wayne Davison Date: Sat Dec 9 00:23:55 2006 +0000 - Revamped the hard-link algorithm to save memory. - Improved the function names. - Improved a few variable names. - Got rid of the "is a hard link" message in favor of the normal status messages for files (e.g. --itemize-changes indicates hard-links). - Fixed a long-standing bug when combining -H with --compare-dest. - Made sure that code compiles when hard-linking is not available. M hlink.c commit 9d155ecd121ca2a7e58886b81a7b196a26231b0b Author: Wayne Davison Date: Sat Dec 9 00:23:51 2006 +0000 Changed the hlink_pool variable to be a global since only the main file list ever has a pool for hard-linking. M flist.c commit 60af946576ba43a94d7adea0ff3b5ef5e9e28e09 Author: Wayne Davison Date: Fri Dec 8 21:02:11 2006 +0000 Explicitly cast the length values down to an uint32 so that some compilers don't complain about the value getting smaller. M flist.c commit ca0e8296bcbec60785835f824f7cc4072ac7842b Author: Wayne Davison Date: Fri Dec 8 20:58:51 2006 +0000 Get rid of some signed/unsigned-comparison compiler warnings. M generator.c commit c4a28da3adf75f6c3dede36a9cac938720a5a7c1 Author: Wayne Davison Date: Fri Dec 8 20:47:09 2006 +0000 Use --delete-delay instead of --delete-after. M testsuite/backup.test commit 20319fd9ede4ad873ba746942453fe462f2874af Author: Wayne Davison Date: Fri Dec 8 20:42:45 2006 +0000 - The --delete-delay code now does its own output buffering. This allows us to delay opening a temp file to hold the list of deletions until we overflow the buffer (and thus, it's not usually needed). - Fall back to doing a --delete-after pass if the --delete-delay code has a temp-file-writing failure. M generator.c commit 01d29d7b02ba84510e288439872947365c07beff Author: Wayne Davison Date: Fri Dec 8 15:10:12 2006 +0000 Fixed --delete-delay by making the fprintf() output an unsigned short for the mode. M generator.c commit 11832604264e49a6399352020fefa240a881b144 Author: Wayne Davison Date: Thu Dec 7 06:22:22 2006 +0000 Added missing initialization of new solo_file variable. M generator.c commit 07613def0adabec5e1461a1b0cc4c807e9ed2f25 Author: Wayne Davison Date: Thu Dec 7 03:31:44 2006 +0000 Some minor format tweaks. M main.c commit c2a608d9f147d9e903886b0ed40e3c7f9faec8f7 Author: Wayne Davison Date: Thu Dec 7 03:31:41 2006 +0000 - Use renamed hard-link defines: F_HL_IDEV() and F_HL_LIST(). M hlink.c commit 49b86442ff118a2d8d1ad14f56d5c409f25f31c2 Author: Wayne Davison Date: Thu Dec 7 03:31:38 2006 +0000 - Set "solo_file" bool and use that for improved clarity. - Use the new device defines: F_RDEV_P(), DEV_MAJOR(), and DEV_MINOR(). M generator.c commit 4785cd43d136e6aa4879597683ca9cb6a21f0db5 Author: Wayne Davison Date: Thu Dec 7 03:31:34 2006 +0000 - Use the new device defines: F_RDEV_P(), DEV_MAJOR(), and DEV_MINOR(). - Use renamed F_HL_IDEV() define. M flist.c commit e238c9977dd2542b99585b484c4659b5eb469fd8 Author: Wayne Davison Date: Thu Dec 7 03:31:31 2006 +0000 Use the new device defines: F_RDEV_P(), DEV_MAJOR(), and DEV_MINOR(). M backup.c commit b37b7c9949060919e326226b6799186815d3b5a3 Author: Wayne Davison Date: Thu Dec 7 03:31:28 2006 +0000 - Added a signed number to the flist_extras union. - Renamed F_IDEV() to F_HL_IDEV() and F_HLIST() to F_HL_LIST(). - Changed device defines to be: F_RDEV_P(), DEV_MAJOR(), and DEV_MINOR(). M rsync.h commit f7d7fb381d49aa23f51ec81a4badd528c5d2db90 Author: Wayne Davison Date: Thu Dec 7 02:37:42 2006 +0000 Improved the format of the debug output for mknod(). M generator.c commit 3481bdf4938b9788dd43d98482e1cae37a1c0cc6 Author: Wayne Davison Date: Wed Dec 6 17:27:47 2006 +0000 Mention waitpid() fix (which helps pre-xfer exec). M NEWS commit d365e229678eb7ae758a415d100043f6e07dea35 Author: Wayne Davison Date: Wed Dec 6 17:21:59 2006 +0000 The wait_process() call now handles EINTR. M main.c commit d02363609a73a62a2c5cfd06f02a7e8babe1bc75 Author: Wayne Davison Date: Wed Dec 6 16:56:19 2006 +0000 If the pre-xfer exec failed with -1, output the strerror() from the waitpid() call. M clientserver.c commit 1e1ca25343206df0ad8dccaefdae0506c7817532 Author: Wayne Davison Date: Wed Dec 6 01:32:17 2006 +0000 #ifdef calls to hard-link functions. M generator.c M io.c M main.c commit a2ebbffca75efb33a81624c2d7f5644784e0992b Author: Wayne Davison Date: Wed Dec 6 01:26:11 2006 +0000 - Make some char* pointers const. - Tweaked a couple variable names. - Changed the #ifdefs to not define any hard-link functions when hard-linking is disabled. M hlink.c commit 0395130c062f2abb282415697ccdfb3edc997bd5 Author: Wayne Davison Date: Wed Dec 6 00:55:33 2006 +0000 Changed i -> ndx in several variables. M receiver.c commit b8c167e804b43c6f5d4e50f93a5f88024ef4152d Author: Wayne Davison Date: Wed Dec 6 00:52:34 2006 +0000 F_SUM() needed to use HLINK_BUMP(). M rsync.h commit 17026f2741b2031ab2b8a40e9078221548abea1c Author: Wayne Davison Date: Tue Dec 5 17:45:29 2006 +0000 Handle the FLAG_LENGTH64 flag in unmake_file(). M flist.c commit 112d728f4858fef5c75e0b25bf6f02af8aa5b83c Author: Wayne Davison Date: Tue Dec 5 15:59:58 2006 +0000 Use the latest F_*() accessors. M generator.c M hlink.c M io.c M log.c M receiver.c M sender.c commit 96293cf991fc9b550f48c08af74d834723a00a3a Author: Wayne Davison Date: Tue Dec 5 15:59:53 2006 +0000 Saved 9 more bytes per file in a typical transfer by making the length 32 bits by default, by removing the basename pointer, and by making the mode value a unsigned short. M flist.c M rsync.h commit f0fbf1d670ee13bb461d44ac089ef9ecea267c7f Author: Wayne Davison Date: Tue Dec 5 15:59:49 2006 +0000 Changed flist_extra_ndx into flist_extra_cnt. M batch.c M options.c commit 7a821d518b900bdaa3183e155740961b57fac7e9 Author: Wayne Davison Date: Tue Dec 5 15:59:46 2006 +0000 Tweaked some externs. M backup.c commit 663b2857ebe84df29c10c17c818040ceb9569593 Author: Wayne Davison Date: Mon Dec 4 02:07:37 2006 +0000 Use new send_msg_int() function. M generator.c M hlink.c M receiver.c commit 155d9206a4d5b199d056b2932c62c292e58c0d69 Author: Wayne Davison Date: Mon Dec 4 02:07:30 2006 +0000 Added send_msg_int() function. M io.c commit 6b2a3d5de667e4abf938c453121340ad47ccc5c0 Author: Wayne Davison Date: Sun Dec 3 07:58:12 2006 +0000 Moved an extern. M backup.c commit 82ad07c4182f744c07b96a15df4572e559ed7dc8 Author: Wayne Davison Date: Sun Dec 3 06:44:16 2006 +0000 - Typical tranfers now save 12-20 bytes per file because several vars were moved out of file_struct into an optional member-var setup. - Renamed and reorganized the FLAG_* defines. - Use NDX_DONE instead of a literal -1 when sending/checking the end-of-phase index value. M backup.c M batch.c M flist.c M generator.c M hlink.c M log.c M main.c M options.c M receiver.c M rsync.c M rsync.h M sender.c M uidlist.c commit d144e43bb3ea77bdc9d1dd68a648166970822dd6 Author: Wayne Davison Date: Sat Dec 2 16:17:11 2006 +0000 Restored write_ndx_and_attrs() and made it public. M sender.c commit d2aee174e68b860180e8cd17070a63675fe2e3a1 Author: Wayne Davison Date: Sat Dec 2 16:16:54 2006 +0000 Moved write_ndx_and_attrs() to sender.c and made it public. M rsync.c commit 20f0d0f9b9d4b373fdd2198a71d43a2c987e252a Author: Wayne Davison Date: Sat Dec 2 16:13:02 2006 +0000 Moved write_ndx_and_attrs() too. M rsync.c M sender.c commit b675ba6f7977494986e9954e32360983205f2507 Author: Wayne Davison Date: Sat Dec 2 16:11:33 2006 +0000 Added a couple externs. M rsync.c commit d1c178dd53c716979ea603c83a83955684b3cb64 Author: Wayne Davison Date: Sat Dec 2 16:08:59 2006 +0000 Moved read_item_attrs() from sender.c to rsync.c since the function is used by both the sender and the receiver. M rsync.c M sender.c commit d619ff1376cf0a55ff2fa0a6baa776f22cac5139 Author: Wayne Davison Date: Fri Dec 1 18:29:18 2006 +0000 Change the format/order of the capabilities --version outputs. M options.c commit db0f7613e19253fce9de275ebf00bc04e23bc537 Author: Wayne Davison Date: Tue Nov 28 19:34:01 2006 +0000 Got rid of an incorrect comment. M util.c commit 45d8bfe09e10cecb49b030767d4bfc995d42b903 Author: Wayne Davison Date: Tue Nov 28 19:31:41 2006 +0000 Added some more "const" prefixes to some "char *" vars. M backup.c M flist.c commit d521e1c2a1980d241b0ca611d71c78d51bf255f5 Author: Wayne Davison Date: Fri Nov 24 20:21:13 2006 +0000 - Use write_shortint() to send the 2 bytes in an extended flag. - Improved a comment. M flist.c commit 4ea4acf17ba245e64a0d549e030fa9def99750ea Author: Wayne Davison Date: Fri Nov 24 18:35:00 2006 +0000 - Added checking of SIZEOF_INT64 to the new code in read_longint(). - Improved the SIZEOF_INT64 checking code in write_longint(). M io.c commit 3a993aa4bfb2b968012dc40eb1b4fd3fa4a81c6c Author: Wayne Davison Date: Fri Nov 24 17:28:57 2006 +0000 - Changed {read,write}_shortint() to use unsigned short. - Added explicit char-casting to new long-int code. M io.c commit c7871d989247616dd0590285bd5eb17d35a67022 Author: Wayne Davison Date: Fri Nov 24 08:46:21 2006 +0000 Document the latest changes. M NEWS commit 482f48cca9055325330094991378561b603f988f Author: Wayne Davison Date: Fri Nov 24 08:38:44 2006 +0000 - Fixed a bug when sending a negative 64-bit number (which may not be needed, but it at least works right now). - Improved the transmission of 32-bit negative numbers on systems where the 32-bit type is larger than 32 bits. - Changed the sending of 64-bit numbers for protocol 30: we send them in MSB-first order with the number of bytes used in the transmission encoded into the earliest bits. This lets us save transmitted bytes for both small and large numbers. The new method sends from 3 to 9 bytes, the old sent either 4 or 12. M io.c commit 36e6594dce8b6a5a2dbc8369bff1ded914443fd1 Author: Wayne Davison Date: Fri Nov 24 08:22:23 2006 +0000 Added some defines for sending variable-sized MSB-first numbers. M byteorder.h commit e17883827b2f387e00172ac280484d77be47f70f Author: Wayne Davison Date: Thu Nov 23 04:16:48 2006 +0000 Silenced a compiler warning. M generator.c commit 37a4386d2c3260f8c4ed6b9268a5d48f847ec85b Author: Wayne Davison Date: Thu Nov 23 03:28:58 2006 +0000 Fix a unused-variable compiler warning. M popt/popt.c commit fd0a130c14b25be3e84fddb5b78da9a4f8933e67 Author: Wayne Davison Date: Wed Nov 22 20:52:51 2006 +0000 Document the new --delete-delay option. M rsync.yo commit 5e77efaf4107568f73bbdb7be3f0182d556229bc Author: Wayne Davison Date: Wed Nov 22 20:51:03 2006 +0000 - Implement new --delete-delay option. - Tweaked a variable name in delete_item(). M generator.c commit b0cacef14b62dae31f044a0b580ee35b0a2bfbe3 Author: Wayne Davison Date: Wed Nov 22 20:49:23 2006 +0000 Added parsing for --delete-delay. M options.c commit b20830b338da114c6248726d15c2d15ed09fee91 Author: Wayne Davison Date: Wed Nov 22 20:48:04 2006 +0000 Made get_tmpname() non-static. M receiver.c commit c63625d41a9d632519c5a975b6383c203f7ee9a0 Author: Wayne Davison Date: Wed Nov 22 16:34:25 2006 +0000 Switch over to testing --remove-source-files, not *-sent-*. M testsuite/delete.test commit 7de7b49f6cfa6182837c493d497f7509b7391ec4 Author: Wayne Davison Date: Tue Nov 21 22:29:33 2006 +0000 Don't define NORETURN for older gcc versions. M rsync.h commit d0d0e41fd2f5e4777c87d199600d64007964a674 Author: Wayne Davison Date: Tue Nov 21 19:08:59 2006 +0000 Mention latest changes. M NEWS commit 2a28dd32fddfcb86a8ece12628f765c9f8e88d08 Author: Wayne Davison Date: Tue Nov 21 17:46:54 2006 +0000 The exclude code wasn't sending the MATCHFLG_NEGATE (!) char to the other side. M exclude.c commit 65e83e097c8635856816a07bab5e330a6615dfc1 Author: Wayne Davison Date: Tue Nov 21 08:37:28 2006 +0000 Don't set an "rc" var that we aren't going to use. M popt/popt.c commit 4f3755923230c66e8dd3b2ff36d6f554cf18e131 Author: Wayne Davison Date: Tue Nov 21 08:37:06 2006 +0000 Avoid a compiler warning about setting "len" without using it. M syscall.c commit 604dbf6d942ad09ba4484cc16012746fcc17d998 Author: Wayne Davison Date: Tue Nov 21 08:36:48 2006 +0000 Make the file_list stats value an int64. M rsync.h commit 53593085cf6dbaa141c3b8f45e1883523a8cfe8b Author: Wayne Davison Date: Tue Nov 21 08:36:31 2006 +0000 - Use an explicit cast when a value gets stored in a smaller var. - The msgtype var should have been an enum. M receiver.c commit eb0144d79b4a52be68dd975cc64149ea4bd9080f Author: Wayne Davison Date: Tue Nov 21 08:36:15 2006 +0000 Output the size of the file list using human_num(). M main.c commit 54b0dfa0f7344fb8db25ef7ba118f7e9e0f9d83d Author: Wayne Davison Date: Tue Nov 21 08:36:06 2006 +0000 Explicitly cast the tag value in read_msg_fd() to an enum. M io.c commit 264042760bd909eeca281dc8c937357e98bf6bf8 Author: Wayne Davison Date: Tue Nov 21 08:35:58 2006 +0000 Use an explicit cast when a value gets stored in a smaller var. M checksum.c M fileio.c M flist.c M generator.c M match.c M options.c M util.c commit 1e999f9f1b6940a4b355054b5f15435c3030996c Author: Wayne Davison Date: Tue Nov 21 08:35:22 2006 +0000 The call to do_chmod() needed to be conditional. M backup.c commit f9b66bc4641e8b7cd1a9ddfac8319cd9dfaa6ea8 Author: Wayne Davison Date: Mon Nov 20 19:12:35 2006 +0000 Fixed a problem with the new iconv const check. M configure.in commit 60d465dbdd95d813b322c19ce00b145ee37cb722 Author: Wayne Davison Date: Mon Nov 20 18:17:48 2006 +0000 Use the new ICONV_CONST definition. M log.c commit 3ebdd3c7fc6a3c5845edda4b9a7e177883e6f4ac Author: Wayne Davison Date: Mon Nov 20 18:17:17 2006 +0000 Added a test to figure out if iconv() takes a const char **. M configure.in commit f0fa8c6df2f803e83b849d1f40a71b8852d2cbf7 Author: Wayne Davison Date: Sun Nov 19 04:39:35 2006 +0000 Moved the options_rejected label to avoid a compiler warning on some systems. M options.c commit 9d33e6f7cf876f0356d9b83bde0896ebbd9c2bc0 Author: Wayne Davison Date: Sun Nov 19 04:37:52 2006 +0000 Use rwrite() to output the err_msg string. M clientserver.c commit 4a19c3b254b01c298fe25d72f450a760278e9386 Author: Wayne Davison Date: Sun Nov 19 00:23:21 2006 +0000 Added "const" to appropriate char pointers. M authenticate.c M checksum.c M clientserver.c M flist.c M generator.c M hlink.c M io.c M lib/pool_alloc.c M lib/pool_alloc.h M log.c M pipe.c M rsync.h M syscall.c M util.c commit 4743f0f41b2e180d22616c89331ee3b06d628628 Author: Wayne Davison Date: Tue Nov 14 07:56:05 2006 +0000 Some bf(...) tweaks. M rsync.yo commit 0abe148fd91d83ac34ef59848ff474754ff0761b Author: Wayne Davison Date: Tue Nov 14 07:55:47 2006 +0000 - Use double quotes for a quoted string. - Some bf(...) tweaks. M rsyncd.conf.yo commit 39411fa876bb23ad9ba9b05c5b62912dc6d3108a Author: Wayne Davison Date: Tue Nov 14 07:54:26 2006 +0000 Added: also tweak single-/double-quotes and em-dashes. M tweak_manpage commit 662fd70b5485e158286686e663ce7384bff3ab59 Author: Wayne Davison Date: Tue Nov 14 07:48:56 2006 +0000 Changed name of tweak_manpage script. M prepare-source.mak commit cd87e2f59abe075139af21039dd857fd90849fa5 Author: Wayne Davison Date: Mon Nov 13 00:27:10 2006 +0000 Turned the char * vars flist_dir and lastdir into const char * vars. M flist.c commit 2c70847654b277b310f15189a73d2ccbf5802383 Author: Wayne Davison Date: Mon Nov 13 00:27:04 2006 +0000 Turned the char * args to push_dir() and pop_dir() into const char *. M util.c commit eaf895e6efca5348e96375425f15fc94ddebcd71 Author: Wayne Davison Date: Mon Nov 13 00:27:00 2006 +0000 Turned the char *dir.root var in struct file_struct into a const char *. M rsync.h commit 149a78e33f1632c8a3bdd00e10aecf69c8d5608d Author: Wayne Davison Date: Sun Nov 12 21:18:26 2006 +0000 Ignore a time-setting error on a symlink (which is only attempted on a system with lutimes() anyway). M util.c commit 88897638a98d39721a059e44ebcbcdcdcaf80df1 Author: Wayne Davison Date: Sat Nov 11 17:09:32 2006 +0000 Tweaked a couple comments. M generator.c commit c575f8ce87d68d133edd2114f44bd58c08824fff Author: Wayne Davison Date: Sat Nov 11 17:01:58 2006 +0000 Document the new p (perishable) filter modifier. M rsync.yo commit 5303941021034f9b6272d5c1512096e125aece1e Author: Wayne Davison Date: Sat Nov 11 16:44:22 2006 +0000 If ignore_perishable is set, increment a count of all excluded items found by make_file(). M flist.c commit c0f1e57b5184c7a3a8872f2d213f45675888a6bf Author: Wayne Davison Date: Sat Nov 11 16:43:13 2006 +0000 Added the MATCHFLAG_PERISHABLE flag. M rsync.h commit ccdb23bb90bca50e3850a4fb1adcdeb855b512b9 Author: Wayne Davison Date: Sat Nov 11 16:39:57 2006 +0000 - Added the 'p' (perishable) flag to the filter rules, as suggested by Matt. - If ignore_perishable is set, we ignore all perishable rules. - Mark all default-cvsignore rules as perishable (e.g. excludes such as *.o CVS .svn/ will not prevent a directory from being deleted). M exclude.c commit 146c2c368c627149ddca9082aab48bff00459c4e Author: Wayne Davison Date: Sat Nov 11 16:39:02 2006 +0000 - Restored some of Matt's suggested logic that I left out, as it is needed to get --dry-run to output appropriately. - Got rid of DR_PINNED from the enum delret. - Set a flag when we're deleting outside the transfer hierarchy and initialize a counter that flist.c will use to count excluded files. M generator.c commit 60cc01a6c602fe95375a52f854d557fde8b4a232 Author: Wayne Davison Date: Sat Nov 11 15:34:31 2006 +0000 When make_file() gets a stat() error on a file, the check-for- exclusion-before-reporting-an-error code allows a dir-specific rule to match the unknown file, not just a non-dir rule. M flist.c commit f5761a342b4d5c0bb1351fc01f3f513f87b248f4 Author: Wayne Davison Date: Sat Nov 11 14:45:00 2006 +0000 - Make delete_dir_contents() use less stack by recursing directly to itself, and then calling delete_item() w/o DEL_RECURSE. - Fixed the return value handling of delete_dir_contents(). M generator.c commit caf8299e2ed8f294d90e0fafbb9cc79c1bd2eaf5 Author: Wayne Davison Date: Sat Nov 11 08:01:40 2006 +0000 Tweaked an exit_cleanup() value. M exclude.c commit c6fadc0ee1ab74ee0193a86cbe9095813d8efce4 Author: Wayne Davison Date: Sat Nov 11 07:03:57 2006 +0000 My adaptation of Matt's cleanup of the delete_item() code. The new code splits out part of the directory deletion into its own function, delete_dir_contents(), and it outputs more warnings when something could not be deleted. M generator.c commit 2dc3db2a3e5d19f1d6197df054303aed6e2c3236 Author: Wayne Davison Date: Sat Nov 11 05:09:22 2006 +0000 Docment that --max-delete=0 now works. M NEWS M rsync.yo commit 771d0add8fd662e2731e7c619738943bb36831ed Author: Wayne Davison Date: Sat Nov 11 05:09:17 2006 +0000 Die if we sent --max-delete=0 to a receiving side that is too old. M compat.c commit e5e85283a99a834bc495f29598cc3d138d7a9696 Author: Wayne Davison Date: Sat Nov 11 05:09:14 2006 +0000 Allow --max-delete=0 (zero used to be ignored). M generator.c M options.c commit 21068d8e87cfe777aed2735a3241084b313109ad Author: Wayne Davison Date: Sat Nov 11 05:09:10 2006 +0000 Increased the PROTOCOL_VERSION to 30. M OLDNEWS M rsync.h commit 4d2ea5a8380b5fa5633ea358397753d491bbb227 Author: Wayne Davison Date: Fri Nov 10 15:39:03 2006 +0000 Mention another internal change. M NEWS commit 9ba53f26a3d88f53ef5eda4622ce87ca31f4b0d5 Author: Wayne Davison Date: Fri Nov 10 15:36:15 2006 +0000 Test --del too. M testsuite/delete.test commit 3aeedbfd116d66b7d11d4d7df75ed948b9c9f88b Author: Wayne Davison Date: Fri Nov 10 07:49:02 2006 +0000 Fixed the hard-linking of symlinks test (we need to use a symlink to a non-existent file for the test to work right). M testsuite/itemize.test commit 989b0b8802ab572596ecfece5aeb1afc04cb824c Author: Wayne Davison Date: Fri Nov 10 07:37:51 2006 +0000 Changed how we deal with the alternate-dest directory because some systems change the time on a directory that gets moved. M testsuite/itemize.test commit b2e4811db2cf4434b829f855fcf3c576228e5704 Author: Wayne Davison Date: Fri Nov 10 07:17:20 2006 +0000 Changed two more references to "st" to "real_st" in the dir-handling code. M generator.c commit b467495cd08d5365dab6920c5a0cf99b81cdcda3 Author: Wayne Davison Date: Fri Nov 10 07:13:21 2006 +0000 - Fixed a problem where the real stat struct for a newly-created root-of-transfer directory could get overwritten by the check for basis dirs. - Fixed a potential problem where the stat struct for a new dir could get passed uninitialized to delete_in_dir(). M generator.c commit 3b8ed84245622d9dc04f4d09d8fa7619bd5829b3 Author: Wayne Davison Date: Fri Nov 10 06:27:35 2006 +0000 If the OS can't hard-link a symlink, tweak the expected output when using --link-dest. M testsuite/itemize.test commit 3a72cc292983f9b44e63bc5409791fc72e916aa3 Author: Wayne Davison Date: Fri Nov 10 05:07:08 2006 +0000 Mention latest bug fixes. M NEWS commit c202424a03cbf45195b5c6e9877c17a441911eda Author: Wayne Davison Date: Fri Nov 10 05:07:05 2006 +0000 Changed to reflect new (more correct) output of what updating is happening. M testsuite/itemize.test commit 083f75ee42554395a3c19624da0e26abcd59bbce Author: Wayne Davison Date: Fri Nov 10 05:07:02 2006 +0000 Improved to test --link-dest (when hard-linking of devices works). M testsuite/devices.test commit 45760f5f05cabf5e543c58a3faa349a36229d8db Author: Wayne Davison Date: Fri Nov 10 05:06:59 2006 +0000 Allow all itemize types to change all-dots (no changes) into spaces. M log.c commit 116a4769c130bd5bc801dac3e295a6e2edf46af7 Author: Wayne Davison Date: Fri Nov 10 05:06:56 2006 +0000 - Improved try_dests_non() so that it works with all non-regular files (including dirs). - Changed the directory-creating code to call try_dests_non() when a --*-dest option is used. - Revamped the device/special-files code to have the same logic as the symlink code, making it both simpler and more correct. - All the above makes us output changes for all items consistently when a --*-dest option is used. - Fixed an output bug in try_dests_reg() and try_dests_non() when -ii is enabled (we use to fail to output unchanged files). M generator.c commit 1e4f5f6342d983152c4771ed2c3fa4dfa3ab2246 Author: Wayne Davison Date: Fri Nov 10 05:06:53 2006 +0000 Added flag ITEM_MATCHED. M rsync.h commit a19d285ae3b4453f4643e1e347e9747c62f0aaa3 Author: Wayne Davison Date: Fri Nov 10 03:34:51 2006 +0000 Changed strcat() calls to strlcat(). M popt/poptparse.c commit 564782ba95755052db12357fe59f81877b0adfa1 Author: Wayne Davison Date: Thu Nov 9 02:55:32 2006 +0000 Disable POPT_WCHAR_HACK for now. M popt/popthelp.c commit 2dc7b8bd0e8d4a2d91334b9bb458df146b1700e8 Author: Wayne Davison Date: Thu Nov 9 02:39:29 2006 +0000 Got rid of type-casting into isFOO() and toFOO() functions by using static inline functions that take a signed char pointer. M clientserver.c M loadparm.c M log.c M options.c M params.c M rsync.h M socket.c M token.c M util.c commit e0930845ce339fc51f607ba19bc40a8685118b91 Author: Wayne Davison Date: Thu Nov 9 02:37:38 2006 +0000 Improved the vmefail() code. M popt/system.h commit cf817883664ae517071752b2851c2ce96eb2de29 Author: Wayne Davison Date: Thu Nov 9 02:36:03 2006 +0000 Fixed a problem with the xstrdup() change. M popt/system.h commit 89a0e3a927dff09070ef9454bc9215efaba91036 Author: Wayne Davison Date: Thu Nov 9 02:34:17 2006 +0000 Get rid of the last strcpy() call by using an static inline function. M popt/system.h commit a8facdc09070ba9d01f67de1b08e2704ca34c440 Author: Wayne Davison Date: Thu Nov 9 02:14:38 2006 +0000 Use a new isSpace() inline function to call isspace() safely when using a signed character pointer. M popt/poptconfig.c M popt/popthelp.c M popt/poptint.h M popt/poptparse.c commit c5e29261f3e1b550320612507bca4bddd6c82ba3 Author: Wayne Davison Date: Thu Nov 9 01:58:28 2006 +0000 Need to include lib/snprintf.o when building wildtest. M Makefile.in commit 1acb2e15b49b50d5be5320ad6bd41291130bc438 Author: Wayne Davison Date: Thu Nov 9 01:55:17 2006 +0000 Changed _ABS to be defined as MY_ABS. M popt/popt.c commit 06898c80d954af3b2afba06c517a2c53afdf2a38 Author: Wayne Davison Date: Thu Nov 9 01:54:59 2006 +0000 Got rid of code to twiddle _ABS. M popt/system.h commit 684576ff457db7cbebcb6e00f840ed044ccf2e6f Author: Wayne Davison Date: Thu Nov 9 01:51:57 2006 +0000 Moved definition of DBL_EPSILON. M popt/popt.c M popt/system.h commit 574a24a2ec3cc1a3dcd18d74ec735d8d44da1965 Author: Wayne Davison Date: Thu Nov 9 01:34:36 2006 +0000 Try a full prototype for alloca() for those systems that need it. M popt/system.h commit 9775d6ab66dc59e05f0daa4f6048d24bc7989602 Author: Wayne Davison Date: Thu Nov 9 01:26:27 2006 +0000 - Define snprintf() when needed. - Improved the compatibility of the standard includes. M popt/system.h commit 2b916250d8cc131dfe8bb49bfb749332a7b78d7d Author: Wayne Davison Date: Thu Nov 9 01:07:35 2006 +0000 The Mac version of GCC can now handle __attribute__ . M rsync.h commit 2955529bb40af8424f97fb18262e3cdb1453f6c5 Author: Wayne Davison Date: Thu Nov 9 01:06:30 2006 +0000 Rolling over the NEWS file for the next version. M NEWS M OLDNEWS commit d094b5eb3cda99a8f7cc91eef5d8203d1247f9cc Author: Wayne Davison Date: Thu Nov 9 00:59:58 2006 +0000 Change the version for new CVS work. M configure.in commit bc93ee842fd5dd2a1cc2b2cb25656a98c673d772 Author: Wayne Davison Date: Thu Nov 9 00:57:55 2006 +0000 - Upgraded popt to version 1.10.2. - Modified all sprintf() and strcpy() calls to use snprintf() and strlcpy(). M popt/findme.c M popt/popt.c M popt/popt.h M popt/poptconfig.c M popt/popthelp.c M popt/poptint.h M popt/poptparse.c M popt/system.h commit 0c6d79528ac651ef064173327d769ba7a2b338ab Author: Wayne Davison Date: Tue Nov 7 04:41:35 2006 +0000 Preparing for release of 2.6.9 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 556e03a3c9ad79698c97b27a56387e85f5f4a7b8 Author: Wayne Davison Date: Sat Nov 4 00:18:49 2006 +0000 Modified to recognize FreeBSD's setfacl command. M runtests.sh commit e4887738bbd84d225dd01554721da003ec360a77 Author: Wayne Davison Date: Thu Nov 2 02:01:25 2006 +0000 Updated to the version dated 2006-07-02. M config.guess M config.sub commit 0f5c1c193ab982e89abbcbce42bfdbb583a0032c Author: Wayne Davison Date: Tue Oct 31 19:21:57 2006 +0000 Need to include netinet/tcp.h to get TCP_NODELAY defined. M socket.c commit ab6dcad61cc6af07004e82227d3090be885af972 Author: Wayne Davison Date: Sat Oct 28 21:22:26 2006 +0000 Mention the addition of the fake-super.diff patch. M NEWS commit b6855ddc9cbbcdf86b8bce28157117a7aa0d0f46 Author: Wayne Davison Date: Fri Oct 27 17:51:21 2006 +0000 Don't put backslashes before the dashes in " -- ". M tweak_manpage commit 0cbb958f34f7a0f3acb966118649c7601be53445 Author: Wayne Davison Date: Fri Oct 27 17:29:09 2006 +0000 Mention the fix for bug #4079. M NEWS commit 418da6d952b43ef15adfd7f20eeb6bae8868cdcd Author: Wayne Davison Date: Thu Oct 26 19:19:23 2006 +0000 Mention WIFEXITED() change. M NEWS commit 51d133d686da77a815d651c7e8182972ea825f33 Author: Wayne Davison Date: Thu Oct 26 17:22:15 2006 +0000 Mention Mac OS X xattr work. M NEWS commit cbb95d3d2482367b55344d80dd4b5b28169ce215 Author: Wayne Davison Date: Thu Oct 26 17:06:41 2006 +0000 Preparing for release of 2.6.9pre3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit d9126a861f014d68be61355ccf9bcd808bf7d99f Author: Wayne Davison Date: Tue Oct 24 16:17:31 2006 +0000 Run tweak_manpage_dashes on the man pages we generate. M packaging/release-rsync commit b4768a139789cd837d0d948f26d65eee5a6a09bf Author: Wayne Davison Date: Tue Oct 24 15:09:57 2006 +0000 Undo temporary changes used for build-farm testing of ACL patch. M Makefile.in commit 47b032e97fdd94a2b8d834483b017cc227e1ae7e Author: Wayne Davison Date: Tue Oct 24 03:31:30 2006 +0000 Added a define for WIFEXITED() that is used if one is missing. M rsync.h commit 50dfd5b4fece3925e04897196baa6f37881d3c8f Author: Wayne Davison Date: Tue Oct 24 00:56:46 2006 +0000 Document the --no-motd option. M NEWS commit 1de02c273dd5679685990894b2bb7f5a1f03f591 Author: Wayne Davison Date: Tue Oct 24 00:36:46 2006 +0000 Document the --no-motd option, with a caveat on how it can also hide the module listing. M rsync.yo commit 9ce7fc3887570316c2bd33245b8422ca1d2ee96c Author: Wayne Davison Date: Tue Oct 24 00:36:42 2006 +0000 Obey the new --no-motd option. M clientserver.c commit dc1f7b9ea369f6490c21e5ec69fd80613e17e987 Author: Wayne Davison Date: Tue Oct 24 00:36:38 2006 +0000 Added the --no-motd option to silence just the text output at the start of a daemon transfer. M options.c commit ee7cf95b13593df25e09fbe0a10a8727d9b33c1b Author: Wayne Davison Date: Tue Oct 24 00:33:32 2006 +0000 Post-process manpages with the tweak_manpage_dashes perl script. M prepare-source.mak commit 492fc3536db8e6b304228a7834949b5cfe71f58d Author: Wayne Davison Date: Tue Oct 24 00:24:56 2006 +0000 Run patch with -t so that it doesn't ask any questions. M Makefile.in commit 5e61bdb4d5ad6ecdd4ec9f0b0f7db181831771ee Author: Wayne Davison Date: Tue Oct 24 00:09:18 2006 +0000 A perl script that does appropriate backslash escaping of '-' chars in manpages. A tweak_manpage commit f964ac5eeec2e562cc161beb7ddf7affb959c3c3 Author: Wayne Davison Date: Sun Oct 22 22:36:36 2006 +0000 - Fixed an error-handling path in try_dests_reg(). - Added a comment. M generator.c commit c55b39afadb95fde35bbe70dab6b948f232ea956 Author: Wayne Davison Date: Sun Oct 22 07:29:21 2006 +0000 Use "test" instead of "[ ... ]" for better portability. M Makefile.in commit a27463a9a2ea8c2bfbd4059be95924909ff1c8ed Author: Wayne Davison Date: Sun Oct 22 07:18:21 2006 +0000 Added missing cleanup of empty ACL files. M Makefile.in commit 590eb6c02d56bd1d0869d26587c540935a4f596e Author: Wayne Davison Date: Sun Oct 22 04:26:59 2006 +0000 Change the unpatch code for NetBSD. M Makefile.in commit 0d7a6b4906236307533699ec245033d0365c27c0 Author: Wayne Davison Date: Sun Oct 22 03:17:45 2006 +0000 Temporary changes to have the build-farm configure and build the ACL version of rsync (patched in via patches/acls.diff). M Makefile.in commit b4f0287197a1b6bca8b75b05d838fec4807756b3 Author: Wayne Davison Date: Wed Oct 18 05:20:05 2006 +0000 Mention the fix that lets a push now override the partial-dir exclude. M NEWS commit 8d6386809e771b4cc7045a4a7cb63b2e1abf43af Author: Wayne Davison Date: Wed Oct 18 05:15:35 2006 +0000 The server should not be adding an assumed filter rule based on the partial-dir setting (since the client is sending us the rules). M options.c commit 230328a30a7f7a518a4fab5ddff780a6c5278098 Author: Wayne Davison Date: Wed Oct 18 05:14:10 2006 +0000 Added a risk filter for the partial-dir since we use --delete-after. M packaging/nightly-rsync commit 5819d6b14a100850a75209901e2a4e01265998ed Author: Wayne Davison Date: Wed Oct 18 04:46:26 2006 +0000 Stop disabling the RSYNC_PARTIAL_DIR environment variable now that there is a newer rsync on samba.org. M packaging/nightly-rsync commit 7b4a40ed706b8923df4d145147810490f23b6164 Author: Wayne Davison Date: Tue Oct 17 18:49:04 2006 +0000 Make sure the new link_dest_used value gets zeroed on init. M hlink.c commit f210dcadf4a921f8ca3718c0b972cee153793488 Author: Wayne Davison Date: Mon Oct 16 18:11:24 2006 +0000 - Fixed a compile problem ("len" not defined) in inet_ntop4(). - Replaced sprintf() with snprintf() in inet_ntop6(). M lib/inet_ntop.c commit 178a1d20483eae24dd15ff5c54257194a4d7afde Author: Wayne Davison Date: Sun Oct 15 21:44:15 2006 +0000 - Die if we can't edit the release date into NEWS or OLDNEWS. - Don't remove any *pre*diff* files until the final release. M packaging/release-rsync commit a4b4e0770bf0ec0fb98fd0a9357c717436bf8a74 Author: Wayne Davison Date: Sun Oct 15 15:57:27 2006 +0000 Improved a comment. M case_N.h commit 2a6e35db31406c1231e45e39c603455b55d2e0c9 Author: Wayne Davison Date: Sun Oct 15 15:49:31 2006 +0000 Improved a couple existing items. M NEWS commit e3794138d8321a59d619422a041917af8ad3734b Author: Wayne Davison Date: Sun Oct 15 15:43:26 2006 +0000 Use the new case_N.h file to make sure that our cleanup_step case statements never get out of sequence when the code changes. M cleanup.c commit fdd10da6f7995296f6bb5ee3dd7231d6dbc20b5e Author: Wayne Davison Date: Sun Oct 15 15:42:01 2006 +0000 A helper file for cleanup.c. A case_N.h commit 5f12a07bff4041311994d55ff16db2923a433cdd Author: Wayne Davison Date: Sun Oct 15 05:04:59 2006 +0000 Now that samba.org has a modern rsync, we can go back to using hard-links on the moved files and use rsync to effect the hard- links on the remote system (which will make a future transfer more efficient in the absense of --detect-renamed). M packaging/release-rsync commit 6a4a1d0cb0087db7b1ce55e4734494b1c45d08d5 Author: Wayne Davison Date: Sat Oct 14 20:35:17 2006 +0000 Preparing for release of 2.6.9pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 434c40986d1f3d2e2a3da49a6e1528aad0daa0b8 Author: Wayne Davison Date: Sat Oct 14 20:31:33 2006 +0000 Use the MAX_RENAMES_DIGITS define in the relevant snprintf(). M util.c commit 8ee685770204d18a776556251be5752304ec78d4 Author: Wayne Davison Date: Sat Oct 14 20:30:43 2006 +0000 Improved the description of the code-checker work.. M NEWS commit 721ddc903fb800b57134c0bc7d65843d746960f4 Author: Wayne Davison Date: Sat Oct 14 20:01:22 2006 +0000 Updated the news about the exit_cleanup() improvement. M NEWS commit 154c345db03bd0c5a93a28373352c9d9363d587b Author: Wayne Davison Date: Sat Oct 14 19:58:52 2006 +0000 Improved the _exit_cleanup() function to handle potential recursions back to the function via the calls that it is making. The new code treats each recursion back into the function as an opportunity to take up where we left off (skipping whatever step just failed). M cleanup.c commit 25f637a334a39448d0ffcdcf20d9917472db8d97 Author: Wayne Davison Date: Sat Oct 14 18:51:21 2006 +0000 Got rid of EXIT_OR_RETURN() macro again -- switching to a better recursion-prevention heuristic in _exit_cleanup(). M log.c commit 2356d73bb400176c957a575fd8f0344d882427b9 Author: Wayne Davison Date: Sat Oct 14 02:29:29 2006 +0000 The cleanup code that handles moving the temp file to the partial file needed to check that cleanup_fname was not NULL to prevent any possibility of a recursion starting into that code again. M cleanup.c commit 4968423e71c5bec901a7ccbc91930d7aae030f20 Author: Wayne Davison Date: Sat Oct 14 02:02:47 2006 +0000 Mention the latest fixes and internal changes. M NEWS commit 99eba67585c79180be72ea10889ae7eec61f9034 Author: Wayne Davison Date: Sat Oct 14 01:17:36 2006 +0000 Got rid of the recent paranoid length check because it didn't help to silence a code-checker warning. M flist.c commit 5abe03d6e87fd6e66d86c6ae1cd2bc6058de0150 Author: Wayne Davison Date: Sat Oct 14 01:15:16 2006 +0000 Restore build order back to normal. M Makefile.in commit 83078af5b0b1db4eb185cb256ebb76c117eea110 Author: Wayne Davison Date: Fri Oct 13 23:46:32 2006 +0000 Changed sprintf() calls to snprintf(). M main.c M util.c commit 185aa5b0e5f5ffd4d5ca442bdff113aba501f19b Author: Wayne Davison Date: Fri Oct 13 23:42:52 2006 +0000 Turned an sprintf() call into snprintf(). M tls.c commit cabd60fdce8b69e429d77ba243cfc1eebed22301 Author: Wayne Davison Date: Fri Oct 13 23:38:14 2006 +0000 - Changed some sprintf() calls to snprintf() calls. - Changed two last strcpy() calls to strlcpy() calls. M flist.c commit 10944395bfc989fc21fb385eb652cc274aa78a0a Author: Wayne Davison Date: Fri Oct 13 23:35:53 2006 +0000 Changed sprintf() calls to snprintf() calls. M uidlist.c commit 204f4f4d091890d9106e744cffb9561e82df44ad Author: Wayne Davison Date: Fri Oct 13 23:17:37 2006 +0000 Changed strcpy() calls into memcpy() calls. M lib/compat.c M lib/inet_ntop.c commit c9bce0b8f8a485f11ce4f90356e9346036f14daf Author: Wayne Davison Date: Fri Oct 13 23:17:33 2006 +0000 Changed strcpy() calls into strlcpy() calls, just to be extra safe. M lib/permstring.c M lib/pool_alloc.c M log.c M options.c M progress.c M tls.c commit deee574b1198a2886369f4ecbfbeaa6f851bb41d Author: Wayne Davison Date: Fri Oct 13 23:17:30 2006 +0000 Added a paranoid length check. M flist.c commit 55410368e51074c167154689de0236c05df1ce6c Author: Wayne Davison Date: Fri Oct 13 23:17:27 2006 +0000 - Changed strcpy() calls into strlcpy() calls, just to be extra safe. - Added a default: exit_cleanup() case to a switch. - Made the check_name() function take a buffer size arg. M clientname.c commit e4fdf1debee8313a767c94a42f5181df9ca881e0 Author: Wayne Davison Date: Fri Oct 13 17:07:13 2006 +0000 - Use precompiler conditionals in to_wire_mode() and from_write_mode() to get rid of code that is not needed on the current system. - Silence a code-checker warning in send_file_entry(). - Silence a code-checker warning in make_file(). - Fixed a bug in f_name_cmp() that could compare an empty filename incorrectly (which might only happen if we transformed a dot-dir into an empty name). (Thanks, code checker!) M flist.c commit 1580899c1dea856683c32f28eca0f6ccf8714bf0 Author: Wayne Davison Date: Fri Oct 13 17:02:39 2006 +0000 More temporary name juggling to get all code analyzed. M Makefile.in commit f863b76300e26c36bc0cfd6d2e51d1b26588c95e Author: Wayne Davison Date: Fri Oct 13 14:28:56 2006 +0000 Changed one more exit_cleanup() call into EXIT_OR_RETURN(). M log.c commit 5e1ec06f0968c1592567c77185648189f5a6a6d0 Author: Wayne Davison Date: Fri Oct 13 14:17:22 2006 +0000 Temporarily reorder the OBJS line so that the IBM code checker can analyze some of the other programs (since it runs out of time analyzing them all). M Makefile.in commit 36e2ea60688439bc4a217e2b715dae5543276d2d Author: Wayne Davison Date: Fri Oct 13 07:48:35 2006 +0000 Use new FNONE value when setting/comparing enum logcode vars. M hlink.c commit f4164b73b4d4f8b73dd0b0019d231c5bbdaa26c3 Author: Wayne Davison Date: Fri Oct 13 07:38:21 2006 +0000 - Use the new FNONE enum instead of a literal 0 value. M generator.c commit 9ef506a2b2270b242cfd5734722c44e7e3d3478f Author: Wayne Davison Date: Fri Oct 13 07:38:18 2006 +0000 If in_exit_cleanup is set, some of our functions return instead of calling exit_cleanup() (which is a safer way to avoid an infinite loop when the exit code uses the log functions than allowing the _exit_cleanup() function to return back into our code). M log.c commit b1b54199efeba50d29a6ba8025ee8c8193d16dda Author: Wayne Davison Date: Fri Oct 13 07:38:15 2006 +0000 - When exiting, set the flag "in_exit_cleanup". - Mark _exit_cleanup() with NORETURN. - Don't ever return from _exit_cleanup(). M cleanup.c commit 33394b769d8b95c082cda3d586b743ff53c6afe5 Author: Wayne Davison Date: Fri Oct 13 07:38:11 2006 +0000 Mark out_of_memory() and overflow_exit() with NORETURN. M util.c commit 011e85a5e3a80e9229887468aad206a389f67552 Author: Wayne Davison Date: Fri Oct 13 07:38:05 2006 +0000 - Added FNONE to the "enum logcode" values. - Added a NORETURN define to mark a function that never returns. M rsync.h commit d5dcb6f7753020a86973e3a66c632ed0ef9e7832 Author: Wayne Davison Date: Fri Oct 13 07:18:29 2006 +0000 Silence some IBM checker warnings and made a slight optimization to get_tmpname(). M receiver.c commit 0c25dedf3101373398564ee974875a7760ecb8d2 Author: Wayne Davison Date: Fri Oct 13 06:50:56 2006 +0000 Simplified the function-finding regex, and made it more versatile (so we don't need to keep adding variable-type strings). M mkproto.awk commit 6105464b79a155d62df97b36b3586f1622399713 Author: Wayne Davison Date: Fri Oct 13 06:49:44 2006 +0000 Indented the function comments with "* ". M loadparm.c commit 4d51f0db79f11734a92db2d876aeb7b0f6546735 Author: Wayne Davison Date: Fri Oct 13 06:27:59 2006 +0000 Don't use a bool directly in an int comparison. M options.c commit ff530f04a002cad5a849e83d4e16cecc2b528358 Author: Wayne Davison Date: Fri Oct 13 06:26:02 2006 +0000 Function fcntl() only takes 2 args when using F_GETFL. M util.c commit e8b21fe406abd5578e4f3b8474a59b57fa4312fa Author: Wayne Davison Date: Fri Oct 13 06:24:24 2006 +0000 Cast pat_len to an int when using it as a field width. M exclude.c commit 71cb9df386acebe1811ff1ef79249a6b6aaea78e Author: Wayne Davison Date: Fri Oct 13 04:59:53 2006 +0000 Some OSes can't chmod -t for a file, so I changed the logic of our to to substitute a chmod that will work everywhere. M testsuite/chmod-option.test commit f97c2d4a9b78d6d93ef8cf3a5fa7d0a4b3cd4e33 Author: Wayne Davison Date: Fri Oct 13 01:37:44 2006 +0000 - Clarified the "dont compress" option. - Cleaned up some trailing whitespace. M rsyncd.conf.yo commit b8a6dae038d527af6d31c58026c463300c6b1836 Author: Wayne Davison Date: Fri Oct 13 01:24:57 2006 +0000 Updated the man pages to work with version 2.x of yodl. M rsync.yo M rsyncd.conf.yo commit 969f7ed5b798d429236c8350e417b58172293a7f Author: Wayne Davison Date: Fri Oct 13 01:22:48 2006 +0000 Fixed an infinite loop in parse_rule() when a filter rule is too longer for MAXPATHLEN. Also fixed a couple spots nearby that were erroneously treating pointer "cp" as a '\0'-terminated string. M exclude.c commit e825409a84c26bc1a0655a3eccaa6d947e59d788 Author: Wayne Davison Date: Thu Oct 12 03:45:53 2006 +0000 Preparing for release of 2.6.9pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit b8d29fd8e6a334f9d32b5b97971c8b69aaf5042a Author: Wayne Davison Date: Thu Oct 12 03:44:44 2006 +0000 Added a line for 2.6.9. M OLDNEWS commit 200f2d98db38f46644f2736a305b37892d11491c Author: Wayne Davison Date: Thu Oct 12 03:32:18 2006 +0000 Make sure we tweak the right RSYNC_VERSION line in configure. M packaging/release-rsync commit 1a7f3d99c5d4bcb5f38e2143bfb99fdf571fab69 Author: Wayne Davison Date: Thu Oct 12 03:01:18 2006 +0000 Removed the changes in symlink handling in non-chroot daemon mode as they were not yet safe (I'll consider similar changes for the next release). M flist.c M generator.c M loadparm.c M main.c M options.c M rsyncd.conf.yo M testsuite/daemon-gzip-upload.test M util.c commit e80876700c49d5465df9e4b7c3e2f985eb137b8d Author: Wayne Davison Date: Thu Oct 12 03:01:12 2006 +0000 Got rid of changes that aren't going to make it into 2.6.9. M NEWS commit ec55b4f2fba8f388cbc6decb37aa5e5908a077ff Author: Wayne Davison Date: Thu Oct 12 03:01:01 2006 +0000 Changed the indent for one else ... if section. M log.c commit 798cde474f15ecb653c13249f85da6cb6587893d Author: Wayne Davison Date: Thu Oct 12 02:14:47 2006 +0000 Some minor improvements to parse_merge_name(). M exclude.c commit 558d482c477b4473eb004d69633799226fdf5a98 Author: Wayne Davison Date: Wed Oct 11 00:51:50 2006 +0000 Renumbered tests after adding one in the middle. M testsuite/itemize.test commit 418b6a270377f3cade34eb93498cab557e08e090 Author: Wayne Davison Date: Wed Oct 11 00:04:48 2006 +0000 Handle the itemizing of of the "." dir when it is newly created. M testsuite/itemize.test commit 1ef5bf3cfdcbad427ff201d476cd49c472ce58b7 Author: Wayne Davison Date: Wed Oct 11 00:04:44 2006 +0000 If new_root_dir is set, itemize the output of the "." dir as a directory-creation event. M generator.c commit 2a94207ad6f8671109db1e1b21ac1fa9eb3bde1e Author: Wayne Davison Date: Wed Oct 11 00:04:41 2006 +0000 Added a new variable, new_root_dir, that is set if we created the destination directory. M main.c commit ddcba3f0750473678dc9a4a5209e3a628627cf7e Author: Wayne Davison Date: Tue Oct 10 23:44:59 2006 +0000 Changed the fix_basis_dirs() function to only remove a single ../ prefix from each --*-dest option's path. M main.c commit db3ae95cacce2aa0ffd8a43edddd1a8789c474e4 Author: Wayne Davison Date: Mon Oct 9 03:06:50 2006 +0000 Made some of the --link-dest tests use a relative destination directory, and made one of those do a --dry-run test before the regular test. M testsuite/itemize.test commit 1a05de2bff5c9a61777e1615f4363fd957711d8e Author: Wayne Davison Date: Mon Oct 9 03:05:19 2006 +0000 - If a finished link came from a link-dest dir and --dry-run is in effect, we now stat the link-dest file instead of the non-existent destination file. - Use int32 for the index variables. M hlink.c commit d9163a4cf516682e5109457d09ce68c53be26f91 Author: Wayne Davison Date: Mon Oct 9 02:59:23 2006 +0000 If the combination of --dry-run, --link-dest, and -H finds a matching file in on of the extra basis dirs, make a note of which basis dir we would have used in the hard-link with the destination file. M generator.c commit 44885a398f507d9202bd5b9bb72c1d5993aea67c Author: Wayne Davison Date: Mon Oct 9 02:57:04 2006 +0000 Added link_dest_used unsigned short to struct hlink and made the other values explicitly 32-bit so that the total size can't be larger than the other struct we're in a union with. M rsync.h commit dfe1ed5e97be175a7a95aba6a334744d59df4af5 Author: Wayne Davison Date: Mon Oct 9 00:55:04 2006 +0000 Another tweak to the --chmod summary. M options.c M rsync.yo commit 242f6052c2423e21406289e4d091318a657a5222 Author: Wayne Davison Date: Sun Oct 8 22:17:39 2006 +0000 Mention the latest bug fix. M NEWS commit 519d55a950bac38da9a61e443bb091487d43ace7 Author: Wayne Davison Date: Sun Oct 8 22:02:13 2006 +0000 Make the daemon's "incoming chmod" tweaks happen last, as documented. M rsync.c commit b6008dc6452b8173fde6e04ab327e34f74097026 Author: Wayne Davison Date: Sun Oct 8 22:00:31 2006 +0000 Clarify the short description of --chmod. M options.c M rsync.yo commit 6f3684ffb5a772925a970ff61a01512fbb77da60 Author: Wayne Davison Date: Sun Oct 8 20:57:01 2006 +0000 Call push_dir() with its new boolean arg. M clientserver.c M flist.c commit 615a5415c9f3b156f3f456688f8b702fa05deb8d Author: Wayne Davison Date: Sun Oct 8 20:56:56 2006 +0000 - Call push_dir() with its new boolean arg, including the spot in get_local_name() where we need push_dir() to skip the chdir() because the destination dir does no yet exist and --dry-run was specified. - Added fix_basis_dirs(), which will combine the dest-dir with each non- absolute basis_dir arg to make sure that they end up being relative to the right dir when --dry-run was specified and the dest dir does not yet exist. M main.c commit ba081be327dac7fe6018ee4f14e9b07ace99ac73 Author: Wayne Davison Date: Sun Oct 8 20:56:52 2006 +0000 Made the push_dir() function take an option to skip the actual chdir() call. Used when the dest-dir doesn't exist and --dry-run was specified. M util.c commit 3e88414e4e01e18eff080fc14f1359e37f5d99fe Author: Wayne Davison Date: Sat Oct 7 14:54:56 2006 +0000 Moved some of the variable setup from "make check" into the runtest.sh script. M Makefile.in commit 0888952768eeaa90ba826565631847003d75b9b4 Author: Wayne Davison Date: Sat Oct 7 14:54:14 2006 +0000 Moved some variable setup here from the Makefile and made it possible to specify extra rsync options for the test. M runtests.sh commit 5dcd9a2b70743b6a0ef8b5a8ade2e13f58ca6d71 Author: Wayne Davison Date: Sat Oct 7 14:39:01 2006 +0000 Changed the -o to -a in the "if". M prepare-source commit 6ce9432d755104c8fb6afe82ddcdfc905d498da7 Author: Wayne Davison Date: Sat Oct 7 14:19:00 2006 +0000 A bug-fix for die_on_unsafe_path() when the path doesn't exist. M util.c commit 6c8507724b4c7f3e4eb93cecc1ff816c2d3714f1 Author: Wayne Davison Date: Sat Sep 30 22:11:20 2006 +0000 Added exception-checking to a couple select() calls, as suggested by Hugh Daschbach. M io.c commit d04e95e96831cac3cac33b7227a729d2b5afb485 Author: Wayne Davison Date: Sat Sep 30 15:21:25 2006 +0000 Document that --ignore-times thwarts all --link-dest linking. M rsync.yo commit b06050f9ad6657a41b5ca5f7e205e48ed6edb173 Author: Wayne Davison Date: Sat Sep 30 15:20:17 2006 +0000 I decided that combining --link-dest with -I doesn't make much sense (without some kind of a post-transfer identicality check, at least) so I'm removing the code that tried to make the two play nice. M NEWS M generator.c commit ad75d18d2e71192e7a2f32f2a4c4469c32c71e6c Author: Wayne Davison Date: Tue Sep 26 16:44:27 2006 +0000 Mention that the --backup-dir option is a receiver-side path. M rsync.yo commit ed4b8da04877182a66c873b9ed96f6305e419d62 Author: Wayne Davison Date: Sun Sep 24 03:36:04 2006 +0000 Mention the latest bugfix. M NEWS commit 2cd421d80978b9a1ab7ec0bd0eca50c03ef38a33 Author: Wayne Davison Date: Sun Sep 24 03:12:24 2006 +0000 Output the who_am_i() info in out-of-memory() and overflow_exit(). M util.c commit ea0ea357f4636b72a234f2744036f8be2ca8b407 Author: Wayne Davison Date: Sun Sep 24 03:11:41 2006 +0000 Provide the who_am_i() function. M t_stub.c commit 0480a946f50c19ddcaea170c8f5aec68ecfbc1d2 Author: Wayne Davison Date: Sat Sep 23 23:49:20 2006 +0000 Some more testing based on Matt's recent patch. M testsuite/chmod-option.test commit 67f8a41be55c3de79e5fb033bb0fc196ad4c07d3 Author: Wayne Davison Date: Sat Sep 23 23:15:11 2006 +0000 Matt tracked down a bug in the daemon option "incoming chmod" where a newly created directory would get the chmod permissions that were specified for a file (via the F previx). M rsync.c commit 5e1f082d0c0af5fdb8096023772eb4f5013f78a0 Author: Wayne Davison Date: Sat Sep 23 00:07:28 2006 +0000 Improvments by Matt for the --progress option, including updating the examples to look like the actual output in a modern rsync. (I did a little rewording too...) M rsync.yo commit a63335196208a9a08d7b9164c3fd16f0b9b31bc2 Author: Wayne Davison Date: Wed Sep 20 14:04:19 2006 +0000 Mention the current limitation of the RSYNC_EXIT_STATUS value. M rsyncd.conf.yo commit 2edfe52230f0673349287030a23203c6ece95426 Author: Wayne Davison Date: Wed Sep 20 01:54:40 2006 +0000 Mention the new --remove-s*-files error. M NEWS commit acee1ad8535ae59bda9585b422efe54b68e1f234 Author: Wayne Davison Date: Wed Sep 20 01:53:32 2006 +0000 Complain if a --remove-s*-files option is set and we can't remove the source file. M sender.c commit 8f4ae68ca7f1114c76494c0a2d56badd72f2ac32 Author: Wayne Davison Date: Mon Sep 18 17:39:13 2006 +0000 The [ & ] are now removed from a literal IPv6 hostname passed to the remote shell. M options.c commit ff1b9344c965a6dcad791a58024fb5886ae0637e Author: Wayne Davison Date: Mon Sep 18 01:19:26 2006 +0000 When parsing a literal IPv6 address in square brackets, pass the whole string (including the brackets) to the remote shell. (The old code stripped the leading '[' but left the trailing ']'.) M options.c commit a923437bc02db7a91a5bca81e047671e5971531c Author: Wayne Davison Date: Mon Sep 18 01:15:19 2006 +0000 Added a missing '-' to the string "-rsh". M OLDNEWS commit dde698c2e85fc4c76b4df2436030f9108eaec0ed Author: Wayne Davison Date: Mon Sep 18 00:47:56 2006 +0000 Mention the permission bug-fix for new files created by --inplace. M NEWS commit c2b47e31a5f9bdff956bd818eb6b826e377a99b9 Author: Wayne Davison Date: Mon Sep 18 00:38:20 2006 +0000 Mention the adding of the --remove-source-files option. M NEWS commit 4e0bf977166c4a4bce82cce20b043e7713dfcf3d Author: Wayne Davison Date: Mon Sep 18 00:19:04 2006 +0000 Mention the --server and --sender option as being internal, not-for use by a normal user options. Also mention the support/rrsync script in this context. M rsync.yo commit 174e51b5bfa54ba48d18672a43ced27a6f4ceadf Author: Wayne Davison Date: Mon Sep 18 00:16:31 2006 +0000 Added parsing for all the latest options. M support/rrsync commit 30cd7ec1cfc46e8185d5a7a8444ce72eeee5adcb Author: Wayne Davison Date: Mon Sep 18 00:13:50 2006 +0000 The --min-size arg doesn't need to be path-checked either. M support/cull_options commit 48459ba15c9822677d74fdc3cd46c73f15c56427 Author: Wayne Davison Date: Sun Sep 17 23:28:19 2006 +0000 The --inplace option now notices when the basis data is not coming from the destination file (or an identical copy) and always writes out the data (instead of seeking when at an identical offset). M receiver.c commit 48ecccce2d7d893bc5d66a36c6d4baf6d47d8dfb Author: Wayne Davison Date: Sat Sep 9 18:59:10 2006 +0000 The --delete-excluded code now also drops any merge file that was marked as MATCHFLG_NO_PREFIXES because they can only contain include/exclude rules. M exclude.c commit a739128df9bc125212959ed60565f3b35648b017 Author: Wayne Davison Date: Sat Sep 9 18:56:13 2006 +0000 Document the new RSYNC_PID environment variable. M rsyncd.conf.yo commit 2c1775620a18b1d7b4ac2cffca14d948beb78570 Author: Wayne Davison Date: Sat Sep 9 18:53:23 2006 +0000 Try various long, long-long, etc. types for a 64-bit integer before trying off64_t. M rsync.h commit 40f910c43ae4f3afdfc8edbe40ca695ecd786b57 Author: Wayne Davison Date: Sat Sep 9 18:31:45 2006 +0000 Mention the latest changes. M NEWS commit 503114a78223b8f5ebaed787aa68496984a3e4d9 Author: Wayne Davison Date: Sat Sep 9 17:59:02 2006 +0000 Added the RSYNC_PID environment variable for the pre-/post-xfer commands so that the pre-xfer command has a unique ID it can use to cache information for the post-xfer command. M clientserver.c commit 71f9e4673e5991f3ee149e8d41d5767371589fcb Author: Wayne Davison Date: Sat Sep 2 20:05:08 2006 +0000 A slight simplification to the last change. M support/file-attr-restore commit 176e8e94c363ffeb8b5fe0b1fd516c8b63fb0ba1 Author: Wayne Davison Date: Sat Sep 2 19:57:56 2006 +0000 An even better way to un-backslash-escape the filenames from find. M support/file-attr-restore commit 814b340c2702aedd204be64f18e41aef6c684cec Author: Wayne Davison Date: Fri Sep 1 00:43:52 2006 +0000 Improved the --delete-excluded test based on Matt's input and another corner case I noticed. M testsuite/delete.test commit f167879035940c9bc30b687699fdd309e549b5f5 Author: Wayne Davison Date: Fri Sep 1 00:42:39 2006 +0000 Matt pointed out that the code was not properly dropping excludes that were read from a per-dir merge file when --delete-excluded is enabled. This additional code fixes that. M exclude.c commit 4187572616d8cde172d418329053a2a67529c6ba Author: Wayne Davison Date: Thu Aug 31 20:30:16 2006 +0000 Fixed handling of filenames with an embedded $, @, or %. M support/file-attr-restore commit ff43d8b4493836fd02d99fc376afe33ff22088db Author: Wayne Davison Date: Thu Aug 31 17:19:26 2006 +0000 Added Matt's --delete-excluded test for merge-file correctness. M testsuite/delete.test commit 97bf86f8ee5794087e8627b04dd93c7506ae552f Author: Wayne Davison Date: Thu Aug 31 17:18:24 2006 +0000 Make sure that --delete-excluded does not elide a per-dir merge filter file, while still dumping the .cvsignore file from -C. M exclude.c commit 8c449e62853b141799a80045820b4d07653cefd0 Author: Wayne Davison Date: Sat Aug 26 16:02:17 2006 +0000 When we're cleaning up a path of "/" in relative mode, we must make the name "/." (as it was of old) so that there is a filename for us to send. Fixes a problem with --delete --relative when copying from the root (/) of the filesystem. M flist.c commit 29930a9fd263792559958b35db93914d69cffeb1 Author: Wayne Davison Date: Sat Aug 12 16:22:03 2006 +0000 Fixed an exclude bug with --relative excluding "/". M exclude.c commit c98ad3df964103e23f7f502b8e610a0155f19eb6 Author: Wayne Davison Date: Sat Jul 29 21:04:35 2006 +0000 Check return value of asprintf() in full_fname(), as pointed out by Ilja van Sprundel. M util.c commit 9c3c30e5c7cdeaa9fb658f8c1e649e04bb491f55 Author: Wayne Davison Date: Fri Jul 21 13:58:52 2006 +0000 Assign datarootdir=@datarootdir@ so that a modern autoconf doesn't complain about our Makefile.in. M Makefile.in commit b4a09b72ee15757c8ae41039e9bef6c5c309b6a8 Author: Wayne Davison Date: Mon Jul 10 04:25:53 2006 +0000 Use new MAKEDEV() macro instead of makedev() directly. M flist.c commit 5a3810b4636f02a1276f8a39c28accdff8d664a3 Author: Wayne Davison Date: Mon Jul 10 04:25:10 2006 +0000 Define MAKEDEV() based on the MAKEDEV_TAKES_3_ARGS define. M rsync.h commit e8d97006e5108fb1d30631094fc6e7e019ce5caa Author: Wayne Davison Date: Mon Jul 10 04:24:07 2006 +0000 If makedev() takes 3 args, define MAKEDEV_TAKES_3_ARGS. M configure.in commit 8adc22e3623a42c42e08d6080bef416091cae620 Author: Wayne Davison Date: Mon Jul 3 22:35:41 2006 +0000 Mention the "munge symlinks" daemon setting. M NEWS commit dcebf78fe0eec453a9e8fd4999536fd721d29eb4 Author: Wayne Davison Date: Mon Jul 3 22:35:00 2006 +0000 Obey the new "munge symlinks" dameon setting. M flist.c commit 651c8510e8bdcdf8c01354120a63ddae203d2006 Author: Wayne Davison Date: Mon Jul 3 22:33:56 2006 +0000 Document "munge symlinks". M rsyncd.conf.yo commit 1ed3f5ed619b61f86007413a6c2420ddd55176f7 Author: Wayne Davison Date: Mon Jul 3 22:33:49 2006 +0000 Added the "munge symlinks" setting. M loadparm.c commit 70c81b0c07e0442b07b3fe30680063baf6fafe33 Author: Wayne Davison Date: Mon Jul 3 22:30:13 2006 +0000 Fixed the indentation on a few lines. M t_stub.c commit 47c1197534c3247a2669df86fbc36d4094d6ba93 Author: Wayne Davison Date: Fri Jun 30 15:52:52 2006 +0000 Decided that I like remove-source-files better than remove-sender-files. M generator.c M hlink.c M io.c M main.c M options.c M receiver.c M rsync.yo M sender.c commit fb41a3c66951502e6e9461d198943566799b9f62 Author: Wayne Davison Date: Fri Jun 30 15:42:41 2006 +0000 Changed --remove-sent-files into --remove-sender-files. M rsync.yo commit 2700069d5ac06be9b364cbbfd3aaf01f261e6f0d Author: Wayne Davison Date: Fri Jun 30 15:42:36 2006 +0000 Added --remove-sender-files and deprecated --remove-sent-files. M options.c commit 044ccbaacf2bd1bd502c58b802e33d95c08dbff6 Author: Wayne Davison Date: Fri Jun 30 15:42:32 2006 +0000 The remove_sent_files var was renamed to remove_sender_files. M io.c M main.c M receiver.c M sender.c commit 841d943651fc23b8a1188f2b4d6e8ec1689de6cd Author: Wayne Davison Date: Fri Jun 30 15:42:29 2006 +0000 Handle the --remove-sender-files option by sending MSG_SUCCESS for any file that is being hard-linked. M hlink.c commit 04cd8789cbc37a62a530c8ac6831128a685b6883 Author: Wayne Davison Date: Fri Jun 30 15:42:26 2006 +0000 Handle the --remove-sender-files option by sending MSG_SUCCESS for any up-to-date file (non-dir). M generator.c commit 9578783a719e1eeb1c4765be697730bc243d3de5 Author: Wayne Davison Date: Fri Jun 30 14:26:01 2006 +0000 Changed the name of the nightly symlink. M packaging/nightly-rsync commit 4cff5fa462fa54bdd84c310bd9c9bae9eee849d7 Author: Wayne Davison Date: Fri Jun 30 14:24:25 2006 +0000 Make use of module_dirlen in full_fname(). M util.c commit cc1b4f776a6f18459c6bd1379bfba4f60e5287b1 Author: Wayne Davison Date: Mon Jun 19 19:30:51 2006 +0000 Allow --with-nobody-group=GROUP (patch from Olivier Thauvin). M configure.in commit 72d1b262ac2a888a8638905840fd15a448f72903 Author: Wayne Davison Date: Fri Jun 16 09:05:21 2006 +0000 Mention the latest bug-fix. M NEWS commit 6fb7cc38a2f01d8e4ce0e2e1aa79ed31e2cfa9f8 Author: Wayne Davison Date: Fri Jun 16 09:01:31 2006 +0000 Make sure that the %f escape always has the full path info when receiving files. M log.c commit 8a7b8400e77bb1f3f23d6aabd32a8d1203330f6d Author: Wayne Davison Date: Fri Jun 16 08:56:26 2006 +0000 Updated the "use chroot" section with the latest symlink info. M rsyncd.conf.yo commit d2ab094dec7a3f68ac09520a1746c5f67a23ab22 Author: Wayne Davison Date: Wed Jun 7 23:06:18 2006 +0000 Mention the latest log-file improvements. M NEWS commit ccd2966da94db466fc0ac0e09e1473ee3d2a8b0b Author: Wayne Davison Date: Wed Jun 7 23:05:27 2006 +0000 Moved the "log file" and "syslog facility" sections into the per-module options and improved them a little. M rsyncd.conf.yo commit 6dc9b74bc661cf421dd2e9db0af9eb73824cced8 Author: Wayne Davison Date: Wed Jun 7 23:05:24 2006 +0000 Call log_init() with its new "restart" (0 or 1) arg. M clientserver.c M options.c commit 04c841190f0ce5e89724d9221904c60e75988727 Author: Wayne Davison Date: Wed Jun 7 23:05:17 2006 +0000 - Pass "module_id" to the two log-related settings that are no longer global. - Added a "restart" arg to log_init() that lets us request that logging be reinitialized if the log-file/syslog-facility params changed. M log.c commit d20ce6e144b3a723bcce949593677b738f768401 Author: Wayne Davison Date: Wed Jun 7 23:05:14 2006 +0000 Made "log file" and "syslog facility" per-module settings. M loadparm.c commit a7d461fccdf523d4268b109b25d7ef82f0cbeedf Author: Wayne Davison Date: Mon Jun 5 22:50:52 2006 +0000 Improved some comments in get_local_name() and improved the error checking a little more. M main.c commit 4c5a2da65fae37634639619586811526cf1b6fe5 Author: Wayne Davison Date: Mon Jun 5 17:00:47 2006 +0000 Mention the latest bug-fix. M NEWS commit caff33228ec3721635f25efcbc79143c0475fc8d Author: Wayne Davison Date: Mon Jun 5 16:56:50 2006 +0000 If we fail to create a new directory, skip trying to update everything that is inside that dir. M generator.c commit f38f6f80b7d3f8fea52980873a516e0f80ad87b2 Author: Wayne Davison Date: Mon Jun 5 16:52:34 2006 +0000 Added FLAG_MISSING. M rsync.h commit e848e06618ab49536e2f2a97577762c8ba1d876e Author: Wayne Davison Date: Mon Jun 5 16:17:33 2006 +0000 Got rid of an unused extern. M rsync.c commit eece5fe32c7d7b1391876f048073380f34ea7b42 Author: Wayne Davison Date: Thu Jun 1 08:40:55 2006 +0000 Mention the temp-file fix. M NEWS commit 85909931857090541511e7ab9a085225e0db0407 Author: Wayne Davison Date: Thu Jun 1 08:04:50 2006 +0000 Got rid of the FNAME logcode enum. M receiver.c M rsync.h M sender.c commit b64ee91a4138babc77ea06bb48bdad327a8b99b3 Author: Wayne Davison Date: Thu Jun 1 08:04:47 2006 +0000 Changed rprintf() messages that started with a newline into two rprintf() calls (the first of which just outputs an empty line). M main.c M options.c commit d0133e6ebac72b659d773b059032d56faa3a0314 Author: Wayne Davison Date: Thu Jun 1 08:04:43 2006 +0000 - Got rid of the FNAME logcode enum. - rwrite() no longer supports newlines at the start of the string. - maybe_log_item() avoids outputting a non-significant update to the log file if the log-file-format doesn't include %i. M log.c commit 1925c3448cc67ad17ac66ef809b275a3a3034c02 Author: Wayne Davison Date: Thu Jun 1 08:04:40 2006 +0000 - Got rid of the FNAME logcode enum. - We no longer output " is uptodate" messages to the log file. M generator.c M rsync.c commit 19b8587654616db0b1a90de7d596ccafd882df19 Author: Wayne Davison Date: Thu Jun 1 06:49:15 2006 +0000 Fixed a typo that set stdout_format_has_i instead of logfile_format_has_i. M options.c commit 051f5df5261ccdff85fd4a9704738088f813797f Author: Wayne Davison Date: Tue May 30 18:35:36 2006 +0000 Mention the latest --log-* option changes. M NEWS commit e525519509bc2c633b8f7f9880290f632d7240b6 Author: Wayne Davison Date: Tue May 30 18:26:17 2006 +0000 Authorize the current host in the rsyncd.conf file in addition to localhost and 127.0.0.1 (which will hopefully fix the failing of the daemon tests on FreeBSD). M testsuite/rsync.fns commit 4b90820d9fb7b77ba44ccb5e972b821c0551cd11 Author: Wayne Davison Date: Tue May 30 17:47:20 2006 +0000 - Added the --log-file-format option to the daemon section. - Updated and improved the --out-format section. - Moved and improved the description of the non-daemon --log-file and --log-file-format options. M rsync.yo commit 2873603ab5e7451ad8fd3ee75b859d709ae0378a Author: Wayne Davison Date: Tue May 30 17:41:54 2006 +0000 If the user specifies --log-file-format without --log-file, ignore the useless value. M options.c commit ec52c3b9dadc91c7c5b27d6ff0e2b736b1be0b5a Author: Wayne Davison Date: Tue May 30 17:41:04 2006 +0000 Skip transfer logging if the logfile_format string is empty. M log.c commit 10ae3406ee77bbb8c8d4c1212490f00e6376d08b Author: Wayne Davison Date: Tue May 30 17:15:24 2006 +0000 Allow the --log-file-format=FMT option (if given when starting a daemon) to override the "log format" setting. M clientserver.c commit 232658d9d383c6895dae982e99cf35ddd8f1d6cd Author: Wayne Davison Date: Tue May 30 17:14:17 2006 +0000 - Allow the --log-file-format option to override the "log format" setting when starting a daemon. - Make a daemon refuse all --log-file* options. - Don't use refuse logic on daemon-mode options given to a daemon module -- reject them via their own message. M options.c commit c000002f460f68baed89e9f3720f92227f576575 Author: Wayne Davison Date: Mon May 29 22:57:05 2006 +0000 Document the new --log-file-format option and renamed --log-format to --out-format. M rsync.yo commit 2fedf3d596e781273ecf3db866adac701b344c6b Author: Wayne Davison Date: Mon May 29 22:57:01 2006 +0000 - Use the renamed stdout_format_has_i variable. - Call log_item() with its new arg (and call it more often). M receiver.c M sender.c commit 887d745549812ff90fd90c7a8b8e78d61d18f04c Author: Wayne Davison Date: Mon May 29 22:56:58 2006 +0000 Turn off the --log-file option on the server side for a local transfer. M pipe.c commit 20f90d5e8a58fa8992993b444897d435af4a7896 Author: Wayne Davison Date: Mon May 29 22:56:55 2006 +0000 Use the renamed stdout_format_has_i variable. M hlink.c M rsync.c commit 17bda2d109a6b1f90412bf4169a00c687909c06b Author: Wayne Davison Date: Mon May 29 22:56:51 2006 +0000 - Use the renamed stdout_format_has_i variable. - Call log_item() with its new arg. M generator.c commit b534351058cdb1c4facdd1fc92fb0ef93587b994 Author: Wayne Davison Date: Mon May 29 22:56:48 2006 +0000 - Use the renamed stdout_format_has_i, stdout_format_has_o_or_i, and stdout_format variables. - In rwrite(), make FNAME output only go to the client. - Added an arg to log_item() that indicates what kind of output is desired: FNAME (stdout only), FLOG (log file only), or FINFO (both). M log.c commit b3e4e7ef2ea3744d80f3fa80335cce307059f86e Author: Wayne Davison Date: Mon May 29 22:56:45 2006 +0000 - Renamed log_format -> stdout_format. - Renamed log_format_has_i -> stdout_format_has_i. - Renamed log_format_has_o_or_i -> stdout_format_has_o_or_i. - Changed the --log-format to --out-format (though we still accept the old option, and still send it as well). - Added the --log-file-format option (and got rid of the code that made --out-format sometimes affect the log-file's format). M options.c commit a3f6dbdf5c9d03a0dd84f6b5e37063f2d18fddcc Author: Wayne Davison Date: Mon May 29 22:33:06 2006 +0000 The print_child_argv() function should be outputting FCLIENT messages these days, not FINFO. M util.c commit 95ae5224b0c5831e43ab02730b20c320577d8e6a Author: Wayne Davison Date: Thu May 18 18:53:24 2006 +0000 The cleanup_set() call was not getting called w/o --partial. M receiver.c commit 03dbc0b831c0df53c45828b73ffcb816f84c28bf Author: Wayne Davison Date: Thu May 18 18:52:40 2006 +0000 - Improved the setting of cleanup_new_fname and cleanup_fname. - Don't try to keep a partial file if cleanup_new_fname is not set. M cleanup.c commit ffa8ab8eb55d6cce33d9772880b2c7983aad15ce Author: Wayne Davison Date: Thu May 18 17:04:40 2006 +0000 Improved two lseek() error messages. M receiver.c commit a17e119d8ba47c7b795d985265fa34072d8b5d32 Author: Wayne Davison Date: Wed May 17 06:54:11 2006 +0000 Mention the latest fixes. M NEWS commit 6bfc7b4d794d2d246cf9b21f17b7acacfa1d01ea Author: Wayne Davison Date: Tue May 16 22:27:26 2006 +0000 Tweaked a couple things in try_dests_reg(). M generator.c commit b3e8e7c79e5d1fb33556ea3cb9cf9830085c22a5 Author: Wayne Davison Date: Sun May 14 00:27:33 2006 +0000 Make --quiet quieter (like it used to be), but also don't allow it to interfere with any logging of messages that is going on. M log.c commit bdd3a4fef5c04aaeac5dae5e5d7166981d923934 Author: Wayne Davison Date: Thu May 11 23:41:18 2006 +0000 Updated the (commented out) valgrind command. M runtests.sh commit a00f5a371e77ae765b71c6c085e74860deef2e1f Author: Wayne Davison Date: Thu May 11 23:38:10 2006 +0000 Got rid of the .ignore kluge. M packaging/release-rsync commit 55c412630cb5f3b1cece481400846bec77733c01 Author: Wayne Davison Date: Thu May 11 07:54:33 2006 +0000 Added ".bzr/" to the default CVS exclusions. M exclude.c commit 778ee637eef70dafc856e4f755dc73856b631894 Author: Wayne Davison Date: Wed May 10 18:34:32 2006 +0000 This file hasn't been needed for a while now... D .ignore commit 80aff93b3227cdf29135ed21d3f114a396a8d0a3 Author: Wayne Davison Date: Wed May 10 16:37:07 2006 +0000 Added the updating of a symlink to the very latest nightly tar file. M packaging/nightly-rsync commit 6721973e375a6c9a82869e32a2b9bcdd8c9d86db Author: Wayne Davison Date: Tue May 9 18:44:58 2006 +0000 Mention the --log-file option. M NEWS commit a2ed5801d3886bc8be2cc7b312fb83b511bf4339 Author: Wayne Davison Date: Tue May 9 18:31:24 2006 +0000 Document the new --log-file option. M rsync.yo commit 15ce4b24fcb78acadabe622e4e46b752ab2c1619 Author: Wayne Davison Date: Tue May 9 18:31:19 2006 +0000 Output the progress message as FCLIENT instead of FINFO. M progress.c commit c5260884d6885538ccc5640aebcfab8c3aa6c1ac Author: Wayne Davison Date: Tue May 9 18:31:16 2006 +0000 Got rid of the call to log_exit() now that the cleanup code handles this. M main.c commit ea124cb324be2dffb97fe44fa534b24a3060479d Author: Wayne Davison Date: Tue May 9 18:31:13 2006 +0000 - Turned some FINFO rprintf() calls into FCLIENT calls that don't go into a client-side log-file. - Added a couple FLOG rprintf() calls. M flist.c commit 13b597fa71c0407f8e9c1ae7520122d4448f239c Author: Wayne Davison Date: Tue May 9 18:31:10 2006 +0000 - Use the new logfile_* variables that are set by the --log-file option instead of the old daemon_log_* variables. - Renamed the "logfile" variable "logfile_fp". - Enhanced the logic in rwrite() to handle client-side FLOG output. M log.c commit ecc7623e7faf75f6ba3dd7b5a416c52e2346ac7d Author: Wayne Davison Date: Tue May 9 18:31:06 2006 +0000 Some demon_log_* variables changed into logfile_* variables that are also used by the new --log-file option. M clientserver.c M generator.c M receiver.c M rsync.c M sender.c commit 87c0f9d6b4899729313154ac5752dd86c745ed07 Author: Wayne Davison Date: Tue May 9 18:31:03 2006 +0000 Added --log-file and several logfile_* support variables. M options.c commit 1cfcb8af1164de16318e7d84320579a3010fa4d4 Author: Wayne Davison Date: Tue May 9 18:31:00 2006 +0000 Revised the logic for when to call log_exit() to handle the new --log-file option. M cleanup.c commit 56aaa4c44cc2bb6a4179627582b5f57c69614451 Author: Wayne Davison Date: Tue May 9 18:30:57 2006 +0000 Tweaked the comment about log-message categories. M rsync.h commit 4b6a7bd706f27456ae38828426d40363c9bd12f4 Author: Wayne Davison Date: Tue May 9 18:00:15 2006 +0000 Got rid of an unused variable. M flist.c commit 5bc933a285cef0455d102b2152d3c5675b5213c5 Author: Wayne Davison Date: Tue May 9 17:46:04 2006 +0000 Mention the latest bugfix and improved an old description. M NEWS commit 01d124d9e251317cdd9f12fb170a94e65f3c5e18 Author: Wayne Davison Date: Tue May 9 17:38:47 2006 +0000 If the --partial-dir value is an absolute path and we use a file in it as an alternate basis file, make sure that we delete it when the associated destination file is successfully updated. M receiver.c commit 58a06312a4891ed375614d60ba92ce2a54d68a5e Author: Wayne Davison Date: Fri May 5 20:41:17 2006 +0000 Improved the doc for --existing and --ignore-existing. M rsync.yo commit c2c8db91959c6c49be938b4625537a12b2a333ef Author: Wayne Davison Date: Fri May 5 16:00:33 2006 +0000 - Moved the sanitizing of the partial_dir value here from options.c. - Call die_on_unsafe_path() in a few needed places. - Handle the server-excluded checks for an absolute partial_dir and the --*-dest options. M main.c commit d1e6b0e225fd669aa547eae011691075934308a3 Author: Wayne Davison Date: Fri May 5 15:58:44 2006 +0000 - Added some calls to die_on_unsafe_path() to the path-sanitizing code. - Moved the sanitizing of the partial_dir value into main.c. M options.c commit 89363676953c674450b68e9133193da83702e8a8 Author: Wayne Davison Date: Fri May 5 15:54:20 2006 +0000 - Added a call to die_on_unsafe_path() to handle_partial_dir(). - Fixed some strange slash handling in partial_dir_fname(). M util.c commit 8517e9c10a95390d749d8411bcdee052bcad9def Author: Wayne Davison Date: Fri May 5 06:24:25 2006 +0000 A few minor changes to match the recent --help changes in options.c. M rsync.yo commit fcecb70b1d003589cd9e8766d70a4a0010fc73d4 Author: Wayne Davison Date: Fri May 5 06:16:22 2006 +0000 - Don't check HAVE_LINK directly, use SUPPORT_HARD_LINKS instead. - Updated a few items in the --help text. M options.c commit 582c1589f36a8cfe44775b75d2c0eddebef97a64 Author: Wayne Davison Date: Fri May 5 05:57:48 2006 +0000 Call the new die_on_unsafe_path() function in a few places. M main.c commit cb15269eb0cb5580169e63fada0c71f168879f4f Author: Wayne Davison Date: Fri May 5 05:56:37 2006 +0000 Call the new die_on_unsafe_path() function in a couple spots. M flist.c commit f47807900b528fc89dfb0d331f98be627ff67429 Author: Wayne Davison Date: Fri May 5 05:55:40 2006 +0000 Added a new function named die_on_unsafe_path(). This is used by a non-chroot daemon to ensure that a user-supplied path does not contain an unsafe symlink element. M util.c commit 40410a38bc1d563463fbaa08e38b25ad974d3db7 Author: Wayne Davison Date: Fri May 5 05:53:36 2006 +0000 - Don't check HAVE_LINK directly, use SUPPORT_HARD_LINKS instead. - Tweaked Paul's recent change just a tad. - Fixed the output of --compare-dest when SUPPORT_HARD_LINKS is not defined. M generator.c commit 6b54a688cfb790542c3a9b7705fe3cb664f9ffc0 Author: Wayne Davison Date: Fri May 5 05:40:17 2006 +0000 Cast file->mode to an int when printing it via %o. M generator.c commit b59dc8d5ae4cd0170587932550008c60871fafd9 Author: Paul Green Date: Thu May 4 19:00:37 2006 +0000 Fix generator.c to avoid calling do_link() on systems that do not support the link() function. The changes test OK on SuSE Linux and on my own Stratus VOS system, but I would be grateful if other folks could double-check this change. Paul G. M generator.c commit 45ba206a947ddd611ad3cdabdbbacc2e32fca913 Author: Wayne Davison Date: Thu May 4 02:42:55 2006 +0000 A few more improvements. M NEWS commit 2220ec0a69cc9bb9c2d4f022fb5fec26fd9846e6 Author: Wayne Davison Date: Thu May 4 02:38:58 2006 +0000 A few minor twiddles. M NEWS commit 5fdbb87df87673bbfdfd98032434e1370f2a16f2 Author: Wayne Davison Date: Thu May 4 02:29:58 2006 +0000 Added/clarified the latest bug-fix info. M NEWS commit f1c9bcd0fcaf72712de792c5f22b8b95d7f6291d Author: Wayne Davison Date: Wed May 3 16:58:36 2006 +0000 Cast the enum in rwrite() when calling send_msg(). M log.c commit 3723548dedd44811fc7ac9425ac3134e46bfd52a Author: Wayne Davison Date: Wed May 3 16:17:49 2006 +0000 Use send_msg() when forwarding a log message, not io_multiplex_write(). This allows send_msg() to decide if the message should be sent right away, or should be deferred. M log.c commit 12ccc73ae7b330c7187d88ae5c579c1882fabb34 Author: Wayne Davison Date: Wed May 3 16:17:46 2006 +0000 Changed read_msg_fd() to always use send_msg()/rwrite() instead of sometimes calling io_multiplex_write()/rwrite() or msg_list_add(). This simplifies the code that does the defer_forwarding_messages checking because it can now be done in just one place, in send_msg() (because rwrite() also calls send_msg() now when forwarding a msg). M io.c commit ee8d9636d145ee545b66cd2490cea11ebe6a569b Author: Wayne Davison Date: Wed May 3 06:32:59 2006 +0000 A small optimization to the new code in msg2sndr_flush(). M io.c commit 38de2866e5892ffc77a96636cd706239cbffbf4b Author: Wayne Davison Date: Wed May 3 06:11:11 2006 +0000 Made log_init() call timestring() instead of just localtime() prior to a chroot (note that timestring() makes use of localtime() plus strftime()). M log.c commit bdac7621eea8aaf7330174f787f68c67215ed026 Author: Wayne Davison Date: Wed May 3 05:37:00 2006 +0000 Improved the last bugfix description. M NEWS commit 8ac4774675e274ee27ba9344e9cf0a12a8a97bce Author: Wayne Davison Date: Wed May 3 05:22:01 2006 +0000 Mention the fix for the "unexpected tag 3" bug. M NEWS commit 229e1950eda7f8b05f80b6788851fcdb93de7728 Author: Wayne Davison Date: Wed May 3 05:19:01 2006 +0000 Fixed a bug where deferred MSG_INFO/MSG_ERROR/MSG_LOG messages were not being forwarded from the generator to the sender using rwrite() (and MSG_LOG messages didn't need to be deferred at all). M io.c commit 93977bca10287f6ba9dbb482faf01f7f57007deb Author: Wayne Davison Date: Wed May 3 00:49:31 2006 +0000 Added module_dirlen now that utils.o needs it. M t_stub.c commit c2a2147a5bf2003d09989c5185a10495158a8510 Author: Wayne Davison Date: Wed May 3 00:48:32 2006 +0000 - Call safe_stat() instead of do_stat() when a sanitizing daemon might need to ensure that it doesn't follow any unsafe symlinks. - Got rid of startdir_depth code (in favor of util.c's curr_dir_depth). - Use the new calling syntax for sanitize_path(). M main.c commit 73173af955911d89460d9f34d2861dcacb4131f9 Author: Wayne Davison Date: Wed May 3 00:48:29 2006 +0000 - Call safe_stat() instead of do_stat() when a sanitizing daemon might need to ensure that it doesn't follow any unsafe symlinks. - Don't sanitize the string of a symlink -- just use it verbatim. M generator.c commit a2248aea2e785a626b361b880f9db56100378a4a Author: Wayne Davison Date: Wed May 3 00:48:26 2006 +0000 - Call safe_stat() instead of do_stat() when a sanitizing daemon might need to ensure that it doesn't follow any unsafe symlinks. - Use the new calling syntax for sanitize_path(). M flist.c commit a8167c6611e582ef826e4ee06b590706385470ef Author: Wayne Davison Date: Wed May 3 00:48:23 2006 +0000 - Added curr_dir_depth, a variable that keeps track of the depth past the module root when a sanitizing daemon is running. - Use the new calling syntax for sanitize_path(). - Updated count_dir_elements() to not count a . component. - Improved sanitize_path() so that it can take a symlink target string and combine it with the symlink's name when the target is relative. When working with a symlink, the routine also returns NULL if any .. elements try to escape past the module root. - The new routine safe_stat(), is used when sanitizing paths (i.e. when the daemon does not have chroot enabled). This manually follows a chain of symlinks, ensuring they don't try to escape the module. M util.c commit 91f4b31fe1031adc3ec3e3066534c9d6be979d21 Author: Wayne Davison Date: Wed May 3 00:48:20 2006 +0000 Use the new calling syntax for sanitize_path(). M exclude.c M options.c commit cad8f6f980f4782a6113a5d3ea49ad8d8504aece Author: Wayne Davison Date: Tue May 2 19:52:28 2006 +0000 Tweaked some variable names in readlink_stat() and link_stat(). M flist.c commit d8bf7ea8e99c36fd85493610659d8b6838459b21 Author: Wayne Davison Date: Tue May 2 17:38:34 2006 +0000 Mention the latest bug-fixes. M NEWS commit d8f28a663ca63c09d57c1aa7988e677c16497428 Author: Wayne Davison Date: Tue May 2 17:13:11 2006 +0000 Test the new symlink sanitizing fix by using ::test-scratchdir/to as the destination and including a symlink with a leading "../" . M testsuite/daemon-gzip-upload.test commit 2ae4126a9e878cd99d154f0c0b8968f70b45bbdc Author: Wayne Davison Date: Tue May 2 17:11:42 2006 +0000 Tweaked our test config file to include transfer logging that includes %i, and to have a test-scratchdir module. M testsuite/rsync.fns commit 6f1c2aab4398d37ddb4686f42ef8568eb0a510b0 Author: Wayne Davison Date: Tue May 2 16:52:51 2006 +0000 Moved the sanitizing of a symlink's link string here from flist.c. M generator.c commit e71c1c26df8c6ca29b0c26f82d4770a8685eb509 Author: Wayne Davison Date: Tue May 2 16:46:48 2006 +0000 Fixed a problem in the --link-dest processing where -I (--ignore-times) or --size-only could adversely affect our ability to find identical files to hard-link. M generator.c commit b24498ec2c76807e7cdc201216991d4def5b293a Author: Wayne Davison Date: Tue May 2 16:42:20 2006 +0000 Set a new variable, startdir_depth, to indicate how deep the destination dir is in a daemon module's path. M main.c commit b2d4639543c91a2186517569945f835d55c7affc Author: Wayne Davison Date: Tue May 2 16:36:07 2006 +0000 Got rid of the sanitizing of a symlink's link string because it is happening too early to work correctly (before we know what our destination-directory's depth in the module will be). M flist.c commit d3ef985954a2b79aaca4be17728cb541345157bf Author: Wayne Davison Date: Fri Apr 28 17:34:53 2006 +0000 We can't check the --*-dest args against the server filter rules here because we don't know what the args are going to be relative to yet. M options.c commit 7c58c991840380a34ae9b4cd7befa7da4540683b Author: Wayne Davison Date: Fri Apr 28 16:58:20 2006 +0000 We sanitize the --*-dest args here so they can be relative to the destination directory. M main.c commit ad77db8b713d194c46f8cee1781f7a5ab7635c7e Author: Wayne Davison Date: Fri Apr 28 16:57:39 2006 +0000 Moved the sanitizing of the --*-dest args into main.c. M options.c commit e7c67065c060d500eba8d073da9568db2c658aad Author: Wayne Davison Date: Tue Apr 25 23:51:12 2006 +0000 Updated the FSF's address to an even newer one. M COPYING M access.c M authenticate.c M backup.c M batch.c M byteorder.h M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M connection.c M errcode.h M exclude.c M fileio.c M flist.c M generator.c M getgroups.c M hlink.c M io.c M lib/compat.c M lib/mdfour.c M lib/mdfour.h M lib/permstring.c M loadparm.c M log.c M main.c M match.c M options.c M params.c M pipe.c M progress.c M receiver.c M rsync.c M rsync.h M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M tls.c M token.c M trimslash.c M uidlist.c M util.c M wildtest.c commit 0f78b81511be65d8fe21af1e6ac674f9e80ac29d Author: Wayne Davison Date: Tue Apr 25 20:23:34 2006 +0000 - Updated the address for the FSF in the opening comment. - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files). M access.c M authenticate.c M backup.c M batch.c M byteorder.h M checksum.c M chmod.c M cleanup.c M clientname.c M clientserver.c M compat.c M connection.c M errcode.h M exclude.c M fileio.c M flist.c M generator.c M getgroups.c M hlink.c M io.c M lib/compat.c M lib/mdfour.c M lib/mdfour.h M lib/permstring.c M loadparm.c M log.c M main.c M match.c M options.c M params.c M pipe.c M progress.c M receiver.c M rsync.c M rsync.h M runtests.sh M sender.c M socket.c M syscall.c M t_stub.c M t_unsafe.c M tls.c M token.c M trimslash.c M uidlist.c M util.c M wildtest.c commit d051056f921f465c487a85f9fa29a2324332bc4b Author: Wayne Davison Date: Mon Apr 24 23:43:45 2006 +0000 Tweaked some whitespace to match the latest version from autoconf. M COPYING commit a4a38e8df0038a99c83fbf82de40f00b5f7b12c4 Author: Wayne Davison Date: Mon Apr 24 22:24:40 2006 +0000 Incremented the version to 2.6.9cvs. M configure.in commit 60ef8ed128e4c6c2eeac2b87166d6e4894514d3e Author: Wayne Davison Date: Mon Apr 24 22:23:56 2006 +0000 Rolled over the news file for the next version. M NEWS M OLDNEWS commit 8aa0dc7838cafcee4f00b9e74fa81364f9d18eeb Author: Wayne Davison Date: Mon Apr 24 22:20:10 2006 +0000 Updated to the version dated 2006-02-23. M config.guess M config.sub commit 4177f09b83e3ac2e2556d1db04568ab2d600852c Author: Wayne Davison Date: Sat Apr 22 15:39:57 2006 +0000 Preparing for release of 2.6.8 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit acaadb55c13410108850bbc26d35f9a82a5024c6 Author: Wayne Davison Date: Fri Apr 21 16:57:13 2006 +0000 Mention the phase-unknown changes. M NEWS commit b88c2e8ffe00b649664aee6ee70bb715e84629fa Author: Wayne Davison Date: Fri Apr 21 16:40:19 2006 +0000 - Got rid of the (mostly useless) io_read_phase and io_write_phase variables. In the future it might be useful to get rsync to mention what kind of a message it was trying to write, but the 'phase "unknown"' output was ubiquitous and confusing. - Got rid of the completely unused write_int_named() function. M io.c commit f4ea5f47dceb38fc0893cf7f203950c5496bdf6c Author: Wayne Davison Date: Fri Apr 21 16:36:30 2006 +0000 Got rid of the setting of io_write_phase. M flist.c commit 62ae66d43bfc48bbbfb35b5feac167338daec577 Author: Wayne Davison Date: Fri Apr 21 00:05:30 2006 +0000 Mention the security fix for patches/xattrs.diff. M NEWS commit 8641d287403abe135af13afa02f1d287f878f514 Author: Wayne Davison Date: Tue Apr 18 18:58:07 2006 +0000 Improved the --owner and --group sections. M rsync.yo commit de3438407c4f976c55172093795b87e49cb4a6e2 Author: Wayne Davison Date: Tue Apr 18 06:43:17 2006 +0000 Twiddle the trailing output in non-live mode. M packaging/release-rsync commit 434764269cc3f5bc2fc62f3789ff9d23a562d2d7 Author: Wayne Davison Date: Tue Apr 18 06:38:58 2006 +0000 Fixed a typo in the new code. M generator.c commit ba212fe0b645f4a261bfaf01bc7a86a0b1baecc9 Author: Wayne Davison Date: Tue Apr 18 05:48:46 2006 +0000 - Fixed --copy-dest behavior on a system where CAN_HARDLINK_SYMLINK and/or CAN_HARDLINK_SPECIAL is not defined. - Changed --link-dest behavior on such systems to work just like --copy-dest for the non-hard-linkable files. M generator.c commit 5f93b4d35ecadf57ddb87a11eda25e7d082137d7 Author: Wayne Davison Date: Tue Apr 18 05:24:02 2006 +0000 A slight improvement to the logic in try_dests_non(). M generator.c commit f8db4a8ab4bef2846cb69d46707be6b9cebedd6d Author: Wayne Davison Date: Mon Apr 17 19:55:16 2006 +0000 Mention the latest bugfix. M NEWS commit 398612ba07574d84e51380513c7c3424ac84eef0 Author: Wayne Davison Date: Mon Apr 17 19:53:41 2006 +0000 Fixed a bug where special files were not getting hard-linked via the --link-dest option. M generator.c commit 77b013afb500d94c278c31c9f0c6d2314da54ab7 Author: Wayne Davison Date: Mon Apr 17 18:15:02 2006 +0000 Don't use the -C option to make (since it's not portable). M prepare-source commit 08c0cd8a420024f4c6d68232af94db70d726e7fa Author: Wayne Davison Date: Mon Apr 17 18:00:09 2006 +0000 Mention the latest fixes. M NEWS commit 1c6e9dfabcb9fe09d1435b53b75a9bd563ce00cb Author: Wayne Davison Date: Mon Apr 17 17:56:10 2006 +0000 Use the new CAN_HARDLINK_SYMLINK and CAN_HARDLINK_SPECIAL defines from configure instead of the old (and not quite correct) run-time checking. M generator.c commit 0037bf23fcb1799d7aac0ab275311abe9a4b000c Author: Wayne Davison Date: Mon Apr 17 17:53:47 2006 +0000 Added two new checks: 1. Does link() hard-link symlinks (not the referent)? 2. Does link() hard-link a fifo? M configure.in commit 285edc91695ad6914f99940ffc19dd1f882073a7 Author: Wayne Davison Date: Mon Apr 17 17:37:13 2006 +0000 Don't use -C with make because it's not portable. M Makefile.in commit c4aa84ad50d9ec1f1991cd699fe34dfef476290e Author: Wayne Davison Date: Thu Apr 13 16:54:24 2006 +0000 Got rid of the unused REPLACE_INET_NTOA and REPLACE_INET_ATON checks. M configure.in commit b635bc92d16f538b2ea949580f55c86532d84843 Author: Wayne Davison Date: Thu Apr 13 16:53:15 2006 +0000 Got rid of inet_ntoa -> rep_inet_ntoa tom-foolery because rsync doesn't use inet_ntoa() anymore. M rsync.h commit 146d2228ccbbe64a7e5d457294c6b5493f1ff4ae Author: Wayne Davison Date: Thu Apr 13 16:52:15 2006 +0000 Got rid of the replacement inet_aton() and inet_ntoa() functions because no code in rsync has used these functions since 2.4.8. M lib/compat.c commit b2501ccf123a42ff25a8853fb59f09986dac60be Author: Wayne Davison Date: Wed Apr 12 16:59:32 2006 +0000 Improved a sentence. M NEWS commit e60bba3fbc61c979dbc7f215dd16d27537d52bde Author: Wayne Davison Date: Wed Apr 12 16:35:53 2006 +0000 A few minor changes to some messages and a couple variable improvements. M packaging/release-rsync commit e26cfccf1651a65046d9ed21d1bbde3914f416a2 Author: Wayne Davison Date: Wed Apr 12 16:23:46 2006 +0000 Preparing for release of 2.6.8pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 74f80abce29ddf1b89bde5caccaae7e1815e1022 Author: Wayne Davison Date: Tue Apr 11 00:48:55 2006 +0000 Moved the include of netinet/ip.h into socket.c. M rsync.h commit 5899b8cf3ebf6cce0398357992b8830c4d86acac Author: Wayne Davison Date: Tue Apr 11 00:48:28 2006 +0000 Moved the include of netinet/ip.h here along with its apparent prerequisite, netinet/in_systm.h . M socket.c commit 08e0a629562cbb9c66f464b6a072b74ddc5b255e Author: Wayne Davison Date: Tue Apr 11 00:28:02 2006 +0000 Tweaked a comment. M clientserver.c commit 2bd17a51aefbcf56d4a5d4b836f7523d7ca6cd60 Author: Wayne Davison Date: Sun Apr 9 13:51:56 2006 +0000 Include netinet/ip.h . M rsync.h commit c7b9ebb5985c8b0df5d5c30248a848246e0a4204 Author: Wayne Davison Date: Sat Apr 8 16:43:21 2006 +0000 Mention the read-position fix. M NEWS commit e3db43ffe5a20739970785fcd57bc220ea5b536d Author: Wayne Davison Date: Sat Apr 8 16:37:50 2006 +0000 Fixed the value of map->p_fd_offset when a read() fails or is abbreviated. M fileio.c commit f61ab01d9630d892b77770f7bbf7e068dc33ae2e Author: Wayne Davison Date: Sat Apr 8 16:36:57 2006 +0000 Use --delete-after instead of --delete. M packaging/nightly-rsync commit ceca8ccac87ca8e907c063d56b45a49e09ba9a80 Author: Wayne Davison Date: Sat Apr 8 16:04:34 2006 +0000 We don't need log_initialised exported after all. M log.c commit 374c3e1278e1e5e14e218c3149e5d633f7e044b6 Author: Wayne Davison Date: Sat Apr 8 16:03:16 2006 +0000 Moved the calls to client_addr() and client_name() below the lp_load() call so that their potential to output log messages can't cause the log-file to initialize before we know what "log name" to use. M clientserver.c commit e09d8a304cbc158fb61feeaff0a8e7c5be688af0 Author: Wayne Davison Date: Thu Apr 6 07:54:03 2006 +0000 Clarified a few items. M NEWS commit 2a7d9fe9b8792cc6b419b2e25e7cf73d1c06376c Author: Wayne Davison Date: Thu Apr 6 07:38:54 2006 +0000 A slightly better fix than the last version. M clientserver.c commit e63aeb6d68aff4668064dd3a44b6979fab0733a8 Author: Wayne Davison Date: Thu Apr 6 07:33:12 2006 +0000 Made log_initialised public. M log.c commit 077d5d4ebc8ffa96264ab3fe1bef6395388b1f92 Author: Wayne Davison Date: Thu Apr 6 07:28:22 2006 +0000 There's no need for lp_load() to check am_daemon. M loadparm.c commit e2d774cdd7e00d9680a5f68d3b81c2bed7a37d40 Author: Wayne Davison Date: Sun Apr 2 21:15:37 2006 +0000 Improved the bind()-failure message to mention what family failed. M socket.c commit 415b5983461ac3079cec2f1a80b7d73cbf6328ff Author: Wayne Davison Date: Sun Apr 2 15:02:02 2006 +0000 Got rid of duplicate rsync: prefix from an rsyserr() call. M params.c commit 69627d66f82094da954018fb0a328271d23e511f Author: Wayne Davison Date: Sun Apr 2 14:23:22 2006 +0000 Improved a couple sentences. M NEWS commit ac98cd98e361d7703a9e8411aa7102613a6fb025 Author: Wayne Davison Date: Fri Mar 31 17:56:19 2006 +0000 - Mention the logging fix for a single-use daemon. - Mention the fatal error for when --daemon can't be honored. M NEWS commit 91d324b4ea48786662110e89bce60d7b7e84b94b Author: Wayne Davison Date: Fri Mar 31 17:37:21 2006 +0000 Log the connect message after calling log_init(). M clientserver.c commit 89fb50263bcd695774804a1227b0a4c4a62d812c Author: Wayne Davison Date: Tue Mar 28 23:09:36 2006 +0000 - Complain if the user specified --delete without -r or -d. - Got rid of the saw_delete_* vars. M options.c commit e257c6c20b7ab5dc2a33ffa0297ed92484f8d507 Author: Wayne Davison Date: Tue Mar 28 23:09:07 2006 +0000 Use the regular delete* vars instead of the saw_delete* vars (which are no longer around). M exclude.c commit 43eae40e4590119df81d70ecfac70b3360739016 Author: Wayne Davison Date: Tue Mar 28 18:23:24 2006 +0000 Include the version number when we exit with an error or warning. M log.c commit 920240a68769c6d052c3bbbc7663d8dea1d21490 Author: Wayne Davison Date: Tue Mar 28 16:49:23 2006 +0000 - Mention two omitted --files-from bug-fixes. - Added a place-holder release line for 2.6.8. M OLDNEWS commit f8b9da1a2c4c2a70b73dc408e2e7c6393c400df4 Author: Wayne Davison Date: Tue Mar 28 06:12:18 2006 +0000 Output the who_am_i() info in the "unknown message" error. M io.c commit 3c987ee956c98093d8033499d79a3fb558578f1b Author: Wayne Davison Date: Wed Mar 22 18:26:44 2006 +0000 Mention latest tweaks. M NEWS commit 5c6d46329b2c83ec0bbb8e6344d63517c8d8eec6 Author: Wayne Davison Date: Wed Mar 22 17:48:59 2006 +0000 If open_socket_in() fails, we now log the reasons why. M socket.c commit 8b3e964d14aaf4b128d40362a74e20a390393327 Author: Wayne Davison Date: Tue Mar 21 18:11:43 2006 +0000 Mention the new support/file-attr-restore script. M NEWS commit 91a93df0497d9915d8b59e5caf1849dd9d14d5a1 Author: Wayne Davison Date: Tue Mar 21 18:06:26 2006 +0000 A nice file-attribute maintenance script that lets you restore permissions, ownership, and group-info on files that may be different than the originals. A support/file-attr-restore commit 19826af5f0d613abc1362598b3bcb84894266322 Author: Wayne Davison Date: Tue Mar 21 03:45:03 2006 +0000 Fixed a few things that looked like yodl macros but were not. M rsyncd.conf.yo commit 49f4cfdf393fe32993a5169ab3dc3820a1368310 Author: Wayne Davison Date: Tue Mar 21 03:41:00 2006 +0000 Improved a few things that a more modern yodl complained about. M rsync.yo commit b3222792ad41531feebccc3ec9c7af0d554cb2fe Author: Wayne Davison Date: Fri Mar 17 23:57:19 2006 +0000 Changed where ITEM_REPORT_ATIME goes in the list. M rsync.h commit 064071011597ccab5486a2a459e425f15b4126cd Author: Wayne Davison Date: Fri Mar 17 21:59:25 2006 +0000 Go ahead and define upcoming ITEM_REPORT_* defines now. M rsync.h commit fa65989a8b838c2e5a1b5216abed06015d9a6105 Author: Wayne Davison Date: Thu Mar 16 21:37:18 2006 +0000 Added support for using solaris's "setfacl -s" in place of GNU's "setfacl -k". M runtests.sh commit 4209f079dd049759eed3448b3625a90ecd1ee69a Author: Wayne Davison Date: Thu Mar 16 20:02:36 2006 +0000 Make sure that the --relative test creates the implied directories with user-write permission, and turns any symlinks in the implied dirs into real dirs. M testsuite/exclude.test commit a7704777cee14bb3d0cb3a288ee44a620fca8a59 Author: Wayne Davison Date: Thu Mar 16 10:08:08 2006 +0000 An extra safeguard for msg2sndr_flush(). M io.c commit 7d51b8374d57d3cbdbd9821ed80221f9189d4d35 Author: Wayne Davison Date: Thu Mar 16 09:57:32 2006 +0000 Made the new msg2sndr handling even better. M io.c commit a27042b5214c7cc945c4473f9ca6e2a6322c5579 Author: Wayne Davison Date: Thu Mar 16 03:18:16 2006 +0000 Mention fix for stunnel-using rsync. M NEWS commit 5b51c893c563e64f1e6b7e0550f4b8831e641bd1 Author: Wayne Davison Date: Thu Mar 16 02:26:27 2006 +0000 Optimized the reacquisition of the code value from the msg2sndr list. M io.c commit 408e69396c7efd881185face829c2057044c61e5 Author: Wayne Davison Date: Thu Mar 16 01:27:26 2006 +0000 Fixed the reacquisition of the code value from the msg2sndr list. M io.c commit 954bbed84aef742d65327a4de0ea214ed90cb6b3 Author: Wayne Davison Date: Thu Mar 16 00:57:54 2006 +0000 - Optimized the msg_list_item structure to make the buffer an integral part of the structure instead of pointer to a separately allocated buffer. - Improved the code that was ensuring that no messages from the receiver could be merged into the middle of a partially written buffer from the generator. The new code ensures that we never avoid reading the messages from the receiver (like we used to). This ensures that the generator will not hang when the receiver got a read error on the socket, sent us a message about it, but the socket in the generator never becomes writable for it to get a similar error (now we are assured of getting the receiver's note about their read error, and we know to shut things down). M io.c commit 7c329ec72c3ac92b10970fd0eb0573bd2af920de Author: Wayne Davison Date: Wed Mar 15 18:47:31 2006 +0000 Mention the log-file.diff. M NEWS commit 07a8a360a56c6e09840ff8fef932aca819725904 Author: Wayne Davison Date: Wed Mar 15 16:54:13 2006 +0000 Got rid of an errant newline. M rsync.yo commit 1618c9e6d179fc46285cf556c5bb090ed0e9e503 Author: Wayne Davison Date: Mon Mar 13 16:45:24 2006 +0000 Improved the regex to match syslog lines and be easier to read. M support/rsyncstats commit ba0147ac42fcae0b80071185b51fda4527e0d03a Author: Wayne Davison Date: Mon Mar 13 16:44:47 2006 +0000 Changing the version to 2.6.8cvs. M configure.in commit 9e88f057b4a65031bed6ffb2556f6f5c095112a7 Author: Wayne Davison Date: Mon Mar 13 16:42:50 2006 +0000 Starting the news for 2.6.8. M NEWS commit f171bf5b8f9a4c7e77b1c0179e0fa9e2fb302f12 Author: Wayne Davison Date: Mon Mar 13 16:42:33 2006 +0000 Rolling over the NEWS from 2.6.7. M OLDNEWS commit 1b1628b90a561a68371f8da3f1cba8be9c6e4944 Author: Wayne Davison Date: Mon Mar 13 16:42:08 2006 +0000 Fixed a bug where the NEWS file got an extra newline inserted when the release date was added. Changed "ln -f" to "cp -p" because samba.org doesn't allow ln to be used at the moment. M packaging/release-rsync commit 50cf25672e3decdff6799c0ac59784c7a6cd82ad Author: Wayne Davison Date: Mon Mar 13 01:57:13 2006 +0000 Added a test of a simple exclude when --relative is enabled. M testsuite/exclude.test commit b3168628316520082fee8e5ec330bd41e473751a Author: Wayne Davison Date: Mon Mar 13 01:56:19 2006 +0000 Fixed a problem when copying an absolute source path with the --relative option enabled. M exclude.c commit 38a4b9c2974e24386819a27c3f6562f92d27041e Author: Wayne Davison Date: Mon Mar 13 00:45:07 2006 +0000 Block-quote the itemized list in the --stats section so that it is indented in the manpage. M rsync.yo commit a058cbc410d52908a3801628d3ee48a4a41575d2 Author: Wayne Davison Date: Sat Mar 11 18:43:42 2006 +0000 Preparing for release of 2.6.7 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 1ef7913497eec94ee642b8fb3ecf6498cc407c9f Author: Wayne Davison Date: Sat Mar 11 17:59:37 2006 +0000 Mention solo-dir fix for a dir without S_IWUSR. M NEWS commit 88a16c8b4f71413857abee83bff8788c75cfdb20 Author: Wayne Davison Date: Fri Mar 10 15:57:03 2006 +0000 Don't force S_IWUSR on a solo directory transfer. M generator.c commit 8030b28ff86550d486840266c21a483e46b96eb0 Author: Wayne Davison Date: Tue Mar 7 08:46:29 2006 +0000 Make extra sure that authbuf can't overflow. M socket.c commit 1c598b1db816e215c6e1a23b218afb8820c21db0 Author: Wayne Davison Date: Mon Mar 6 18:28:06 2006 +0000 Mention fix for Proxy-Authorization header. M NEWS commit 6854bf69a826aad2129272f2504a5be789a0912b Author: Wayne Davison Date: Mon Mar 6 18:22:26 2006 +0000 Call base4_encode() with "1" for its new "pad" arg so that the Proxy-Authorization header is properly padded with trailing '=' chars. M socket.c commit 293def601d3267a361120cf85bfd902e7b2c3736 Author: Wayne Davison Date: Mon Mar 6 18:22:20 2006 +0000 The base4_encode() function now takes a "pad" arg which indicates if the caller wants to pad the value with trailing '=' chars. M authenticate.c commit 651dc65efc6f6af3685558dd79a8e5a310b7d8a6 Author: Wayne Davison Date: Sat Mar 4 08:21:58 2006 +0000 Tweaked the mode of the files in the tar file. M packaging/release-rsync commit c2b2bd6a93eb8aeec53cf2278ba1f806051288e8 Author: Wayne Davison Date: Thu Mar 2 23:42:56 2006 +0000 Since the samba.org rsync is so old that it doesn't handle out-of-order hard-linked files, changed the script to do the hard-linking manually. M packaging/release-rsync commit e32a48d256e7667f67e6a02fe6d0f03e35ad56ef Author: Wayne Davison Date: Thu Mar 2 22:49:27 2006 +0000 Preparing for release of 2.6.7pre3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit b5cf121d7055a4d02dae0b5156786275b7ce7c39 Author: Wayne Davison Date: Thu Mar 2 03:56:14 2006 +0000 Mention the get_local_name() change. M NEWS commit 44c26bf2a18a84c0f492c92c934060fe385096f7 Author: Wayne Davison Date: Thu Mar 2 03:53:42 2006 +0000 Don't allow overwriting a non-directory with a directory (just like cp). M main.c commit cc8c5057fecefca576daa1f4e891b444f25686fd Author: Wayne Davison Date: Thu Mar 2 03:40:09 2006 +0000 If get_local_name() fails to stat() the destination for any reason other than the destination does not exist, mention the error and exit. M main.c commit b4c7c1ca999f0c99d88b1acb10471e029d04fced Author: Wayne Davison Date: Wed Mar 1 01:04:57 2006 +0000 A couple more improvements for --list-only. M rsync.yo commit 16d3b31b2c0f646c4c320703f0d45353b0622b76 Author: Wayne Davison Date: Wed Mar 1 00:59:22 2006 +0000 Improved a couple sentences. M NEWS commit 89a8180c5ec7ca9aafdf39393fc87210dd617606 Author: Wayne Davison Date: Tue Feb 28 21:48:45 2006 +0000 One more bugfix. M NEWS commit 34f961bbf37013a52f1ba4d24dfacc5e9decf589 Author: Wayne Davison Date: Tue Feb 28 21:48:15 2006 +0000 Got the order of s1 and s2 right in the debug output. M match.c commit 2384f9e1db394334e696ed75006f9b1d5581d59a Author: Wayne Davison Date: Tue Feb 28 21:21:44 2006 +0000 Update for hash-table change. M NEWS commit 48cce779a22b393a2487842a246be5db65594306 Author: Wayne Davison Date: Tue Feb 28 21:20:08 2006 +0000 Decided to drop the dynamically sized hash table for now. This was due to timing tests showing that the per-byte modulus calculation slowed down regular sized files. Kept the other improvements because they lessened our memory use and actually sped up the code. M match.c commit 68207537326987e28d42ad3b2fe53bdb1ebcc781 Author: Wayne Davison Date: Tue Feb 28 07:32:48 2006 +0000 Renamed sum_table -> hash_table. M match.c commit fbbe9a016df450797a787dee2849e7d9d9238eed Author: Wayne Davison Date: Tue Feb 28 01:00:03 2006 +0000 Changed the name of GETTAG() to SUM2HASH(). M match.c commit c64ca7ef58bf3b2eb41cd0d1cd809fe934be4d8a Author: Wayne Davison Date: Tue Feb 28 00:31:51 2006 +0000 Eliminated one variable from hash_search(). M match.c commit 900cfcb584e878c9600827b7e0ad7160e1018b48 Author: Wayne Davison Date: Tue Feb 28 00:09:19 2006 +0000 - Fixed a problem with the new gettag2() macro by getting rid of the need for it. - Fixed a really old bug in the verbose output where it would output the wrong sum value (off by one). - Renamed the tag_hit variables & debug output to hash_hit. M match.c commit beab3078d637de643825a3b8f0c246a7c2db042d Author: Wayne Davison Date: Mon Feb 27 23:35:18 2006 +0000 Added --no-H and --no-hard-links. M options.c commit 530a2199dae9e88ed9e5b15fedb219d188f71936 Author: Wayne Davison Date: Mon Feb 27 21:29:44 2006 +0000 Mention the hash table change. M NEWS commit d9bca0c32fe5c76668ec89c64dc5ec26a838f40e Author: Wayne Davison Date: Mon Feb 27 21:16:04 2006 +0000 This is Shachar Shemesh's patch for making the hash-table code work better with large files. I further modified it to eliminate the extra level of indirectness (and the qsort()), which saves memory. M match.c commit d733de97f51cdac1316c27fb4c96eb307d4842ce Author: Wayne Davison Date: Mon Feb 27 21:11:56 2006 +0000 Added a "chain" item to the struct sum_buf. M rsync.h commit f06c11ed40a3b9d26fb639d393ee13711005f324 Author: Wayne Davison Date: Mon Feb 27 20:53:35 2006 +0000 Tweaked a sentence. M rsync.yo commit c638caa63eda76ac72aef2869b6cece4a23467f7 Author: Wayne Davison Date: Mon Feb 27 03:12:26 2006 +0000 In read_sum_head(): if we read a negative checksum count, die with an error. M io.c commit d775372a34565cd8d8e3920f536cd2cbbf0b57b8 Author: Wayne Davison Date: Fri Feb 24 19:50:22 2006 +0000 Tweaked a sentence. M packaging/release-rsync commit 07affc3d9393278d7cf679b87adb504e36d89870 Author: Wayne Davison Date: Fri Feb 24 17:58:24 2006 +0000 Document the latest changes. M NEWS commit f2ebbebead082e942a16997e0cdcf6fba8066f50 Author: Wayne Davison Date: Fri Feb 24 17:54:47 2006 +0000 - Document the new --copy-dirlinks option. - Improved the docs for --no-implied-dirs and --keep-dirlinks (based on a patch from Matt). - Improved a few other misc. sentences. - Shuffled the order of a couple options. M rsync.yo commit a695b379b58e6443c83d4a2acfe6aeb040343cdf Author: Wayne Davison Date: Fri Feb 24 17:54:41 2006 +0000 Make sure the receiver resets copy_dirlinks (so that it can't affect the delete scan). M main.c commit 88c2190a7c193a7b9218c89f445638d29e4be132 Author: Wayne Davison Date: Fri Feb 24 17:54:35 2006 +0000 - Got rid of unused externs. - Added support for copy_dirlinks. - Fixed a bug where --copy-links would not affect implied dirs unless --copy-unsafe-links was also specified. M flist.c commit 2dbf36ef550d63550188480bb596c88cbeecf54a Author: Wayne Davison Date: Fri Feb 24 17:54:30 2006 +0000 Added the new --copy-dirlinks (-k) option. M options.c commit cca92086975de6bf3af19a8bbe5965f3716ebd12 Author: Wayne Davison Date: Fri Feb 24 16:43:44 2006 +0000 Got rid of unused externs. M backup.c M clientname.c M compat.c M generator.c M hlink.c M io.c M match.c M receiver.c commit aa37022ef7f808385a16115e2be0aa253e9c6da4 Author: Wayne Davison Date: Fri Feb 24 09:35:47 2006 +0000 A recently added stat() call needed to be do_stat(). M generator.c commit 85c417579f5cb56f29b9ec7d6b5509c99358a285 Author: Wayne Davison Date: Fri Feb 24 09:34:44 2006 +0000 Made create_directory_path() return -1 if it couldn't create some portion of the filename's path. M util.c commit baed67efc471537da02720a4ef883a014b24cb9b Author: Wayne Davison Date: Fri Feb 24 01:56:29 2006 +0000 Need to define an orig_umask value now that utils.c uses it. M t_stub.c commit c5b7aa153235d39720d80c3e7e700d83e9ff2e91 Author: Wayne Davison Date: Fri Feb 24 01:56:26 2006 +0000 The orig_umask value is now a mode_t. M clientserver.c M log.c M pipe.c M rsync.c commit 904e5af12874694c47b7ccf7b8b2e6aa883cab0f Author: Wayne Davison Date: Fri Feb 24 01:56:21 2006 +0000 The create_directory_path() function no longer takes a base_umask arg. M generator.c M receiver.c commit a41d110647dd006e657ec9a726c69d30e5c4ddcd Author: Wayne Davison Date: Fri Feb 24 01:56:18 2006 +0000 - The orig_umask value is now a mode_t. - Use CHMOD_BITS instead of 07777. M chmod.c commit a92d6ff13c78b0ec3c86974dc93d85e23c4a180a Author: Wayne Davison Date: Fri Feb 24 01:56:14 2006 +0000 Moved the orig_umask variable's definition into main.c since it has nothing to do with option settings. M options.c commit 05278935a3556dc6848d2aed6ae4a450b4f771d7 Author: Wayne Davison Date: Fri Feb 24 01:56:10 2006 +0000 - Call mkdir_defmode() instead of do_mkdir(). - Define orig_umask in this file, not options.c. - Made orig_umask a mode_t, not an int. M main.c commit a56cdef9b147714d2762fb93c47d7fa0808433c9 Author: Wayne Davison Date: Fri Feb 24 01:56:07 2006 +0000 Call mkdir_defmode() instead of do_mkdir(). M backup.c commit e9357a2deb1adbeb8dd50f90f959a3ecd5f88806 Author: Wayne Davison Date: Fri Feb 24 01:56:01 2006 +0000 + Added mkdir_defmode(). + Changed create_directory_path() to drop the (now) unneeded base_umask arg and to call mkdir_defmode(). M util.c commit 8d94d27af04b3eddb0f1d62ddd7424a31312620b Author: Wayne Davison Date: Fri Feb 24 01:39:10 2006 +0000 Moved an extern into its proper place. M log.c commit 6f2a222c591debd25626d305316480ea6f6abb2b Author: Wayne Davison Date: Thu Feb 23 20:29:55 2006 +0000 One more fuzzy tweak. M generator.c commit 8470a515ef97ba971409fbdab7f1c8d0ab017b5d Author: Wayne Davison Date: Thu Feb 23 20:27:17 2006 +0000 Some improved fuzzy-parent-dir logic. M generator.c commit 06982ac43bda6892b92e5b67895a939e24dbc40f Author: Wayne Davison Date: Thu Feb 23 20:17:09 2006 +0000 Mention latest fixes. M NEWS commit 865c3b5f92d7286565a289649e8fdaa9ace8802c Author: Wayne Davison Date: Thu Feb 23 20:00:48 2006 +0000 The new fuzzy-dir logic once again avoids calling get_dirlist() until a regular file is found in the current parent directory. M generator.c commit 8c9e06d7b927c3fa47be36a46066572b7b3c149e Author: Wayne Davison Date: Thu Feb 23 19:43:54 2006 +0000 Fixed the creation of symlinks and devices when both --relative and --no-implied-dirs are specified and the destination dir does not yet exist. M generator.c commit a9cc1283089c07f87e986cf3837c096c3f8462c7 Author: Wayne Davison Date: Thu Feb 23 19:07:33 2006 +0000 Renamed fuzzy_dirname -> parent_dirname. M generator.c commit ccb16b467b24c4bbbe0cfba3c81025ea0a2bd110 Author: Wayne Davison Date: Thu Feb 23 18:58:30 2006 +0000 Make sure that the --fuzzy option's dir-scan doesn't generate an I/O error when --no-relative is used and the destination dir does not exist yet. M generator.c commit 1e44aeb92a796169753faa0d538ea3384d0d5d07 Author: Wayne Davison Date: Thu Feb 23 00:43:17 2006 +0000 Mention the --list-arg change. M NEWS commit c897f7119adf97e8d4759462a6dd25a4d4fe636a Author: Wayne Davison Date: Thu Feb 23 00:40:58 2006 +0000 Document the revised --list-only behavior and the ability to use rsync with one local source arg (i.e. no destination). M rsync.yo commit ee8e2b15478e93d1ba340bb3f8dfb5e854766d53 Author: Wayne Davison Date: Thu Feb 23 00:38:34 2006 +0000 Rsync no longer returns a usage error when used with one local source arg and no destination: this now implies the --list-only option, just like one remote source arg has always done. M main.c commit 5fa38cd679f73cd21b6e3fd633492756b7436c0e Author: Wayne Davison Date: Wed Feb 22 19:09:51 2006 +0000 - Improved the way we generate the tar file. - The second run of verify-patches is in a better spot now. - Made various improvements to the output. M packaging/release-rsync commit 65535b54821052644c1274070bc42480df933aa3 Author: Wayne Davison Date: Tue Feb 21 17:19:49 2006 +0000 Mentioned that the daemon now logs connections. M NEWS commit 439a198d02b33c473671acda35e98a1ba6a3ad8d Author: Wayne Davison Date: Tue Feb 21 17:09:23 2006 +0000 Log every connect to the daemon. M clientserver.c commit f041b025573c494d19215134fe4f39e729a59d76 Author: Wayne Davison Date: Tue Feb 21 00:29:55 2006 +0000 Added a comment. M clientserver.c commit 4d8639eb2d92facd482523465ea0fbffcddfc2ed Author: Wayne Davison Date: Mon Feb 20 19:58:06 2006 +0000 A few more tweaks and fixes. M packaging/release-rsync commit 519c8de16f8bc738f1b10178b7b2f68ffb4bb8bb Author: Wayne Davison Date: Mon Feb 20 19:36:56 2006 +0000 - Moved the checkout of the cvs source above the version prompting so that we can use the version from the configure.in file to provide good default values for the user. - When moving old tar/diff files into the old-* dirs, first hard-link them into place, then (if "live"), use rsync to update these new files on the server (which saves us later re-sending), and _then_ delete the old names. M packaging/release-rsync commit 7f20af4674a58c0714c36b3372f54642315f8dc5 Author: Wayne Davison Date: Mon Feb 20 18:35:41 2006 +0000 Made the new warning more visible. M packaging/nightly-rsync commit 55d24e5fedfd872e06b3a38569be16ab66b0bd88 Author: Wayne Davison Date: Mon Feb 20 18:34:27 2006 +0000 Mention if any of the CVS files we're putting in the tar file aren't up-to-date. M packaging/nightly-rsync commit 81f654e39682af89c47d5a525058151366e90adc Author: Wayne Davison Date: Mon Feb 20 18:03:55 2006 +0000 Mention a couple more bug fixes. M NEWS commit 8f1dc165e2dc997e12c09f7ea8e2588f16eed8b8 Author: Wayne Davison Date: Mon Feb 20 17:58:13 2006 +0000 A brief msleep() in option_error() may be helpful to ensure that an option error always arrives intact from the remote rsync. M options.c commit 9a0cfff57f6598a2f8ede199ef31be4dc57a8dad Author: Wayne Davison Date: Mon Feb 20 17:50:36 2006 +0000 Don't try to obey bwlimit restriction until bwlimit_writemax is set. This fixes a bug with option errors not getting reported because the write code gets called with bwlimit != 0 and bwlimit_writemax == 0. M io.c commit d749eb6896029099c08cda39e738a87468f76ffc Author: Wayne Davison Date: Mon Feb 20 17:17:51 2006 +0000 When starting up a transfer, substitute the remember_children() SIGCHLD handler in place of the minimal one that socket.c enabled. M clientserver.c commit 6d59ac192b6df345ab04035ea3bc6751c3537307 Author: Wayne Davison Date: Mon Feb 20 17:16:21 2006 +0000 Made the formerly static sigchld_handler() available as a public function named remember_children(). M main.c commit 94d3725cf202bbbef2674bb048d7604be7359303 Author: Wayne Davison Date: Mon Feb 20 00:01:27 2006 +0000 In dest_mode(), we now apply any "incoming chmod" changes from the daemon. M rsync.c commit 8840ec0f49157bc390b3dda5467287a0290ac4f1 Author: Wayne Davison Date: Mon Feb 20 00:00:35 2006 +0000 Set a new daemon_chmod_modes pointer with the daemon's chmod (incoming or outgoing) changes. M clientserver.c commit 44a8e86d471cdf0a2b5d4523b8dcc3a9774df17e Author: Wayne Davison Date: Sun Feb 19 23:58:59 2006 +0000 Mention the change in how "incoming chmod" works when --perms was not specified. M rsyncd.conf.yo commit 73abdda442d30cf8c597eaf0a24c629662eddceb Author: Wayne Davison Date: Sun Feb 19 23:33:15 2006 +0000 Slightly tweaked the output in non-live mode. M packaging/release-rsync commit 15b03ab1a84ccf4d68963725b20f955d56e5731f Author: Wayne Davison Date: Sun Feb 19 23:31:56 2006 +0000 Changed parse_chmod() to return the pointer to the new items on success. M chmod.c commit dc5245679af837e59354729721f32761956ebd1a Author: Wayne Davison Date: Sun Feb 19 16:21:30 2006 +0000 Preparing for release of 2.6.7pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 60414e5bced7bde9bf8a65ff35dfee738010a9be Author: Wayne Davison Date: Sun Feb 19 16:14:39 2006 +0000 The tar command needed --no-recursion. M packaging/nightly-rsync commit af40c7d6678dbe03b9efcef798de7500c96f68bc Author: Wayne Davison Date: Sun Feb 19 16:05:08 2006 +0000 The hide filter rule is no longer needed. M packaging/nightly-rsync commit 7eb2ecda0f4f884454c9e448a448227b94d08f21 Author: Wayne Davison Date: Sun Feb 19 15:52:59 2006 +0000 Improved the description of a fix in 2.6.4. M OLDNEWS commit 6d12a859bc99ae8fa52ef889c2b818fbf7df7198 Author: Wayne Davison Date: Sat Feb 18 21:27:54 2006 +0000 The perl script I use to create new rsync releases. This is an adapted and extended version of an old shell script. A packaging/release-rsync commit 920071e242d266eeb802011b5044ce7a3501f708 Author: Wayne Davison Date: Sat Feb 18 21:26:48 2006 +0000 A perl script I wrote to make a new "nightly" tar file and maintain the nightly dir on samba.org. A packaging/nightly-rsync commit 2a24b4bd0c664a20816cc81e36847c1d0d74391b Author: Wayne Davison Date: Thu Feb 16 07:40:55 2006 +0000 Some more refinement of the --checksum section. M rsync.yo commit a7535022009774c49a272bd509c68bca49d05a61 Author: Wayne Davison Date: Wed Feb 15 20:09:49 2006 +0000 Don't try to help the ACKs for the --remove-sent-file option when --delay-updates was specified. M generator.c commit 8958fae362683257f8202b7f56b151b9c5ce5103 Author: Wayne Davison Date: Wed Feb 15 19:58:53 2006 +0000 One last change to make the --checksum distinction very clear. M rsync.yo commit e2d68210d77124432baa7c04185b4320c7f9b940 Author: Wayne Davison Date: Wed Feb 15 19:24:39 2006 +0000 Another attempt to make --checksum clearer. M rsync.yo commit 99534debc8e4b2daa187638fe3e3d107c72c085d Author: Wayne Davison Date: Wed Feb 15 18:20:23 2006 +0000 Improved the --checksum description and mention our whole-file checksum verification checksum is different. M rsync.yo commit 5b986297479dcdb1151a92c393af2a3ecb6a74bc Author: Wayne Davison Date: Wed Feb 15 08:26:51 2006 +0000 Improved the while's logic in increment_active_files(). M io.c commit 42003f6af3aa45e4afa1f840960b825cb832bdc0 Author: Wayne Davison Date: Wed Feb 15 08:16:42 2006 +0000 Mention the change to --remove-sent-files. M NEWS commit 434573b226ea1caac92b0e3d0202e1548fabf595 Author: Wayne Davison Date: Wed Feb 15 08:06:45 2006 +0000 Call increment_active_files() during the first phase of a transfer where --remove-sent-files was specified. M generator.c commit d6081c829cf2aed6e7d5780e9a076fdcfd0e2391 Author: Wayne Davison Date: Wed Feb 15 08:05:31 2006 +0000 Added increment_active_files() and decrement_active_files() which allows the generator to ask us to limit the number of files that are currently active in the transfer when --remove-sent-files is enabled. M io.c commit 58718881efbb3a539fbe90008bb0c9d7e15e7236 Author: Wayne Davison Date: Tue Feb 14 16:45:38 2006 +0000 - Changed "called" to "named". - Fixed a filter option to have the right syntax. - Mention --prune-empty-dirs in a couple more places. M rsync.yo commit ac669e8b922c7ace230294f9bf9a3a2bdfbd19d2 Author: Wayne Davison Date: Tue Feb 14 16:44:11 2006 +0000 Tweaked a comment. M prepare-source commit 567f1566a9f6628229de8e046e3d451ba7bce5c7 Author: Wayne Davison Date: Mon Feb 13 18:45:04 2006 +0000 List more of the doc improvements, list some of the best diffs in the patches dir, and unified the discussion of the "dest" options. M NEWS commit 59a56871053863b434ee2f835fde420783415dde Author: Wayne Davison Date: Mon Feb 13 18:19:59 2006 +0000 Modified the sentence about doc improvements. M NEWS commit 7b13ff9704641f33dbc700c7aba30c3d92ca59ff Author: Wayne Davison Date: Mon Feb 13 18:19:26 2006 +0000 Document what all the items in the --stats output mean. M rsync.yo commit 5e7b826a4feccef1cf1ee396cb87ae82243bd6a6 Author: Wayne Davison Date: Mon Feb 13 18:08:45 2006 +0000 Made the receiver count the size of symlinks in the total_size value, just like the sender does. M flist.c commit cbc63b9b48a70dba8cac27d372566bf8f9854c7f Author: Wayne Davison Date: Sun Feb 12 19:15:35 2006 +0000 Added missing release-history lines for 2.6.6 and 2.6.7. M OLDNEWS commit 71a84cbab0dc4995ff921b5ec5ad06af5962da5a Author: Wayne Davison Date: Sat Feb 11 02:37:58 2006 +0000 Mention the ignoring of SIGXFSZ. M NEWS commit 55e54e464bc1cb852266f549da048fd6f6a7cb74 Author: Wayne Davison Date: Sat Feb 11 02:36:35 2006 +0000 We now ignore the SIGXFSZ signal (if it is defined). M main.c commit 467688dc06a72b2daddf3a822ba2b626e5428885 Author: Wayne Davison Date: Sat Feb 11 00:02:15 2006 +0000 More improvements for "--help", and a couple hyphenation fixes. M rsync.yo commit 375d8f913b2295b7f8ccc23c08ea1def68cf50f8 Author: Wayne Davison Date: Sat Feb 11 00:01:22 2006 +0000 Added a backward-compatibility note about -h to the --help option in the help text. M options.c commit 021849204adc1723cba1370bf9ed5715e74b5d73 Author: Wayne Davison Date: Thu Feb 9 17:32:36 2006 +0000 Fixed some typos, got rid of some extraneous spaces, got rid of a hyphen in hard-link (since we consistently use it unhyphenated), and refer to "unix" as "*nix". M rsync.yo commit b635f2e964b52c64595b9c4795aa2b498ee8f3de Author: Wayne Davison Date: Thu Feb 9 11:56:33 2006 +0000 The -h was missing from the daemon's option summary. M rsync.yo commit 1e2b96bbee9627b5d9c51757fe363382ce8beb30 Author: Wayne Davison Date: Thu Feb 9 10:25:25 2006 +0000 - Improved the description of how 'D' because 'D' and 'S' for -i. - Improved the --devices and --specials item, and moved it next to the --super item. - Mention that "rsync -h" still works as before. M NEWS commit 2857451ca2b89fd6641c25f2390f26cf360d2a6c Author: Wayne Davison Date: Thu Feb 9 04:08:38 2006 +0000 Got rid of an statement that is no longer true. M NEWS commit 2bc3835ee090c2a5e77d5fb5594705f56b6bc1a9 Author: Wayne Davison Date: Thu Feb 9 03:59:17 2006 +0000 Preparing for release of 2.6.7pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 4f417448b48b6b147117425a5bd6be5b5761e415 Author: Wayne Davison Date: Thu Feb 9 01:27:03 2006 +0000 Updated the %i section. M rsync.yo commit 503f163446bf4ba8a8cd0f521a24e5ef1e6c872e Author: Wayne Davison Date: Thu Feb 9 01:17:01 2006 +0000 Decided against shortening the output of --itemize-changes. M log.c M testsuite/devices.test M testsuite/itemize.test commit f17e769e28284086a874e7a3c39091ca9f09fc77 Author: Wayne Davison Date: Thu Feb 9 01:15:04 2006 +0000 There's no need to send --size-only to a remote sender. M options.c commit f65e6a127684da61c429eabafa702c9915474621 Author: Wayne Davison Date: Wed Feb 8 17:03:00 2006 +0000 Tweaked the mention of --human-readable. M NEWS commit 4c248a3615f40bb829b5f59aa57ce6fb5369d1f6 Author: Wayne Davison Date: Wed Feb 8 16:54:10 2006 +0000 Documented the change in the --human-readable option. M rsync.yo commit 7794db7c0d971b2f5db0b565ea840c9c6f1122e3 Author: Wayne Davison Date: Wed Feb 8 16:52:51 2006 +0000 Tweaked the --human-readable code to work with the new option parsing. M util.c commit 3ca9e5d8ad653317f1ff1a5dd7c7ae0bc419180a Author: Wayne Davison Date: Wed Feb 8 16:52:25 2006 +0000 Changed -h to mean powers of 1000 when used once, and powers of 1024 when repeated. Got rid of --si. M options.c commit 5ca8a90c24390b56f9d101239c06002fbf0c577e Author: Wayne Davison Date: Wed Feb 8 02:34:06 2006 +0000 Tweaked the name of one of dest_mode()'s args. M rsync.c commit 0679ac4ca9d8fda7fc27dd0d44de48957c0ff88d Author: Wayne Davison Date: Wed Feb 8 02:32:35 2006 +0000 Tweaked a comment. M flist.c commit 20a026978297da6779275772ebdf7767cf48cbd4 Author: Wayne Davison Date: Tue Feb 7 20:08:30 2006 +0000 Mention --dry-run doesn't force --verbose. M NEWS commit a892d905bb90102ccac1772419d677cbc11a00e4 Author: Wayne Davison Date: Tue Feb 7 20:06:43 2006 +0000 Don't force verbose for --dry-run; let the user decide. M options.c commit bc880cb8d294984f7cc2af4bceb908b985defd09 Author: Wayne Davison Date: Tue Feb 7 19:12:37 2006 +0000 Don't look for $RSYNC_PARTIAL_DIR on the server side. M options.c commit 2243a9353e34b30a7d26220f4f83a5705855873d Author: Wayne Davison Date: Tue Feb 7 18:45:16 2006 +0000 Clarified something in "incoming chmod". M rsyncd.conf.yo commit 10f994a52a9f087fc77aa1856580c4917b02006c Author: Wayne Davison Date: Tue Feb 7 18:15:51 2006 +0000 Moved the delay-bit functions into util.c, making them more generic. M receiver.c commit 0f86c74eba2fea1f33f514eb5bca84a633f3d2d9 Author: Wayne Davison Date: Tue Feb 7 18:15:46 2006 +0000 Call renamed cmp_time() function (was cmp_modtime()). M generator.c M rsync.c commit c2b5407678c9d72dbed1e72760c4d36945d5ddd5 Author: Wayne Davison Date: Tue Feb 7 18:15:37 2006 +0000 - Renamed cmp_modtime() -> cmp_time(). - Moved the delay-bit functions here from receiver.c and transformed them into some more generic "bitbag" functions. M util.c commit 350879d8d1b200e160fa398e7571de5c70ef1e85 Author: Wayne Davison Date: Tue Feb 7 17:30:35 2006 +0000 Only call the just-added "touch" if autoheader succeeded. M prepare-source.mak commit a6a276027c059e8dbf104f3472de3ab533f92941 Author: Wayne Davison Date: Mon Feb 6 18:51:25 2006 +0000 Changed --8-bit to --8-bit-output. M NEWS M options.c M rsync.yo commit 45b79c89591f1fe1aafc18dc0dabadba5381c3f5 Author: Wayne Davison Date: Mon Feb 6 18:45:48 2006 +0000 Mentioned --8-bit (-8). M NEWS commit d0022dd9082bc1a71a5e43e21da38292ec732c7e Author: Wayne Davison Date: Mon Feb 6 18:43:12 2006 +0000 Document --8-bit (-8). M rsync.yo commit e0f4a661be6975aad65aac31910fc4c7081e46a7 Author: Wayne Davison Date: Mon Feb 6 18:42:46 2006 +0000 Don't setup ic_chck if --8-bit was specified. M rsync.c commit 507433f6caec010564955a8e9133effb2fc50436 Author: Wayne Davison Date: Mon Feb 6 18:42:02 2006 +0000 Don't call isprint() if --8-bit was specified. M log.c commit 5974c662ff09825ebfedb84ad300b113618f45f9 Author: Wayne Davison Date: Mon Feb 6 18:41:32 2006 +0000 Added the --8-bit (-8) option. M options.c commit aa0bec8a522cf3bed47cced46b6ac5fa9951e9c6 Author: Wayne Davison Date: Mon Feb 6 18:27:45 2006 +0000 Ensure that the timestamp for config.h.in is changed after running autoheader. M prepare-source.mak commit 2d2f71fb27e8364eac8418e2303b9972c5766ae4 Author: Wayne Davison Date: Mon Feb 6 18:00:37 2006 +0000 Got rid of a newly-added trailing tab. M rsync.c commit 36f59b5802bdb2320d12d9429ef9347321cd2ec6 Author: Wayne Davison Date: Mon Feb 6 17:58:29 2006 +0000 Mention the new output-escaping idiom and the multibyte support. M NEWS commit 7fc87d2daf7e2e68d4b369f9f469530f606f69cc Author: Wayne Davison Date: Mon Feb 6 16:55:01 2006 +0000 Allow the iconv_open() call to fail since we can now fall-back on isprint(). Got rid of the "646" mapping kluge too. M rsync.c commit 3648ab3a2474ba318291dc9184cd68fa7b120591 Author: Wayne Davison Date: Mon Feb 6 16:54:12 2006 +0000 - The iconv-supporting code can now ask filtered_fwrite() to use isprint() when iconv() could not be setup. - Changed the output idiom for escaped chars to use \#123 instead of \0123 because that makes it possible for a script to know for sure what version of rsync did the output (and thus, what the unescape rules are). M log.c commit 7a9d183fc4e91a258d9f9dcac54bc5c1df3f2035 Author: Wayne Davison Date: Mon Feb 6 09:04:20 2006 +0000 Have default_charset() try mapping "646" -> "ASCII" instead of "ascii". M rsync.c commit 2a62f5ee1933a98a4eb3b62cbd4ec490fc14f65a Author: Wayne Davison Date: Mon Feb 6 09:00:37 2006 +0000 Added "const" to the default_charset() return. M rsync.c commit f9cfaae952612d37b287efa607ac35beb92f7655 Author: Wayne Davison Date: Mon Feb 6 08:57:16 2006 +0000 Solaris 9 and HP-UX 11.11 need us to look for libiconv_open, not iconv_open (perhaps because iconf.h wasn't included in the autoconf test). M configure.in commit bd4576fe4bb666b1072bebeca6b79b827622db5a Author: Wayne Davison Date: Mon Feb 6 08:35:18 2006 +0000 Check to see if we need to include the iconv library. M configure.in commit 4e194bf178c573e900fa45cbffc9a92cdf305bb2 Author: Wayne Davison Date: Mon Feb 6 07:57:03 2006 +0000 Mention the prepare-source script and the changes in the patches dir. M NEWS commit ef4e0d5e7e4348a0c660537458a7391094e9469c Author: Wayne Davison Date: Mon Feb 6 05:06:52 2006 +0000 Added dependencies for proto.h. M prepare-source.mak commit e6d8e70925201ec87da5242eacf23c58b39d6ca2 Author: Wayne Davison Date: Mon Feb 6 04:54:30 2006 +0000 The "proto" target now builds target "proto.h" from the new prepare-source.mak makefile. M Makefile.in commit a6c5741c37d846abdc82af6ccd9ed35cb28fc0d2 Author: Wayne Davison Date: Mon Feb 6 04:53:02 2006 +0000 Changed the "proto" target to "proto.h". M prepare-source.mak commit 3ea7fc6ccf67382acd6db03e8be0841b9e8d744d Author: Wayne Davison Date: Mon Feb 6 04:09:48 2006 +0000 Moved the targets "gen", "proto", and "man" to prepare-source.mak. M Makefile.in commit 20926fbd63d5768a55eabd9beab33d2622cd8fa1 Author: Wayne Davison Date: Mon Feb 6 04:08:14 2006 +0000 An easy way to run all the commands in prepare-source.mak. A prepare-source commit 2a3f3ba45dc982ed0e8e209502f7198d8f870dfe Author: Wayne Davison Date: Mon Feb 6 04:07:49 2006 +0000 Moved the rules for generating files such as configure, config.h.in, proto.h, and the manpages into this separate makefile, allowing it to be used without first running configure (which builds the Makefile). A prepare-source.mak commit 662127e6c73dee8e739eb7f3bcb0cba0bc890d3e Author: Wayne Davison Date: Sun Feb 5 15:31:31 2006 +0000 Include --no-g in the popt-alias example in --perms. M rsync.yo commit 0be05d6038351c29f9bb7fafdc8d55c371ee6aeb Author: Wayne Davison Date: Sun Feb 5 07:20:10 2006 +0000 In default_charset(): if nl_langinfo() gives us "646", return "ascii". M rsync.c commit 1f77038ef2ce1814239ccc073eb026cfde0a8e6d Author: Wayne Davison Date: Sun Feb 5 07:00:21 2006 +0000 Added a missing comma. M rsync.yo commit 77ed253c73f5a215014a50e6f9c9f81b8b3b4c42 Author: Wayne Davison Date: Sun Feb 5 06:40:18 2006 +0000 Some more improvements to --perms and --executability from Matt and me. M rsync.yo commit b988781801eedf817bf7b2e7fc62ceb238a1dc6b Author: Wayne Davison Date: Sun Feb 5 06:13:34 2006 +0000 Allow itemize() to flag ITEM_REPORT_PERMS anytime the permissions change (even if -p or -E aren't set). M generator.c commit 595251de24388fdfbac120daf9f3a748745ef7c5 Author: Wayne Davison Date: Sun Feb 5 04:52:11 2006 +0000 Make sure that we don't try to use iconv() without iconv.h. M log.c M main.c M rsync.c commit c85631421deb9eb49abff012f7bbd0dc96278b1b Author: Wayne Davison Date: Sun Feb 5 04:45:23 2006 +0000 Changed HAVE_ICONV to HAVE_ICONV_OPEN. M log.c M main.c M rsync.c commit 12c8cd02fccf4e515eaca9eed5a41d5b92930262 Author: Wayne Davison Date: Sat Feb 4 23:06:39 2006 +0000 Switched back to checking for iconv_open() due to HP-UX. M configure.in commit 9656de5d13a914e79643fe5e403c6303205a042f Author: Wayne Davison Date: Sat Feb 4 22:03:44 2006 +0000 Call setup_iconv(). M main.c commit 9a31746b1042694b384cb6bac2596d504b23dc6a Author: Wayne Davison Date: Sat Feb 4 22:03:39 2006 +0000 Use iconv() (when available) to allow us to output multibyte characters that are legal in the current locale. M log.c commit ceccbacc34d71a5d90986b2318e634daaad0f296 Author: Wayne Davison Date: Sat Feb 4 22:03:33 2006 +0000 The new function setup_iconv() initializes the ic_chck var. M rsync.c commit ff2e2ccfc13d8c5a1066c09229e93d4b44b64dbf Author: Wayne Davison Date: Sat Feb 4 22:03:21 2006 +0000 - Changed the check for iconv_open() to just iconv(). - Got rid of the --enable-iconv option for now. M configure.in commit 12bda6f7106a57a05f5b0b25fc82b48f78e4cfb0 Author: Wayne Davison Date: Sat Feb 4 21:52:32 2006 +0000 Don't do so much memory copying in mplex_write(). M io.c commit c53b6fd0ac7f0364fc454bc19647aa5b843d7848 Author: Wayne Davison Date: Sat Feb 4 19:44:19 2006 +0000 In the compatibility comments: mention why we don't use grep -q. M runtests.sh commit b31243b472865c89aaeab0d30c4b8d0efcb96b35 Author: Wayne Davison Date: Sat Feb 4 19:42:47 2006 +0000 Test directory setgid inheritence when --perms is not in effect. A testsuite/dir-sgid.test commit c8d19f90a679343c92295e364e57fb3375c0a8e6 Author: Wayne Davison Date: Sat Feb 4 19:29:13 2006 +0000 Added a missing '(' in the opening comments. M testsuite/chmod-temp-dir.test M testsuite/chmod.test M testsuite/compare-dest.test M testsuite/delete.test M testsuite/duplicates.test M testsuite/exclude.test M testsuite/fuzzy.test M testsuite/itemize.test commit 114bafe0d0f66927648215afbfa83fa6e1858ecf Author: Wayne Davison Date: Sat Feb 4 19:28:45 2006 +0000 Added a special permission (o+t) to one of the files in the test. M testsuite/executability.test commit 5ef8c5c6d4c13a4123282c660ec4cd899081f366 Author: Wayne Davison Date: Sat Feb 4 19:27:07 2006 +0000 Tweaked a function declaraion. M testsuite/rsync.fns commit 9b499e95373954240eaff3b43fcfc703035c9dc6 Author: Wayne Davison Date: Sat Feb 4 19:09:46 2006 +0000 - When not preserving permissions, ensure that a newly-created directory's inherited sgid bit is preserved. - When not preserving permissions, ensure that newly-created files/dirs don't inherit any special permissions. M rsync.c commit 00f00f846b20b4d6bc0eee2668b0c50fd4531a48 Author: Wayne Davison Date: Sat Feb 4 18:41:47 2006 +0000 Ignore setfacl unless it tells us that it supports the -k option. M runtests.sh commit 998113fedf200f94ee3e361deed00a9bd6e7d2a7 Author: Wayne Davison Date: Sat Feb 4 18:40:41 2006 +0000 Needed to make %G output "DEFAULT" when gid == GID_NONE. M log.c commit ee5544112a2ac420d7e8737f275a8f268071f351 Author: Wayne Davison Date: Fri Feb 3 23:50:16 2006 +0000 Improved the --partial-dir section. M rsync.yo commit 7eaabd8fac9e31e2fb749984730d830c6de5fe94 Author: Wayne Davison Date: Fri Feb 3 23:40:37 2006 +0000 Decided to undo the last change to avoid backward compatibility inconsistencies (it would have been the right thing to do if it were done that way from the start, but not now). M options.c commit 4fc808dd9839faf283aa958d6178d1174f1ac9de Author: Wayne Davison Date: Fri Feb 3 23:16:46 2006 +0000 Avoid adding our own exclude of the partial-dir name if the user's filter rules already match it. M options.c commit 7cfb250c9362666a51f436008d573e90a5d52def Author: Wayne Davison Date: Fri Feb 3 22:41:19 2006 +0000 Made the new %M escape handle multiple spaces in the timestamp (which can occur if the user's system doesn't have strftime()). M log.c commit 47f480b6195efe3e0bf9bb6c32f92783fa5b85df Author: Wayne Davison Date: Fri Feb 3 20:49:25 2006 +0000 Removed completed items. M TODO commit fa9e950b1a522696e4bd2e8f38b3cb1a8808c90d Author: Wayne Davison Date: Fri Feb 3 20:39:58 2006 +0000 Mention who is outputting the "rsync error" or "rsync warning". M log.c commit 49f4d850ce8f48b2bce6951ca502a0f0e7b5707e Author: Wayne Davison Date: Fri Feb 3 20:32:27 2006 +0000 Mention latest changes. M NEWS commit b3e15181ae5668e8790130dacc38288313be156e Author: Wayne Davison Date: Fri Feb 3 20:28:19 2006 +0000 Log when someone requests a module list. M clientserver.c commit aca5500aea3c056f48e14e047288d905b30f392c Author: Wayne Davison Date: Fri Feb 3 20:00:24 2006 +0000 Document the new "log format" options: %M (modtime), %U (uid), %G (gid), and %B (perm bits). M rsyncd.conf.yo commit 427b6179b9c90e5aed4435f8405f4718ff32f90c Author: Wayne Davison Date: Fri Feb 3 19:59:25 2006 +0000 - Allow tab characters to appear in rwrite() messages. - Added %M (modtime), %U (uid), %G (gid), and %B (perm bits) to log_formatted(). M log.c commit afa73c75b531c9a584d4b1b2ccd85defaa92e8f7 Author: Wayne Davison Date: Fri Feb 3 19:40:16 2006 +0000 A minor optimization to timestring. M util.c commit 8261af7422242809bc7f888a715e9775b8c0ebd3 Author: Wayne Davison Date: Fri Feb 3 18:48:26 2006 +0000 Allow sigaction() to be used even if sigprocmask() isn't around (or was manually disabled). M main.c commit 44e604f41621cf3e31dc5840686c99e0986b9a53 Author: Wayne Davison Date: Fri Feb 3 18:46:38 2006 +0000 Simplified the conditional prior to the SIGACTION code. M cleanup.c M socket.c commit 5173f99e68733099732c2da198f5356b446c77eb Author: Wayne Davison Date: Fri Feb 3 18:34:09 2006 +0000 A slight tweak to the conditionalized definition of SIGACTION(). M rsync.h commit 8a3d4658eb6beef06c172702b29390c04405f618 Author: Wayne Davison Date: Fri Feb 3 17:58:48 2006 +0000 Decided I don't like "set -x". M testsuite/batch-mode.test M testsuite/chgrp.test M testsuite/chmod-option.test M testsuite/chmod-temp-dir.test M testsuite/chmod.test M testsuite/chown.test M testsuite/compare-dest.test M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test M testsuite/delete.test M testsuite/duplicates.test M testsuite/exclude.test M testsuite/fuzzy.test M testsuite/hardlinks.test M testsuite/itemize.test M testsuite/longdir.test M testsuite/merge.test M testsuite/symlink-ignore.test M testsuite/trimslash.test M testsuite/unsafe-links.test M testsuite/wildmatch.test commit 6b4392484868937fb0cc5e7b0e4d0c31103fc440 Author: Wayne Davison Date: Fri Feb 3 17:55:24 2006 +0000 The calls to check_perms now pass a test number arg and don't check for failure (it will die on failure). M testsuite/executability.test commit eace352b3936baf57185faee6a02ca42964423fb Author: Wayne Davison Date: Fri Feb 3 17:54:18 2006 +0000 Improved check_perms() to work with a directory, to have better output on error, and to call test_fail on error. M testsuite/rsync.fns commit fdbe8989fe544613250e535a825045da05323293 Author: Wayne Davison Date: Fri Feb 3 17:29:43 2006 +0000 Moved check_perms() into rsync.fns and tweaked how it is called. M testsuite/executability.test commit 18d7e9f46ec2ee625bfa18c417e5fd89cdd0621c Author: Wayne Davison Date: Fri Feb 3 17:28:03 2006 +0000 Added a new function: check_perms(). M testsuite/rsync.fns commit c6fbd563d8f9b91dc871ec62fa6dbe309ff1c801 Author: Wayne Davison Date: Fri Feb 3 06:47:26 2006 +0000 Matt's executability test with a few tweaks (e.g. to avoid using "stat"). A testsuite/executability.test commit a5df33bb62e177ef40c84776f2ad08542c396e85 Author: Wayne Davison Date: Fri Feb 3 06:15:46 2006 +0000 Scratch-dir normalization from Matt: turn off any default ACLs (if setfacl is available) and disable any directory setgid bit to avoid confusing some tests. M runtests.sh commit 5cf4896050c5c9221431e556cd711baa11c68c43 Author: Wayne Davison Date: Thu Feb 2 22:38:55 2006 +0000 Mention the sigaction() and sigprocmask() goodness. M NEWS commit 2fb450bd9980c19e7d991451e40f7677da102ff7 Author: Wayne Davison Date: Thu Feb 2 22:34:30 2006 +0000 Fixed a hang. M NEWS commit 4ea58045e251e911174c3af6ccfe92f426d709bd Author: Wayne Davison Date: Thu Feb 2 22:24:33 2006 +0000 Moved the potential disabling of __attribute__ above the relocated UNUSED() define. M rsync.h commit 29433538ffacfc07bf4e133a710943baff00197d Author: Wayne Davison Date: Thu Feb 2 11:40:32 2006 +0000 Tweaked a couple lines in the code that handles --version. M options.c commit d38214090479c957ac8fef1df4e96457c30bd738 Author: Wayne Davison Date: Thu Feb 2 10:20:13 2006 +0000 Changed default logfile setting from /var/adm/rsyncd.log to /var/log/rsyncd.log. M support/rsyncstats commit b8e9c234e657d0490eff5fcb0ef03c1c8366e160 Author: Wayne Davison Date: Thu Feb 2 02:39:40 2006 +0000 Changed sig_int() to use a standard signal-handler prototype. M rsync.c commit 60ee01f517d349159a9e73aca9736187819c7f7d Author: Wayne Davison Date: Thu Feb 2 02:39:29 2006 +0000 - Call SIGACTION() instead of signal(). - Umask all the signals we need using sigprocmask() (if available). M main.c commit 2b28968dfb36792ccdbe3b7b9be800b97d3f13f6 Author: Wayne Davison Date: Thu Feb 2 02:39:25 2006 +0000 Call SIGACTION() instead of signal(). M cleanup.c M socket.c commit 90b13cf60687c4d2e18964423cd44abab6500167 Author: Wayne Davison Date: Thu Feb 2 02:39:19 2006 +0000 - Moved definition of UNUSED() above inclusion of proto.h. - Replaced definition of SIGNAL_CAST with new SIGACTION() define, which will use sigaction() if it is available, else signal(). M rsync.h commit d81894fc215dd2fe20cf1eb460a952f1d28c83fd Author: Wayne Davison Date: Thu Feb 2 02:32:39 2006 +0000 Added checks for sigaction() and sigprocmask(). M configure.in commit f5cbae932901aebf895e2cc0046727bc740bf5a0 Author: Wayne Davison Date: Thu Feb 2 02:29:30 2006 +0000 Look for public functions that return RETSIGTYPE. M mkproto.awk commit 7a6653bc6c49c4457f6e2771492f30216ac3646a Author: Wayne Davison Date: Wed Feb 1 19:36:37 2006 +0000 Ignore the --quiet option if someone sent it to us (which doesn't happen when talking to a normal client). M clientserver.c commit 72f2d1b38495477d63142ed5a490164bff94bc90 Author: Wayne Davison Date: Wed Feb 1 19:35:17 2006 +0000 When complaining about a socket-read problem, use an FSOCKERR code instead of a normal FERROR. The generator is the only process that will receive this, and it uses it to close down the multi-I/O over the socket so that it won't ever hang trying to write an error down a dead socket. M io.c commit b66e31bf15c83904f14f9b7b40eeecaadc2971ba Author: Wayne Davison Date: Wed Feb 1 19:33:12 2006 +0000 Turn an FSOCKERR into a normal FERROR if it's not going to our sibling. M log.c commit ea26c854af0513bf6d70513edae9a5e021ecdf71 Author: Wayne Davison Date: Wed Feb 1 19:26:34 2006 +0000 Added FSOCKERR and MSG_SOCKERR (a sibling-only message). M rsync.h commit ef1f62807e55fcd63ce734ef8fd9b32f4e58d659 Author: Wayne Davison Date: Wed Feb 1 19:25:34 2006 +0000 We should be using wait_process(), not waitpid() directly. M cleanup.c commit d8aeda1e5000b7caa1e6faadf0a78275ae2bdf01 Author: Wayne Davison Date: Wed Feb 1 19:24:28 2006 +0000 Changed a few "ret" variables to have better names. M io.c commit 07efba8ec0d57db28b2154d7294586621160cedb Author: Wayne Davison Date: Tue Jan 31 06:25:46 2006 +0000 The itemize() output now mentions -E permissions changes. M generator.c commit 2959fe7447842bccf30bb3f207a1a904562f79e8 Author: Wayne Davison Date: Tue Jan 31 03:40:22 2006 +0000 Mention the --executability option. M NEWS commit 4601589720c89f606d0ddf342a64c8d952cfbdc3 Author: Wayne Davison Date: Tue Jan 31 03:11:07 2006 +0000 Another help-text tweak. M options.c commit 9f8225566ec2b7ed74336eb9d1a501536e73edb8 Author: Wayne Davison Date: Tue Jan 31 03:05:24 2006 +0000 Moved where --chmod was listed. M rsync.yo commit 5e65c96705a80b6b0b14f8ea19e6a37563e19a6d Author: Wayne Davison Date: Tue Jan 31 03:04:00 2006 +0000 Moved --chmod in the help output. M options.c commit a9d6e6fcacf363b25023aeec3c8d706714ebebcd Author: Wayne Davison Date: Tue Jan 31 02:30:09 2006 +0000 When permissions aren't being preserved, set them via the new dest_mode() function. M generator.c M receiver.c commit 860dcf68ad6270ed3d0b9b56bc2cb4a203b28dee Author: Wayne Davison Date: Tue Jan 31 02:30:05 2006 +0000 Got rid of the orig_umask-based file->mode tweak in receive_file() (which got moved into the dest_mode() function). M flist.c commit 812848323b75b1adc76e35753bb328032b3110e3 Author: Wayne Davison Date: Tue Jan 31 02:30:02 2006 +0000 Added the dest_mode() function: it figures out the permissions for a file when we aren't preserving permissions, including the honoring of the new --executability option. M rsync.c commit 344f9ba7fa5f2283672a2c0d7a380ce3ab77a42f Author: Wayne Davison Date: Tue Jan 31 02:29:58 2006 +0000 Added the --executability (-E) option. M options.c commit 2d5279ac9a47dba875f24c30a9a056c4282336f6 Author: Wayne Davison Date: Tue Jan 31 02:29:55 2006 +0000 Documented the new --executability (-E) option, with improvements to the --perms and --chmod sections as well. M rsync.yo commit fa3e4a0548699ccaac41df2428fe1ad9d3659435 Author: Wayne Davison Date: Tue Jan 31 02:26:49 2006 +0000 Mention the chmod utility's manpage number. M rsyncd.conf.yo commit 656c20715eb5261f8158a7f7b999d5099db3a3f9 Author: Wayne Davison Date: Mon Jan 30 22:10:33 2006 +0000 Mention that --chmod's work can still be masked by the receiving end's umask when permissions are not being preserved. M rsync.yo commit a72885e042aa9564de3f1695754e9803e4a36c9c Author: Wayne Davison Date: Mon Jan 30 21:54:00 2006 +0000 Mention files-to-excludes. M NEWS commit b587adda1fba778ffd9a68a00798dea787ba1dc5 Author: Wayne Davison Date: Mon Jan 30 21:52:17 2006 +0000 This perl script automates the conversion of a list of pathnames to a set of includes/excludes needed for rsync to copy just the listed files. A support/files-to-excludes commit 50fd4832c244422436fc657b95c94139e89602af Author: Wayne Davison Date: Mon Jan 30 21:47:23 2006 +0000 Mentioned the new "outgoing chmod" daemon option. M NEWS commit c094d9320d82e55085053444b43833f3c56c9f27 Author: Wayne Davison Date: Mon Jan 30 21:47:08 2006 +0000 Documented the new "outgoing chmod" daemon option. M rsyncd.conf.yo commit aaccaa887d486b6f1c73046e67afccf4e7985560 Author: Wayne Davison Date: Mon Jan 30 21:47:02 2006 +0000 Added support for the new "outgoing chmod" daemon option. M clientserver.c M loadparm.c commit 5481e42cd6aa83ec9d3b296860d8cdd4bf6088d7 Author: Wayne Davison Date: Mon Jan 30 20:09:46 2006 +0000 Mentioned the early-EOF bugfix (which was fixed a while ago). M NEWS commit b3964d1d866da9daec7c2d9682be23d4c65e342d Author: Wayne Davison Date: Mon Jan 30 18:46:17 2006 +0000 Improved the documentation for --force. M rsync.yo commit e35d9f2d6d5f1cb1f87736748d5249ce18b10da0 Author: Wayne Davison Date: Mon Jan 30 18:45:57 2006 +0000 I realized that there were instances where --force could still be required to be combined with a delete option (if a non-dir was overwriting a dir in a directory that was not included in the transfer), so I extended the change I just made for --delete-after to include all delete modes. M generator.c commit 4d167803666ae599343a38e8677608a39db2cd7c Author: Wayne Davison Date: Mon Jan 30 18:35:54 2006 +0000 Allow --force to work even if --recurse was not specified. M generator.c commit 1661fe9b0cb7d0902233269b49a1fbeae1fb6dd1 Author: Wayne Davison Date: Mon Jan 30 18:32:47 2006 +0000 Made get_dirlist() always include directories. M flist.c commit 63344ad4e12c82f98a8aafcc984ecdfd3b09229a Author: Wayne Davison Date: Mon Jan 30 18:19:55 2006 +0000 Mention the latest improvements. M NEWS commit 90cf7d199f3a3c2058f99cebcd8bb54341ea6c75 Author: Wayne Davison Date: Mon Jan 30 18:14:02 2006 +0000 Allow a non-empty dir to be overwritten by a non-dir with all the delete options (--delete-after used to require --force). M generator.c commit 730df9d22217d9148a4aeaa792c72e063208b849 Author: Wayne Davison Date: Mon Jan 30 17:53:38 2006 +0000 If the module has defined an "incoming chmod" option, call parse_chmod() on it. M clientserver.c commit 882d8c1cab992b083dda38f60a433092434e7508 Author: Wayne Davison Date: Mon Jan 30 17:53:32 2006 +0000 Added the "incoming chmod" config option. M loadparm.c commit 17af842d2d9ba71b4b6a436ee75102bf941b643a Author: Wayne Davison Date: Mon Jan 30 17:53:27 2006 +0000 Document the new "incoming chmod" config option. M rsyncd.conf.yo commit bbe42182df0bc49848ddfa0645d7d424eb8fda1a Author: Wayne Davison Date: Mon Jan 30 17:53:19 2006 +0000 Call the parse_chmod() with its new syntax. M options.c commit 81b096feef3773dfd17e384ffb9328287cdcea94 Author: Wayne Davison Date: Mon Jan 30 17:53:13 2006 +0000 Changed the way the parse_chmod() function is called. M chmod.c commit 7627e92c549a662ddc922dd7f08e8970da7bbd15 Author: Wayne Davison Date: Mon Jan 30 17:39:43 2006 +0000 Added extern for io_write_phase. M flist.c commit f7bce90cf0f0c9bf448942503889462cf87b8514 Author: Wayne Davison Date: Mon Jan 30 17:39:34 2006 +0000 - Got rid of the externs for io_read_phase and io_write_phase. - Added stub definition for chmod_mode_struct. M rsync.h commit b33ce4c800683a9bd095f6f9f52eef118d8680f6 Author: Wayne Davison Date: Mon Jan 30 08:12:17 2006 +0000 Moved the filter_outfile() function to rsync.fns. M testsuite/devices.test M testsuite/itemize.test commit 757287d8a58ee962933a77590117344076237587 Author: Wayne Davison Date: Mon Jan 30 08:11:50 2006 +0000 Moved the filter_outfile() function here since it was identical in devices.test and itemize.test. M testsuite/rsync.fns commit 3ed8eafccb0f8880be295e67486347e5ffd93320 Author: Wayne Davison Date: Mon Jan 30 07:18:16 2006 +0000 The robust_rename() function now takes a "partialptr" arg that, if non-NULL, will be used if we are forced to copy the file. M util.c commit d8b1c923efd14d320f90884901b795f141aa6464 Author: Wayne Davison Date: Mon Jan 30 07:18:13 2006 +0000 The finish_transfer() function now takes a "partialptr" arg that, if non-NULL, will be used if robust_rename() is forced to copy the temp file. M rsync.c commit 4a4d2b1ba0871c185acb4d7b8db793ea9474e7e7 Author: Wayne Davison Date: Mon Jan 30 07:18:10 2006 +0000 Call finish_transfer() with a valid partialptr string, when appropriate. M receiver.c commit 12fa790ea0e2b0ef52b0ac0189c6ebd6c8692a1e Author: Wayne Davison Date: Mon Jan 30 07:18:06 2006 +0000 Call finish_transfer() with its newly-added arg. M cleanup.c commit 21955d9c929870d7b4b67698dfaa4978b18d2047 Author: Wayne Davison Date: Mon Jan 30 07:18:03 2006 +0000 Call robust_rename() with its newly-added arg. M backup.c commit a0d9819f8c6ba64930d3858f7b01e4d9250d5369 Author: Wayne Davison Date: Mon Jan 30 07:18:00 2006 +0000 Document the side-effect that --partial-dir can have on --temp-dir. M rsync.yo commit a9af5d8eba754ddbc184df3e473c42b4f83206e2 Author: Wayne Davison Date: Mon Jan 30 06:34:57 2006 +0000 More improvements to --temp-dir. M rsync.yo commit 65854cf91aacc104c0bda62ba4646f2057cd0bb4 Author: Wayne Davison Date: Mon Jan 30 00:39:59 2006 +0000 Changed the mode arg from an int to a mode_t. M lib/permstring.c M lib/permstring.h commit 9ec1ef253534e726a5c8c1b8e665c66d71fd6e30 Author: Wayne Davison Date: Sun Jan 29 20:31:59 2006 +0000 Improved the --temp-dir description and a couple other sentences. M rsync.yo commit 36119f6e2a8713d8f54454b84a6923ceff573879 Author: Wayne Davison Date: Sun Jan 29 20:30:24 2006 +0000 - Renamed set_perms() to set_file_attrs(). - Use the renamed PERMS_* defines: ATTRS_*. M rsync.c commit e912bd4dfbd9cfa83f7b76209b3fcb34f59b92f9 Author: Wayne Davison Date: Sun Jan 29 20:30:18 2006 +0000 - Use the renamed PERMS_* defines: ATTRS_*. - Call the new name of set_perms(): set_file_attrs(). M generator.c commit c3ef136d41a9981433c1234c55f1ea76cd35d2f1 Author: Wayne Davison Date: Sun Jan 29 20:30:12 2006 +0000 Call the new name of set_perms(): set_file_attrs(). M backup.c commit 8eda7a4bb819172a1efd06efa9694d1ec1383645 Author: Wayne Davison Date: Sun Jan 29 20:30:07 2006 +0000 Renamed the PERMS_* defines to ATTRS_* defines. M rsync.h commit 78d146e866d0135e85a9a7c3a8942bb84ff9b407 Author: Wayne Davison Date: Sun Jan 29 20:30:02 2006 +0000 Use PERMSTRING_SIZE rather than a hard-wired "11". M flist.c commit 77860bacd074df6bf5a52aa28c245871b2eee4b1 Author: Wayne Davison Date: Sun Jan 29 19:17:13 2006 +0000 No need to send --partial when we're the receiver. M options.c commit 63cf5ae72cc8f844bb8b478de0343f862db40a41 Author: Wayne Davison Date: Sun Jan 29 18:52:53 2006 +0000 Made a bunch of char* args const. M syscall.c M util.c commit 120cde95629a395f4cc737c68bb9b587cd1051ae Author: Wayne Davison Date: Sun Jan 29 07:19:38 2006 +0000 Avoid forwarding the --temp-dir option to the server when we're the receiver. M options.c commit e6ffb966ddafc5be6f840e1e09955e773d54b2bd Author: Wayne Davison Date: Sat Jan 28 19:20:02 2006 +0000 Made the new --prune-empty-dirs code a little more memory efficient. M flist.c commit 207522aef5774099defb1f8088996f8ae2e671cc Author: Wayne Davison Date: Sat Jan 28 08:12:16 2006 +0000 Tweaked a variable name in flist_find(). M flist.c commit a1cc199b34b4bc65cba2dce0cbb04c18f17271ac Author: Wayne Davison Date: Sat Jan 28 07:40:52 2006 +0000 We enforce at least protocol 29 for --prune-empty-dirs because the file-list's sort order can be slightly wrong in older versions. M compat.c commit c22260706cb5ff710f6ae18b7f8309196aa93c75 Author: Wayne Davison Date: Sat Jan 28 01:55:55 2006 +0000 Don't add the "protect" filter rule for backup-suffix filenames if --backup was not specified. M options.c commit d5782b52a2141a14d54cd74efa406d4428b0c5ae Author: Wayne Davison Date: Sat Jan 28 00:14:02 2006 +0000 - We need to send exclude info from the client to a server-receiver when --prune-empty-dirs was specified. - Changed the output of debug include/exclude/show/hide/risk/protect messages to use the appropriate filter terminology instead of always using the (potentially unclear) include/exclude terms. M exclude.c commit 85aecef6c346c6cd76e0108be257a85783cde17d Author: Wayne Davison Date: Sat Jan 28 00:13:59 2006 +0000 The user can now use a "protect" filter to avoid pruning one or more empty directories when --prune-empty-dirs is in effect. M flist.c commit 876c9936803f81bafcbad42c3a4ec7e8bd1f7891 Author: Wayne Davison Date: Sat Jan 28 00:13:55 2006 +0000 Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m). M options.c commit a272ff8c1bdd551e697f06b4d51bfd84aa13a064 Author: Wayne Davison Date: Sat Jan 28 00:13:52 2006 +0000 Changed --skip-empty-dirs (-k) to --prune-empty-dirs (-m) and improved the docs a bit more, including documenting how "protect" filtering affects empty dirs. M rsync.yo commit 7402d58369a8307aa52d334a17072deb010f450f Author: Wayne Davison Date: Fri Jan 27 14:29:58 2006 +0000 Improved flist_find()'s empty-entry handling to deal with the case where more entries may have been removed since the last find. M flist.c commit c0b134a445a12a98c70313ce18b94858ef9a4b77 Author: Wayne Davison Date: Fri Jan 27 12:59:07 2006 +0000 Optimized flist_find() so that we never scan a series of empty file-list items twice (which can be very important with the new --skip-empty-dirs option). Also optimized the code that strips root slashes in clean_flist(). M flist.c commit a324d49bfc85cffe74786df66d5f85f8034640f5 Author: Wayne Davison Date: Fri Jan 27 01:20:11 2006 +0000 Mention the --skip-empty-dirs option. M NEWS commit 9c000f5e7bec6ddd1f488e2e2290fbf946a8de09 Author: Wayne Davison Date: Fri Jan 27 00:32:57 2006 +0000 Implement the new --skip-empty-dirs (-k) option. M flist.c commit 0e887ef29a7e63c082ada8e8d95c5ff403f2ca3a Author: Wayne Davison Date: Fri Jan 27 00:32:53 2006 +0000 Added the --skip-empty-dirs (-k) option. M options.c commit fb72aaba486c6a630011db58cf96063fc1d0f21e Author: Wayne Davison Date: Fri Jan 27 00:32:49 2006 +0000 Document the new --skip-empty-dirs (-k) option. M rsync.yo commit a3869e9227ca5d8217b43defd1bb5b3a820d7b74 Author: Wayne Davison Date: Thu Jan 26 22:32:59 2006 +0000 Include popt.h using instead of "popt.h". M wildtest.c commit d671ccfc8ea2ad6abac68aa7988f4f96c60f4988 Author: Wayne Davison Date: Thu Jan 26 22:32:18 2006 +0000 Mention the change in the --itemize-changes output. M NEWS commit 35bf8fa0847e3e9a22ee656b856d4ce4fb46a666 Author: Wayne Davison Date: Thu Jan 26 22:28:08 2006 +0000 - Include popt.h using , not "popt.h". - A minor twiddle in server_options(). M options.c commit f7916cbf3f705664ad3037f945b23808af5b2865 Author: Wayne Davison Date: Thu Jan 26 22:10:08 2006 +0000 Mention --sockopts and an improvement to the testsuite environment. M NEWS commit 2b7dab686c1145d10965ddeef0c9a070b23bf597 Author: Wayne Davison Date: Thu Jan 26 21:23:25 2006 +0000 The setting of HOME got moved to rsync.fns. M testsuite/exclude.test commit a98cad00ebc2f4395fbd35ab9ea01f239b068e24 Author: Wayne Davison Date: Thu Jan 26 21:22:57 2006 +0000 Set $HOME to $scratchdir so that our tests are not affected by anything unexpected, such as a ~/.popt file. M testsuite/rsync.fns commit facdce2c1fca62d55887000313170f108c290447 Author: Wayne Davison Date: Thu Jan 26 12:41:52 2006 +0000 Fixed two typos. M rsync.yo commit 34937987a6ec0ab6d0585c650c2d7114f8929b4b Author: Wayne Davison Date: Thu Jan 26 12:31:47 2006 +0000 Make use of the new sockopts variable. M clientserver.c commit 831f06a5a577d6575bd3560ebe36c5939c917037 Author: Wayne Davison Date: Thu Jan 26 12:31:24 2006 +0000 Added the --sockopts option. M options.c commit 5fe3c86f25b3e2702b765f63ec7e1d02253e2e8b Author: Wayne Davison Date: Thu Jan 26 12:31:14 2006 +0000 Mention the --sockopts option. M rsyncd.conf.yo commit 04f48837d10a562860556cd7b23f59653f3564c1 Author: Wayne Davison Date: Thu Jan 26 12:30:20 2006 +0000 Document the new --sockopts option. M rsync.yo commit f5b14759fbebac1d1e332db7c10f2b8aff710d41 Author: Wayne Davison Date: Thu Jan 26 11:14:10 2006 +0000 Mentioned the --super option. M NEWS commit def97ff9a92da4cd7c48e8ff3e986de85857846f Author: Wayne Davison Date: Thu Jan 26 11:10:32 2006 +0000 Added the --super option. M options.c commit d38772e06fab97ebddad9e493aff9ba317ab4e7e Author: Wayne Davison Date: Thu Jan 26 11:10:28 2006 +0000 Document the new --super option and how it affects other options. M rsync.yo commit 351f5e2f6ccc21ca5ffbd06f0b1235eb6e907d43 Author: Wayne Davison Date: Thu Jan 26 11:01:00 2006 +0000 Check MY_UID() directly instead of accessing am_root. M authenticate.c commit 8778174936e4f74a1eb5d2c4fe70583a723a435f Author: Wayne Davison Date: Thu Jan 26 10:50:18 2006 +0000 Mention new --specials option and --devices change. M NEWS commit e5f6a04d1504e4928626d75fe802eff326313d37 Author: Wayne Davison Date: Thu Jan 26 10:39:04 2006 +0000 The itemized output for the fifo changed. M testsuite/devices.test commit f8d47c1cb42ed5ace01771bd84e3c224c980f0dd Author: Wayne Davison Date: Thu Jan 26 10:39:01 2006 +0000 Added 'S' to the itemized output for special files. M log.c commit b5c6a6aeeb7d526e023454ea681b7381945bced8 Author: Wayne Davison Date: Thu Jan 26 10:38:58 2006 +0000 Handle separated devices and special files. M backup.c M flist.c M generator.c M options.c M rsync.h commit 4e7d07c8d4c75f0fc4207f0d6058db99b61c2f17 Author: Wayne Davison Date: Thu Jan 26 10:38:54 2006 +0000 Document the new --specials option and how -D and --devices now work. M rsync.yo commit fc2dd77ec7186e19a84ca228be085ff7ffd0d673 Author: Wayne Davison Date: Wed Jan 25 17:34:39 2006 +0000 One more minor tweak. M rsync.h commit 7b6fa00ff8abf063dae4a974fc824d430d228d14 Author: Wayne Davison Date: Wed Jan 25 17:10:29 2006 +0000 Decided to hold off on the potential memory savings of indexed uid/gid pairs until the next release. M flist.c M generator.c M rsync.c M rsync.h M uidlist.c commit 9ac3591366ae0048ba0fb3bba86b20851c1bfd61 Author: Wayne Davison Date: Tue Jan 24 22:23:51 2006 +0000 Added testing of the --itemize-changes output for devices. M testsuite/devices.test commit 6a819e02daa73cabecdfb5cc354a69a2d706e65d Author: Wayne Davison Date: Tue Jan 24 22:23:14 2006 +0000 Changed to handle removed 'a' slot in %i output. M testsuite/itemize.test commit 4cff7c50dbb6cac1857c4495de7eed4fcc096659 Author: Wayne Davison Date: Tue Jan 24 22:22:17 2006 +0000 Fixed a problem in the output of %i's 'T' flag on devices and got rid of the unused 'a' flag. M log.c commit 669302a172bad3ad72f64ad4fe7394e7ef6a1dd3 Author: Wayne Davison Date: Tue Jan 24 22:14:40 2006 +0000 Got rid of the description of 'a' in the %i flags. M rsync.yo commit c738605098b244d5de86dafc33c382dca5002105 Author: Wayne Davison Date: Tue Jan 24 21:40:43 2006 +0000 Got rid of some debug code. M batch.c commit 90cf838b1840f3fa18402c15e369f44ec66872f1 Author: Wayne Davison Date: Tue Jan 24 21:39:10 2006 +0000 Dump some debug code. M uidlist.c commit 67e4043e8c098c223db3b44c91666afdd1dc590f Author: Wayne Davison Date: Tue Jan 24 19:39:09 2006 +0000 Optimized id_pair() so that clumps of IDs get handled more efficiently. M uidlist.c commit 5e58e3f9cf3db5c3958fe6505eb59a2f814887fb Author: Wayne Davison Date: Tue Jan 24 19:02:55 2006 +0000 The uid & gid are now stored using an id_pair structure. M flist.c M generator.c M rsync.c M rsync.h M uidlist.c commit 49140b27c627e4fd13e3df510a9f7d8756ee3843 Author: Wayne Davison Date: Tue Jan 24 19:02:48 2006 +0000 Another small improvement to the --one-file-system option. M rsync.yo commit 9cdadbb13a1662f1d03d6283d8d1b0afb88f54bb Author: Wayne Davison Date: Tue Jan 24 17:26:24 2006 +0000 The in_del_hier code needs to use lastname instead of thisname because the latter gets cleaned and (possibly) sanitized. M flist.c commit 0ace7b2567944ae310d41c90ae7fc5a9273a77c7 Author: Wayne Davison Date: Tue Jan 24 01:07:19 2006 +0000 FERROR messages also need to leave leading newlines unmangled. M log.c commit ccb8f5788b6075414d0a529de2fa4cfe747b2624 Author: Wayne Davison Date: Mon Jan 23 18:48:12 2006 +0000 Tweaked the copyright message. M options.c commit 4e5baafedf0dd7897c6c70929ba1940ccfe31bcf Author: Wayne Davison Date: Sun Jan 22 21:04:21 2006 +0000 More improvements to the -x option (some from Matt & some from me). M rsync.yo commit 0e82af2d27d1db8cad2d7621a2923c9ba9d5a033 Author: Wayne Davison Date: Sun Jan 22 20:37:00 2006 +0000 New -x code had some problems, so restore the old code for now (keeping the more optimal stat() calling, though). M generator.c commit 535737bf39acb48354871d0d55e86d2ac580f0f7 Author: Wayne Davison Date: Sun Jan 22 20:30:56 2006 +0000 New -x code had some problems, so restore the old code for now. M flist.c commit 6e6cc16399bbfb1aee64821bf8239abcfa25a3a7 Author: Wayne Davison Date: Sat Jan 21 21:02:13 2006 +0000 Matt's disambiguation. M rsync.yo commit bb0d8edfadbe84135631491f41d4b7b0548d3365 Author: Wayne Davison Date: Sat Jan 21 20:59:19 2006 +0000 - Got rid of the filesystem_dev variable now that --one-file-system is handled in a new way. - Moved a stat out of delete_in_dir() into do_delete_pass() to make --delete-during more efficient. - Added a missing "#ifdef SUPPORT_LINKS...#endif" block around some symlink code. M generator.c commit ebec5eb689e9b01509b6507d23478548cbc117e8 Author: Wayne Davison Date: Sat Jan 21 20:59:16 2006 +0000 - Changed how --one-file-system works so that we can skip all mount points (including "bind" mounts). - The --chmod option now affects devices (only skipping symlinks). M flist.c commit 5cb31dcf92055e7341f710fb10e063fbb4000fe5 Author: Wayne Davison Date: Sat Jan 21 20:16:37 2006 +0000 Fixed a problem with the FLAG_* defines. M rsync.h commit 0ccffd7c807910a9b435dbfc7daf5f4e1802518e Author: Wayne Davison Date: Sat Jan 21 20:15:49 2006 +0000 Disable popt aliases when we're a server so that any user-redefined options can't cause a compatibility problem. M options.c commit 57b66a2458cef142ab51df417bb1d1c9066b00b3 Author: Wayne Davison Date: Sat Jan 21 19:55:47 2006 +0000 A tweak to --dirs and --chmod. M rsync.yo commit b8a39ed58af2859c3a4f2251866c8cf277f92516 Author: Wayne Davison Date: Sat Jan 21 19:54:14 2006 +0000 Use the new saw_delete* variables to ensure that the server side always reads the exclude information when it is present. M exclude.c commit f5a910dd7307f7e930c3f5d4b53e5e4c57deb6c4 Author: Wayne Davison Date: Sat Jan 21 19:52:55 2006 +0000 - We now set some saw_delete* vars to keep track of the case where we disabled a delete option that the client sent us (since we may still need to await exclude information from the client in such a case). - If -d and --delete are in effect without -r, we may need to send the -d to the server even if it was implied, and we may need to send --no-r to the server to ensure that we don't get into a protocol-corrupting situation should the remote rsync disable the --delete option (this works because the --no-r option was added in the same version as the functionality which allows --delete to work with -d sans -r. M options.c commit e16adcdff338999f3cd4aac05138e2f5f704f253 Author: Wayne Davison Date: Sat Jan 21 09:14:42 2006 +0000 - Allow multiple --chmod options to be specified. - Call parse_chmod() with its new arg. M options.c commit cf9b4794fdcd71feef63585e2497642fc658c810 Author: Wayne Davison Date: Sat Jan 21 09:14:39 2006 +0000 Tweaked parse_chmod() so that it takes a pointer to an existing list of chmod items (or NULL) and appends the new items onto the end. M chmod.c commit 6d8c6bdbe5c6c63a81b77f928b5d477a7be8fe56 Author: Wayne Davison Date: Sat Jan 21 08:10:45 2006 +0000 Document the new --one-file-system behavior, with improvements to the option's text taken from Matt's patch in bugzilla. M rsync.yo commit 8bbe41b53bd9c368adcb11459e2c261c75c81a43 Author: Wayne Davison Date: Sat Jan 21 08:03:18 2006 +0000 Handle the --chmod option as either the sender or the receiver so that only the client needs to know about --chmod (but if an older version sends the option to the server, we'll still handle it). M flist.c commit ba30fb5c3cf640102352c6f4473e0b27e5161451 Author: Wayne Davison Date: Sat Jan 21 07:58:35 2006 +0000 For a local rsync, turn off the --chmod option on the receiving side so that only the sending side does the work. M pipe.c commit 0938e8eee59ac038afc47771c7dd50399fc3b311 Author: Wayne Davison Date: Sat Jan 21 07:53:40 2006 +0000 We don't ever need to send the --chmod option to the remote rsync. M options.c commit 3b17384631b95be73f69dd3a712009a5792c0f3c Author: Wayne Davison Date: Sat Jan 21 01:20:03 2006 +0000 Implemented the -xx behavior that skips mount-point dirs. M flist.c commit 243c995f5fea0d239ad292d71685311fd7299225 Author: Wayne Davison Date: Sat Jan 21 00:36:15 2006 +0000 Allow the -x option to be repeated. M options.c commit 96b87581ff615c68b74d58f7dc32cbf0430a9b92 Author: Wayne Davison Date: Fri Jan 20 21:21:43 2006 +0000 - Changed send_file_entry() into a static function again. - Made send_file_entry() derive the base_flag value from *file. - Added a flags arg to make_file(). - The flag we send to send_file_name() is a FLAG_* value, not an XMIT_* value. M flist.c commit 3de73827d7034a8c47d06620ebda0136b2c7fbe2 Author: Wayne Davison Date: Fri Jan 20 21:21:36 2006 +0000 Call make_file() with one more arg (the base flags). M backup.c M generator.c commit 458aeea4a6158e8bfad5ba93ad482f3760260f07 Author: Wayne Davison Date: Fri Jan 20 19:33:24 2006 +0000 Mentioned the addition of -ii. M NEWS commit 14cbb6453921546aadb2f8b830f1f401c590bc47 Author: Wayne Davison Date: Fri Jan 20 18:52:52 2006 +0000 Document the behavior of -ii. M rsync.yo commit a9e4762634885ace5dfb50bc1bc69094b82c766b Author: Wayne Davison Date: Fri Jan 20 18:49:38 2006 +0000 Handle the extra output needed when log_format_has_i > 1. M generator.c M log.c commit 487094a0d7759d37f0426f8433665972db7a6223 Author: Wayne Davison Date: Fri Jan 20 18:49:07 2006 +0000 Allow the --itemize-changes (-i) option to be repeated to indicate that unchanged files should also be itemized. M options.c commit f608ebb1066fb0fa06b941811c56b32239d71d90 Author: Wayne Davison Date: Fri Jan 20 00:14:04 2006 +0000 Got rid of unused function u_strcmp(). M util.c commit 87001ac6c245cc351210436031a6f32fda350c62 Author: Wayne Davison Date: Thu Jan 19 21:21:28 2006 +0000 Improved a sentence. M NEWS commit ede1f0ebc97a7ed154e10c721f69ef3e9309ff72 Author: Wayne Davison Date: Thu Jan 19 21:16:44 2006 +0000 The code in send_file_list() needed a little more improvement to handle --relative really well: - We must set "is_dot_dir" when we strip off a trailing "/" or "/.". - If a trailing "/" or "/." caused us to treat a symlink as a dir, we now pass our stat() info down to make_file() so that it will always treat the cleaned-up name as a dir too. - We must not strip a leading "/". - Improved the check for ".." elements in the implied dirs. M flist.c commit b435d7174cb971e85e4199999c748d51ba5d0a18 Author: Wayne Davison Date: Thu Jan 19 21:16:40 2006 +0000 Added a new arg to the make_file() call. M backup.c M generator.c commit 2a59d2cc3178eef8b3b1f41867889b4dee763f24 Author: Wayne Davison Date: Thu Jan 19 19:05:49 2006 +0000 Another bugfix. M NEWS commit b8595e609a45f703de523a1022fada376141e5d3 Author: Wayne Davison Date: Thu Jan 19 18:53:48 2006 +0000 In delete_in_dir(), skip a directory that isn't really a directory on the local disk (can easily happen if --dry-run was specified). M generator.c commit d37bc73a48a9c1bfe7f5dd03c9a11e716a212398 Author: Wayne Davison Date: Thu Jan 19 07:34:41 2006 +0000 Mention the changes made in recent checkins. M NEWS commit 1902a7652f138e34519ed5b373d1532c91d3c5eb Author: Wayne Davison Date: Thu Jan 19 01:43:10 2006 +0000 When --relative is active, simply trim off trailing slashes and dot dirs. Also, reject a ".." dir if it would be sent as part of the relative path. M flist.c commit 6ab423a5b6486cd83487266952a5b36f4f34926c Author: Wayne Davison Date: Tue Jan 17 04:26:12 2006 +0000 - Fixed the --help and --version output to avoid using embedded newlines (which are no longer allowed in rprint()). - Updated the Copyright info for 2006. M options.c commit c2be690cc662aaf2782fe79cdb3872c447037fb7 Author: Wayne Davison Date: Tue Jan 17 02:16:57 2006 +0000 Got rid of a few empty lines. M log.c commit f5a49d0e44557eda6aebd19c33367edd25ac94ac Author: Wayne Davison Date: Tue Jan 17 01:26:35 2006 +0000 Got rid of a now-unused static variable. M flist.c commit 03e23e0730e4fe55b6253cf14530f56d45a241b4 Author: Wayne Davison Date: Sun Jan 15 14:52:12 2006 +0000 A few more items to check for, including libcharset.h, langinfo.h, locale_charset(), and nl_langinfo(). M configure.in commit eb598fac4ffdb6abcd18ebc46ebf52c946c0471e Author: Wayne Davison Date: Sun Jan 15 07:11:23 2006 +0000 - Improved get_local_name() using ideas from Matt McCutchen's version: lots more comments, and a "local name" copy now does a chdir to the parent dir of the destination file. - Moved the setlocale() call prior to the parse_arguments() call. M main.c commit be0602ec3c833735d3d2fd7e8cd1319a7695187b Author: Wayne Davison Date: Sat Jan 14 20:26:28 2006 +0000 - We now filter all rwrite() output when it goes out to the terminal to make sure that it contains readable characters. - Got rid of the buf[len] = '\0' in rwrite(). - Call f_name() with revised args (which also replaces f_name_to()). M log.c commit 6cbde57d8810d9889b650c49456fa843f76257c7 Author: Wayne Davison Date: Sat Jan 14 20:26:23 2006 +0000 Call f_name() with revised args (which also replaces f_name_to()). M generator.c M hlink.c M receiver.c M sender.c commit 5e4ff5f9c58c2b84ef32d43e542a8fa12b64bc65 Author: Wayne Davison Date: Sat Jan 14 20:26:20 2006 +0000 Merged f_name() with f_name_to(). M flist.c commit 18e1289f27838da70e7c93b0db98e41a29f09657 Author: Wayne Davison Date: Sat Jan 14 20:26:17 2006 +0000 Defined new FNAME logcode enum (only used on the client side when logging a filename). M rsync.h commit 99aaa6ca25e45bf62863ff779433643449bfa300 Author: Wayne Davison Date: Sat Jan 14 17:19:12 2006 +0000 Fixed a couple out-of-memory function-name strings in make_file(). M flist.c commit 24172e4b2f632d32a51a27a4faa6ce731e2059eb Author: Wayne Davison Date: Sat Jan 14 17:10:52 2006 +0000 If the --human-readable option is in effect, output the size of each file in human-readable units instead of a raw byte count. M progress.c commit beaf49540079b193da4639b48601e85365899904 Author: Wayne Davison Date: Sat Jan 14 00:29:50 2006 +0000 Added a "continue" missing from a recent change. M flist.c commit 79f48760f39dcdc012cdb46f09470390bfeb3801 Author: Wayne Davison Date: Fri Jan 13 23:05:16 2006 +0000 Added --enable-iconv and cleaned up the other enable/disable options. M configure.in commit 785abd4802ccf885483d3f7ef4ad91ad1753deb2 Author: Wayne Davison Date: Fri Jan 13 22:06:34 2006 +0000 Got rid of the safe_fname() function and the calls to it. M util.c commit 0ee6ca9800ef1f044a235804f07ab25f1e46e19d Author: Wayne Davison Date: Fri Jan 13 22:06:31 2006 +0000 Got rid of calls to the (soon to vanish) safe_fname() function. M flist.c M log.c M options.c M rsync.h commit 754302080786fe46c3ce431b6f96b796043e4f62 Author: Wayne Davison Date: Fri Jan 13 21:40:26 2006 +0000 Fixed a bug in the explode_mode code that was causing a crash on BSD systems. M wildtest.c commit 47b50b9bd0ec9e9d1704eeab202f4f86623ca955 Author: Wayne Davison Date: Fri Jan 13 21:38:43 2006 +0000 We now use lib/compat.o when building wildtest. M Makefile.in commit 45c49b52a488882bbbd5366420389abbbeede7c9 Author: Wayne Davison Date: Fri Jan 13 21:17:09 2006 +0000 Got rid of calls to (the soon to vanish) safe_fname() function. M authenticate.c M backup.c M batch.c M cleanup.c M clientserver.c M exclude.c M generator.c M hlink.c M main.c M params.c M pipe.c M receiver.c M rsync.c M sender.c commit 0ee32c62d3ba303f30007c8d53f327a8d98bfdf9 Author: Wayne Davison Date: Fri Jan 13 21:10:11 2006 +0000 Improved a couple sentences. M NEWS commit 70e98a4348b4489338535c85fd3c5b15b5da5bea Author: Wayne Davison Date: Thu Jan 12 19:35:54 2006 +0000 Changed RSYNC_ARGn to RSYNC_ARG#. M rsyncd.conf.yo commit fddf529df98dcc8c92394d4eef690fdeed02e374 Author: Wayne Davison Date: Thu Jan 12 19:24:25 2006 +0000 Mention the new RSYNC_ARGn environment variables for pre-xfer exec. M rsyncd.conf.yo commit 141c62659eb64ba27eda7e9f79e45df9594526c5 Author: Wayne Davison Date: Thu Jan 12 19:15:31 2006 +0000 We now send all the option args to the pre-exec command. M clientserver.c commit 61e16468f0c7a2186b1ef8ca3393e292ba1b1a97 Author: Wayne Davison Date: Fri Jan 6 22:20:07 2006 +0000 We need to call clearerr() when getc() returns EOF with errno == EINTR. M exclude.c commit b74b3d538efd157fafa7b8690da23671a37d6e54 Author: Wayne Davison Date: Thu Jan 5 02:29:16 2006 +0000 + Changed two buffers to use BIGPATHBUFLEN instead of MAXPATHLEN+512. + Changed a strncpy() call into a (more appropriate) memcpy() call. + Made the ellipsis[] string static because some older compilers may not like the dynamic initialization of a character string. + Expanded some 1-line "case ... break;" statements onto separate lines. M log.c commit d3db3eef1b13b3380649f4333ea1595c39ec7462 Author: Wayne Davison Date: Mon Jan 2 17:46:32 2006 +0000 Document the new "dir/***" feature. M rsync.yo commit 90d5b12e7278a2bb9b01da4f18884e325e940696 Author: Wayne Davison Date: Mon Jan 2 17:46:27 2006 +0000 Added a test for the new "dir/***" feature. M testsuite/exclude.test commit 955a3a3ded9759ea90710b07319a69ecfb56c67d Author: Wayne Davison Date: Mon Jan 2 17:46:24 2006 +0000 We now test all the patterns using both a normal wildtest run and a wildtest run with various -x and -e options. M testsuite/wildmatch.test commit aec75b037b9296961699d2fd5e8ab58859fed2ff Author: Wayne Davison Date: Mon Jan 2 17:46:21 2006 +0000 Added -x and -e options, which are used to exercise wildmatch_array(). M wildtest.c commit e5daa2731a82e643f1fbc292a29b82df750820fa Author: Wayne Davison Date: Mon Jan 2 17:46:18 2006 +0000 We use the new wildmatch_array() and litmatch_array() functions to make our include/exclude code easier to read and maintain, and to eliminate a buffer copy when handling an absolute-path pattern (which eliminated the full_name[] buffer). Also added handling for the new MATCHFLG_WILD3_SUFFIX define that allows a string that ends with "dir/***" to match the "dir" as well as its contents. M exclude.c commit 390621a7ab9a58573240fcb926c1c680c51141d5 Author: Wayne Davison Date: Mon Jan 2 17:46:15 2006 +0000 Added a new function, wildmatch_array(), that lets the caller pass the text-string as an array of strings (with a terminating NULL pointer at the end). Also added litmatch_array(), which does a literal match (no wildcards or special chars) against an array of strings. M lib/wildmatch.c commit 478bb47c40f7cbf4f766d574e110cb403a369469 Author: Wayne Davison Date: Mon Jan 2 17:46:12 2006 +0000 The latest prototypes. M lib/wildmatch.h commit 685517abd1cdbd9a658bc5b56bc57f6836f71bf6 Author: Wayne Davison Date: Mon Jan 2 17:46:09 2006 +0000 Added MATCHFLG_WILD3_SUFFIX define, shuffling a few others to put it in a nice spot. M rsync.h commit 515afe7cf16b8b34d3ff98bed545c26c10f42415 Author: Wayne Davison Date: Fri Dec 30 07:24:17 2005 +0000 Mention dont-compress fix. M NEWS commit ec497df1a0f9af53b07fbe23667ff6dd831c3cfd Author: Wayne Davison Date: Fri Dec 30 07:19:16 2005 +0000 Optimized set_compression() to remove the per-file strdup(), strlower(), and free() calls (it now uses iwildmatch()). M token.c commit 8e74463643ae1d95067fab755bbffa7d681881c3 Author: Wayne Davison Date: Fri Dec 30 07:12:48 2005 +0000 - Added a new public function, iwildmatch(), which will treat all upper-case letters in the "text" as lower-case. - Renamed variable "ch" -> "p_ch" and "prev" -> "prev_ch". - Added variable "t_ch" to hold the current *text value. - Return ABORT_ALL if we reach the end of the text string with more pattern to match. M lib/wildmatch.c commit 933d1dfd0f28c533831ff9ebecc4025af50f5486 Author: Wayne Davison Date: Fri Dec 30 07:09:34 2005 +0000 Added a prototype for iwildmatch(). M lib/wildmatch.h commit 0fe987e22644bb40affa64a1c3141600ca6606d5 Author: Wayne Davison Date: Fri Dec 30 06:03:40 2005 +0000 Fixed a bug in set_compression() where the default dont-compress patterns (e.g. *.gz) would not match a pathname containing a slash. M token.c commit 770de8994e165c0025966e10eff4caff915bb436 Author: Wayne Davison Date: Sat Dec 24 08:00:12 2005 +0000 - Renamed match_start -> anchored_match. - Twiddled one comment and added another. - Twiddled the placement of two else statements. M exclude.c commit 37cf7b41919f8a920513e2c8c232d20f6fed2ebb Author: Wayne Davison Date: Mon Dec 19 16:57:55 2005 +0000 Improved the usage info in the opening comment. M support/savetransfer.c commit 1a3ef40da91413ef70bf2ab5a16f93f2e5ccf17a Author: Wayne Davison Date: Mon Dec 19 02:30:59 2005 +0000 A few extra directory-style matching tests. M wildtest.txt commit 0314302e9cbe851f05b6f4567f2c1978a38471e3 Author: Wayne Davison Date: Mon Dec 19 02:23:57 2005 +0000 Added an anchored exclude to a filter file. M testsuite/exclude.test commit 9639c7184225d4928b5908f59efb7f94fceb5402 Author: Wayne Davison Date: Mon Dec 19 02:18:16 2005 +0000 + Put --existing back in the main option summary. + Improved the discussion of wildcard characters. M rsync.yo commit d2da915cd0fca20db6a41abb4fc94aed6244eeb8 Author: Wayne Davison Date: Mon Dec 19 01:59:00 2005 +0000 Made --existing the main option, with --ignore-non-existing as its alias. M options.c commit e725abcf4e67f7ea1871971e51af7df98f6bc50d Author: Wayne Davison Date: Sun Dec 18 19:40:50 2005 +0000 Added a comment, improved a comment, tweaked the recursive function's name, tweaked the arg names to wildmatch(), and tweaked the style of the "else" statements when they follow a brace. M lib/wildmatch.c commit de0194127445bfcf5e93b1393265cccef2fefb8a Author: Wayne Davison Date: Sun Dec 18 19:38:47 2005 +0000 Tweaked the name of the first arg to wildmatch(). M lib/wildmatch.h commit d802ea54daecfc11990f0146c1e422bd51334252 Author: Wayne Davison Date: Sun Dec 18 15:48:00 2005 +0000 Fixed one config-file reference that was misspelled. M rsyncd.conf.yo commit c81a20fb7ab8fe108ccbcb675508712aff343940 Author: Wayne Davison Date: Sat Dec 17 21:03:25 2005 +0000 Tweaked the debug output for cvs_filter_list and server_filter_list. M exclude.c commit 6bf32edb8c335fac92ea6ab29de96cd59d986ade Author: Wayne Davison Date: Fri Dec 16 23:48:34 2005 +0000 Return RERR_SIGNAL1 from sigusr1_handler(). M main.c commit 4a50a2176e6dc4dad75c8943669d6075f4e86209 Author: Wayne Davison Date: Fri Dec 16 23:48:31 2005 +0000 Added RERR_SIGNAL1's message and tweaked ERR_SIGNAL. M log.c commit 9e90555fd133a837730bd834dd70c5b8d173c588 Author: Wayne Davison Date: Fri Dec 16 23:48:28 2005 +0000 Added RERR_SIGNAL1 to separate SIGUSR1 from the rest of the signals that return RERR_SIGNAL. M errcode.h commit 2067ec73421b16633fcffa283e469022bef550b6 Author: Wayne Davison Date: Fri Dec 16 17:20:22 2005 +0000 Mentioned the auto-protect rule for --backup. M NEWS commit c2c5682c0b5b56b455d9e7bada05f211213818c2 Author: Wayne Davison Date: Fri Dec 16 17:18:29 2005 +0000 If the user specifies --backup with --delete (but without --backup-dir and --delete-excluded), append a protect-filter rule onto the list of filter rules. We run this on both the client and server side so that an older client talking to a newer server still gets the protection rule. (This rule will not cause compatibility problems with older versions of rsync due to the graceful way that a protect rule turns into an exclude rule if it needs to be sent to an older server.) M options.c commit 4c72f27dd90c8a028f67305aa01c822a07aae484 Author: Wayne Davison Date: Fri Dec 16 17:18:26 2005 +0000 Document the new auto-added protect filter-rule when using --backup with --delete (but without --backup-dir and --delete-excluded). M rsync.yo commit 36d8d1a626f22c42efd7811a67f27cd1e0cbf62a Author: Wayne Davison Date: Fri Dec 16 16:57:26 2005 +0000 - Added a comment about configure figuring out the default user and group to use in daemon mode. - Belatedly updated the version of popt that comes with rsync. - Updated the Mac OS X info. M INSTALL commit 3447d61048dbdaf514ba7ec3d6fd37a57d722e9f Author: Wayne Davison Date: Fri Dec 16 04:02:54 2005 +0000 Fixed a bug in the hard-linking of a group of fifos/devices in a transfer where the leader got hard-linked to a --link-dest item. M generator.c commit a3887c264483f0a3f9894520153a2ee8440b38e8 Author: Wayne Davison Date: Fri Dec 16 00:18:41 2005 +0000 Improved the RERR_SIGNAL message to include all possible signals. M log.c commit 8a1f3153b93c4ac8ef91fbb49a5b20fb03cec997 Author: Wayne Davison Date: Thu Dec 15 23:00:23 2005 +0000 Mention the improvements in the comare-dest/link-dest/copy-dest handling. M NEWS commit 165dd4a6367ac95282f46ab017159f6e852abdc2 Author: Wayne Davison Date: Thu Dec 15 23:00:05 2005 +0000 Improved the tests we run to test more output variations and to work with the new way link-dest handles symlinks. M testsuite/itemize.test commit 541b23d144e655036b6c3f2cbb7c4aec2f4c599e Author: Wayne Davison Date: Thu Dec 15 23:00:02 2005 +0000 When compare-dest/link-dest/copy-dest are in effect, we now check if the file we're about to hard-link to the leader is present in one of the dest dirs -- if it is, we adjust the text we output accordingly. M hlink.c commit 7987ece7cc75f39dd7a952e4648e84fef278b80c Author: Wayne Davison Date: Thu Dec 15 22:59:59 2005 +0000 The ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed. M rsync.h commit 48224e4c43cfaa0d426bae413a4ebca144489bdc Author: Wayne Davison Date: Thu Dec 15 22:59:56 2005 +0000 Improved the compare-dest/link-dest/copy-dest code to make it more readable, to make it output properly in double-verbose mode, and to allow the hard-linking of symlinks and devices (if supported by the OS). M generator.c commit 6d4ecad122887af92dc1363c9e0d4cca542bf2f5 Author: Wayne Davison Date: Thu Dec 15 22:59:53 2005 +0000 - Eliminate an all-dot itemization for a locally-copied file. - Got rid of some redundant output in maybe_log_item(). M log.c commit 1578919c3735650d7c95cd176f5d9f810a13e3b9 Author: Wayne Davison Date: Thu Dec 15 21:23:44 2005 +0000 Improved an old bullet point. M OLDNEWS commit 10a1d6b4a0752ade06b9ba95d58ab0dc12e6963e Author: Wayne Davison Date: Wed Dec 14 22:54:54 2005 +0000 Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if we need to include libresolv or not. M configure.in commit 2b7e12924d91ce2470b0fefb20fe409ce090b3e7 Author: Wayne Davison Date: Wed Dec 14 22:14:26 2005 +0000 Mention that the MD4 password protection is weaker than previously thought. M rsyncd.conf.yo commit 82f0c63e8a94fc095d9b9507ad963a411625a0c7 Author: Wayne Davison Date: Wed Dec 14 22:00:01 2005 +0000 Parse single- and double-quotes in the --rsh/-e option (and RSYNC_RSH). M main.c commit 5d9530fe47241bf21435bd89f10981cde25f50f8 Author: Wayne Davison Date: Wed Dec 14 21:59:11 2005 +0000 Mention new quote-parsing for the --rsh/-e and RSYNC_RSH handling. M rsync.yo commit 37f35d89d11d5ca8beadcb946dcd2e545d58b171 Author: Wayne Davison Date: Thu Dec 8 21:19:22 2005 +0000 Made msg_list_push() static and renamed it to msg_list_flush(). M io.c commit 08c88178aaa9e9ccdfc3bf7ea30ffaa27906f68c Author: Wayne Davison Date: Thu Dec 8 21:01:38 2005 +0000 Tweaked the msg_list code so that the head and tail pointers are contained by a structure. M io.c commit 0fb2fc4a1d75dfddeb5bb56d3ca7c5b22511fc29 Author: Wayne Davison Date: Thu Dec 8 16:12:25 2005 +0000 Fixed a typo in a comment. M io.c commit da2d13e3cec2f79362ab94429cc291d3c9653a70 Author: Wayne Davison Date: Tue Nov 29 15:53:18 2005 +0000 Improved/fixed some of the entries. M NEWS commit 64318670a8e2834588aefa5ac65ec8bc5aa60ded Author: Wayne Davison Date: Wed Nov 16 16:12:04 2005 +0000 Improved the description of how --delay-updates chooses it's dir. M rsync.yo commit 3c19f72c16a5b293c57281d474b5545a18ac2993 Author: Wayne Davison Date: Tue Nov 15 17:49:59 2005 +0000 Made the parsing in parse_size_arg() a little more strict. M options.c commit 8938d67ef863ae9d39f37943127b9d16dfa3d5f1 Author: Wayne Davison Date: Tue Nov 15 07:05:55 2005 +0000 Fixed a typo in the --help output for --no-OPTION. M options.c commit 05724c07cf61a5bb2d3d10c6b60849d7b184afc6 Author: Wayne Davison Date: Tue Nov 15 06:35:27 2005 +0000 Changed -h to be an alias for --human-readable (getting rid of -m). Also added backward-compatibility code so that "rsync -h" shows the help page on stdout like it would in older versions. M options.c commit 955c3145c3c7b013eb80ec02352d130575479383 Author: Wayne Davison Date: Tue Nov 15 06:35:22 2005 +0000 Document the change in the -h option. M rsync.yo commit 8ea17b5098f9ea11b9777cc2648d5debb00ceb35 Author: Wayne Davison Date: Mon Nov 14 21:24:30 2005 +0000 Twiddled some brace positions and removed a superfluous ';' in a macro. M lib/pool_alloc.c commit b20fe0e6ac3aaee633580d44bb03501688185a5a Author: Wayne Davison Date: Sun Nov 13 17:15:00 2005 +0000 Improved an error message. M compat.c commit 24787acd088e36e8f258f1b902ec6fc241b44f65 Author: Wayne Davison Date: Sat Nov 12 20:30:40 2005 +0000 Moved the DEL_* flags into generator.c. M rsync.h commit d71dad3bd31d0f4c0a22dcac3f529ef9eec693bc Author: Wayne Davison Date: Sat Nov 12 20:30:36 2005 +0000 Moved the DEL_* flags from rsync.h here and got rid of DEL_NO_RECURSE. M generator.c commit 889439c205cd08d73a60f676c1c149aca60726f8 Author: Wayne Davison Date: Sat Nov 12 20:08:10 2005 +0000 Mention the latest options. M NEWS commit bee9df73c1cb5ed866889fca4f3b7353877c317e Author: Wayne Davison Date: Sat Nov 12 20:08:00 2005 +0000 Changed the parsing of suffixes for --min-size and --max-size a little. M options.c M rsync.yo commit 60613dc89651a01602e3e2f0c3da6fdec023be55 Author: Wayne Davison Date: Sat Nov 12 19:53:26 2005 +0000 Output the stats and the end-of-run verbose output using the new human_num() and human_dnum() functions, which both honor the new --human-readable option. M main.c commit e175fb07f7fac17f3f269d1d52557f69feb07882 Author: Wayne Davison Date: Sat Nov 12 19:53:23 2005 +0000 Added two new functions: human_num() and human_dnum(), which output numbers in human-readable units if the --human-readable option was specified. M util.c commit 4a70af6f813c13d97f7a9106123ac62a755e1655 Author: Wayne Davison Date: Sat Nov 12 19:53:20 2005 +0000 Added the human_readable variable (for linking with util.o). M t_stub.c commit 8f14cc496bff26dda2697ccc0147ef131a28520e Author: Wayne Davison Date: Sat Nov 12 19:53:17 2005 +0000 Parse the new --human-readable (-m) option. M options.c commit 3b4ecc6b8069f9060965a86eb5aa332788b214ec Author: Wayne Davison Date: Sat Nov 12 19:53:12 2005 +0000 Document the new --human-readable (-m) option. M rsync.yo commit a7e60f0c59271ab27b30b24af60d52918b08ee90 Author: Wayne Davison Date: Thu Nov 10 16:57:30 2005 +0000 Only call cleanup_set() if keep_partial is set. M receiver.c commit 3d7cc5710d5c1d6f25c0b3369411367e4870b542 Author: Wayne Davison Date: Thu Nov 10 16:56:32 2005 +0000 If cleanup_set() gets passed a NULL fnametmp or fname, set cleanup_fname to NULL. M cleanup.c commit 86fc7e6880ed3687db1dbdf50c5271c8185eb45b Author: Wayne Davison Date: Thu Nov 10 16:47:52 2005 +0000 Got rid of a superfluous newline. M match.c M socket.c M uidlist.c commit acee11fc60cc685c1d6889f37d680f4ab214c93d Author: Wayne Davison Date: Thu Nov 10 16:47:27 2005 +0000 - Indent the "oom:" label away from column 0. - Got rid of a superfluous newline. M main.c commit b2e7c913131b91c925a5d13867def8e4418d1ee5 Author: Wayne Davison Date: Thu Nov 10 16:47:03 2005 +0000 Indent the "prepare_to_open:" and "notify_others:" labels away from column 0. M generator.c commit 97b7bff4d654d9fc679b823d5550ccd9b8a312ad Author: Wayne Davison Date: Thu Nov 10 16:45:00 2005 +0000 - Got rid of a superfluous empty line. - Indent the "oom:" and "skip_filters:" labels away from column 0. M flist.c commit e16ca9ef31b139d6d6388b45255807c1cc57c659 Author: Wayne Davison Date: Thu Nov 10 16:44:06 2005 +0000 Got rid of a superfluous empty line. M clientname.c commit b2e6caa01edf3a85f6fb1c1a3f02870ae5a4a8e6 Author: Wayne Davison Date: Thu Nov 10 16:43:44 2005 +0000 Indent the "failure:" label away from column 0. M backup.c commit 2997e9f7695c645ee0ff47168c5ca136c89831fa Author: Wayne Davison Date: Thu Nov 10 16:42:46 2005 +0000 Indent the "oom:" label away from column 0. M access.c commit 2374023982538fa9bc177117cc95b3268ee63d2d Author: Wayne Davison Date: Thu Nov 10 06:43:10 2005 +0000 Mention the big improvement when --delete and --checksum were specified. M NEWS commit 902f03d101aa3912986d2505b20e3e3e8bb9aca9 Author: Wayne Davison Date: Thu Nov 10 06:01:55 2005 +0000 In make_file(), only compute the checksum when we're the sender. This stops computing useless checksums during the delete scan when --checksum (-c) was specified. M flist.c commit cfe397804951cec80aa61dc1575ebe878a5d3807 Author: Wayne Davison Date: Thu Nov 10 03:07:18 2005 +0000 Use the new checksum_len value instead of recomputing the right value for the current protocol_version over and over. M generator.c commit 7752df41b7447e0e9aeb4c6b339997499bde58bd Author: Wayne Davison Date: Thu Nov 10 03:00:38 2005 +0000 Compute the right checksum length for the current protocol_version only once instead of over and over again. M flist.c commit d8b108c2a117318d58c6ef9e09d5741581df43e3 Author: Wayne Davison Date: Thu Nov 10 02:56:58 2005 +0000 If a partial-dir file is present but the main file is up-to-date, just remove the partial-dir file. M generator.c commit 184dd27a183ab3403eadbd699bc47a1f96cdd331 Author: Wayne Davison Date: Wed Nov 9 19:46:42 2005 +0000 Call delete_in_dir(NULL, NULL, NULL) in do_delete_pass(). M generator.c commit 0e5665d3abcfad22b94727ba8a71ecb6a79b33b3 Author: Wayne Davison Date: Wed Nov 9 19:39:46 2005 +0000 Made recursively deleting extraneous directories more memory efficient by removing the need for a MAXPATHLEN buffer on the stack of delete_item(). M generator.c commit ef3bb69ad88f6946169afe803bdf631a7250e3d4 Author: Wayne Davison Date: Mon Nov 7 04:47:06 2005 +0000 Mention the new --chmod option. M NEWS commit 45d41d08bdaaaa48c9f92c1e9157faafb277a92d Author: Wayne Davison Date: Mon Nov 7 04:28:52 2005 +0000 Test the --chmod option. A testsuite/chmod-option.test commit dd32e2c3d4361a5c4058f9ef4dd2c2629da3345f Author: Wayne Davison Date: Mon Nov 7 04:28:35 2005 +0000 Added support for the new --chmod option. M options.c commit 2b7e0f33a67ba8f9de069280b1bd5d1f9053d595 Author: Wayne Davison Date: Mon Nov 7 04:28:32 2005 +0000 Call tweak_mode() on regular files and dirs if --chmod was specified. M flist.c commit 0582cdae8dfedc0435dc24de4040509307b4287a Author: Wayne Davison Date: Mon Nov 7 04:28:29 2005 +0000 Added chmod.o to OBJS2. M Makefile.in commit 9e8ea423e269f504ce22271c6293252c75802997 Author: Wayne Davison Date: Mon Nov 7 04:28:23 2005 +0000 Document the new --chmod option. M rsync.yo commit 0c983c1fd451ed50cc16b1fdba7f1a1ca3268fba Author: Wayne Davison Date: Mon Nov 7 04:23:22 2005 +0000 New --chmod support routines. A chmod.c commit 3381ffa6eac382c0e85fdd9cd59271f2fde35f52 Author: Wayne Davison Date: Thu Nov 3 19:55:30 2005 +0000 Fixed a sign error in the output. M progress.c commit 3b153409662d57bb97d8950e37418e96af008407 Author: Wayne Davison Date: Thu Nov 3 19:46:45 2005 +0000 Mention the change in the output of --progress. M NEWS commit 91683c434b033342cec4864abdb64ff924b9606e Author: Wayne Davison Date: Thu Nov 3 19:45:59 2005 +0000 Make the just-updated file-count status even less cryptic. M progress.c commit 9e7530c414bfd975cd7a9d23292bdebcede37cf0 Author: Wayne Davison Date: Thu Nov 3 19:38:14 2005 +0000 Improved the output of the transferred-file count and the position in the flist (which was changed to a countdown of files to check) so that it's clearer what the numbers mean. M progress.c commit 8fd30fc43c3a0482b32be33576a7c1b29b40ba9a Author: Wayne Davison Date: Wed Nov 2 07:22:02 2005 +0000 Got rid of some early-checksum code that accidentally got committed. M main.c commit b1b04fcdd482451f149d3511baf909553d26cd3b Author: Wayne Davison Date: Tue Nov 1 20:13:20 2005 +0000 Mention lower stack requiements for recursion. M NEWS commit 56f0c976be2bc820fbb292c3abc37e4b26471af3 Author: Wayne Davison Date: Tue Nov 1 20:09:41 2005 +0000 Decreased the amount of stack needed for each level of directory recursion by eliminating the need for a MAXPATHLEN buffer in send_if_directory(). Also improved a few variable names in send_file_list(). M flist.c commit 9aacb4df0e29b11e298d7353467d821e4a17cc12 Author: Wayne Davison Date: Sun Oct 30 22:29:59 2005 +0000 Fixed a typo pointed out by Peter Strazovec. M rsyncd.conf.yo commit 0fdb1aa8ffa9b3f1ec225e198461182ad976b010 Author: Wayne Davison Date: Sun Oct 30 22:28:11 2005 +0000 In the device section, avoid calling unlink() if the stat() failed. M generator.c commit bad01106093319e7ccc47cca6cad5cc8dba94b0b Author: Wayne Davison Date: Wed Oct 26 16:48:44 2005 +0000 Document the new --compress-level option. M NEWS M rsync.yo commit 3cc185a088ba7261917d07725a1897058421911c Author: Wayne Davison Date: Wed Oct 26 16:48:07 2005 +0000 Handle new def_compress_level setting. M batch.c commit e8a8167ad97405f8f72df74f24b450b1479cb09f Author: Wayne Davison Date: Wed Oct 26 16:47:49 2005 +0000 Obey new def_compress_level setting. M token.c commit 854a1aad352cb8c7236bbed38d2a1985e54b8da7 Author: Wayne Davison Date: Wed Oct 26 16:47:15 2005 +0000 Added --compress-level option. M options.c commit 84e6d6fdcdc8b59fc6e39b47b67577f0de9fd017 Author: Wayne Davison Date: Wed Oct 26 15:53:04 2005 +0000 - Changed the "status" variables into "exit_code" variables. - Added an error message to wait_process_with_flush() that reports the errno we get when waitpid() fails. - Increased the value of MAXCHILDPROCS. M main.c commit f14a65d94c77ecb3f184fae6c89641e7826cdf67 Author: Wayne Davison Date: Wed Oct 26 15:50:14 2005 +0000 Tweaked the error message for RERR_WAITCHILD. M log.c commit 37439b36e72a2fbd7999e40f243781ae0b463db3 Author: Wayne Davison Date: Mon Oct 24 21:03:53 2005 +0000 Updated the docs for pre-/post-xfer exec. M rsyncd.conf.yo commit c95ca2a228ba4ccb7085f481341c7b4a9e8cdc5e Author: Wayne Davison Date: Mon Oct 24 21:03:50 2005 +0000 Enhanced the "pre-xfer exec" handling so that it gets the user's request info and puts that into the environment as RSYNC_REQUEST. M clientserver.c commit 97d8e7095f191c38783a4e14d1bc502a49e8867a Author: Wayne Davison Date: Mon Oct 24 21:03:47 2005 +0000 Changed wait_process() into a simpler, yet more versatile function, and used it in the new wait_process_with_flush() function (the old function's new name). Made wait_process() public. M main.c commit 20c1926a014c9d3b882c756ff01beec6ec09611d Author: Wayne Davison Date: Thu Oct 20 18:30:33 2005 +0000 Fixed a typo in a comment. M pipe.c commit d030233def34a2a9e0def097c0a87f5fdc481051 Author: Wayne Davison Date: Wed Oct 19 07:49:10 2005 +0000 Get rid of some superfluous empty lines. M flist.c commit 35812ea1f9c246806c8c319ee2fef9f9e86e15e0 Author: Wayne Davison Date: Sat Oct 15 19:15:29 2005 +0000 One extra tweak to the just-committed code. M util.c commit d649b78920ebf1eea5396e804a7f5a85f1e3a5d1 Author: Wayne Davison Date: Sat Oct 15 19:11:36 2005 +0000 Added relative_paths extern. M t_stub.c commit 7e43da819e205f936b56a1b7be306e4f8b113d60 Author: Wayne Davison Date: Sat Oct 15 19:08:31 2005 +0000 If we're sanitizing paths with --relative enabled, we need to preserve the first /./ dir so that we can use its position to trim the implied directories. M util.c commit 40aaa571b4b16f62438f5df05295f965fbea4dc8 Author: Wayne Davison Date: Sat Oct 15 16:39:31 2005 +0000 Document --ignore-non-existing (not --existing) and what happens if the option is combined with --ignore-existing. M rsync.yo commit 470319d33b6e2330188a3fc1ff94484a31114d76 Author: Wayne Davison Date: Sat Oct 15 16:38:35 2005 +0000 Changed the --help text to mention --ignore-non-existing instead of --existing. M options.c commit 1db954e9bca018594c9626c92999847d0d1170c5 Author: Wayne Davison Date: Sat Oct 15 06:53:04 2005 +0000 Made parse_size_arg()'s parsing a little stricter. M options.c commit d697314b42048356705cd7ad28e8e0030e2c309e Author: Wayne Davison Date: Fri Oct 14 20:40:31 2005 +0000 Mention --min-size/--max-size changes. M NEWS commit 59dd678603c70d1a78072e9096d145e7c514fff5 Author: Wayne Davison Date: Fri Oct 14 20:16:21 2005 +0000 Documented --min-size. M rsync.yo commit 02b5cb238be618c8950b69bc3321ee1a67b2349b Author: Wayne Davison Date: Fri Oct 14 20:16:09 2005 +0000 Added code to implement the --min-size logic. M generator.c commit 74de13d19c5c9bd1d7d1acde810fcb5bd398a359 Author: Wayne Davison Date: Fri Oct 14 20:15:18 2005 +0000 Added handling of the --min-size option. M options.c commit 837d01dd5a204eb8036dc81bb586f3b11a716b19 Author: Wayne Davison Date: Fri Oct 14 19:48:34 2005 +0000 Improved parse_size_arg() a little more. M options.c commit 926d86d1f94fdec579ea4b14f6c9e54fa3738767 Author: Wayne Davison Date: Fri Oct 14 19:03:05 2005 +0000 Document the extended parsing of --max-size values. M rsync.yo commit aeb213ea0c4721d9ed7d0e465b76323ca8343352 Author: Wayne Davison Date: Fri Oct 14 18:56:07 2005 +0000 Improved parse_size_arg() so that it can be told to use powers of ten instead of binary K/M/G powers, and so that it can be told to add or subtract one from the result. We also make sure to pass the arg to --max-size in a compatible manner with older versions. M options.c commit 7c6ea3d8c7b8723c81803c8e81bd2d5c3daae563 Author: Wayne Davison Date: Wed Oct 12 23:59:00 2005 +0000 Fixed a typo in an option name. M rsync.yo commit d409c6ac9c0f3c6727cab72cbf8d68d355afbd75 Author: Wayne Davison Date: Tue Oct 11 20:21:56 2005 +0000 Mention va_copy change. M NEWS commit 92f0b9d6ab62a3425d6d8cf965dbf7fa08adda38 Author: Wayne Davison Date: Tue Oct 11 20:21:03 2005 +0000 If va_copy is defined, use it when defining VA_COPY. M lib/snprintf.c commit 2c8c8bbaad7673ec9ad4dd6a6158348cbca4b5b6 Author: Wayne Davison Date: Fri Oct 7 18:40:30 2005 +0000 Pass XFLG_ABS_IF_SLASH instead of XFLG_ANCHORED2ABS for server excludes. M clientserver.c commit 4fc8140a60c617ec45fd3f57bbbbaa0945a60d55 Author: Wayne Davison Date: Fri Oct 7 18:39:40 2005 +0000 Support new XFLG_ABS_IF_SLASH flag. M exclude.c commit 699f7024f1c4f14942723f5fd4de237be8706c65 Author: Wayne Davison Date: Fri Oct 7 18:38:25 2005 +0000 Added XFLG_ABS_IF_SLASH. M rsync.h commit ce0da32a9cf282f35ad47d4d52e6ddf0f212d7a5 Author: Wayne Davison Date: Fri Oct 7 18:24:35 2005 +0000 Mention recent changes. M NEWS commit 82360c6b17f25eb1f8854190a447f05900e4a1b9 Author: Wayne Davison Date: Fri Oct 7 18:18:16 2005 +0000 Clarify how the fitler rule "-/" works. M rsync.yo commit 493568465baedea506b25bfb17da1c4b89017e9f Author: Wayne Davison Date: Tue Oct 4 04:12:28 2005 +0000 Improved the usage comments. M support/logfilter commit bf485d3d6bc3476610a59ca8c64ed38ac12c2eab Author: Wayne Davison Date: Mon Oct 3 18:40:59 2005 +0000 A simple filter script to output messages from a single module. A support/logfilter commit e90aab4982c4ce8b3f778cc072d677dd0dbb3dca Author: Wayne Davison Date: Thu Sep 29 18:07:55 2005 +0000 Changed the variable names for --existing and --ignore-existing. M generator.c M options.c commit 550d4e23466504c1a595dd5969e9324d1e2139a2 Author: Wayne Davison Date: Thu Sep 29 17:27:11 2005 +0000 Reverted one xfer_dirs change from the last commit that should not have gone in. M options.c commit 991daf008d191b40890f3a480c795dfb16d6d3a7 Author: Wayne Davison Date: Thu Sep 29 17:07:45 2005 +0000 Keeping silent about stat() errors is never a good idea -- it hides files that are not up-to-date. M generator.c commit 505ada146c9fbace57a92f1cd5567b38e78221d3 Author: Wayne Davison Date: Thu Sep 29 08:15:34 2005 +0000 Mention that --delete now works with --dirs. M rsync.yo commit 75c51953f165cbb2b256bad9edeb581ec70c36b2 Author: Wayne Davison Date: Thu Sep 29 07:48:05 2005 +0000 - When --dirs is specified w/o --recursive, avoid marking solo dirs with the XMIT_TOP_DIR flag. - Only set in_del_hier if --recursive is enabled. M flist.c commit 8d6c1c4e97ed8d2803f93cd7bb7a0cc53255048c Author: Wayne Davison Date: Thu Sep 29 07:41:50 2005 +0000 Allow deletions to occur in directories transferred with the --dirs option in addition to the regular --recursive behavior. M options.c commit 10a1a3f5114e03d3bcc259246ac51c0662158e0b Author: Wayne Davison Date: Thu Sep 29 07:37:00 2005 +0000 Fixed a poorly-worded sentence and a misspelled word. M OLDNEWS commit 40e6752fba0e91b11200c0d30447d649d329ecf5 Author: Wayne Davison Date: Mon Sep 26 17:41:14 2005 +0000 Some systems don't define WCOREDUMP(), so #ifdef that code. M main.c commit dbefb6b4e40203891f29b34ad4a7c61fc10e6a51 Author: Wayne Davison Date: Mon Sep 26 17:12:13 2005 +0000 Fixed wait_process() to handle cases where waitpid() fails or the child process did not exit cleanly. M main.c commit 60168410860532fdbb1092fef924a7a3d2c3c5be Author: Wayne Davison Date: Mon Sep 26 17:11:03 2005 +0000 Changed RERR_CRASH to RERR_CRASHED. M errcode.h M log.c commit 0047f535efa81213860a53491a062f756a2708d9 Author: Wayne Davison Date: Mon Sep 26 17:07:50 2005 +0000 Handle new RERR_CRASH AND RERR_TERMINATED exit codes. M log.c commit 90eca40d271a3de7cec62582d6599f22b0359993 Author: Wayne Davison Date: Mon Sep 26 17:06:33 2005 +0000 Defined RERR_CRASH and RERR_TERMINATED. M errcode.h commit 0417c34e2d641cbac292ba5cf8a619249c87d4e3 Author: Wayne Davison Date: Mon Sep 26 04:47:25 2005 +0000 Mention some chanages in the patches dir. M NEWS commit d64c2b226a794b4abdaddef3b84135865f84836f Author: Wayne Davison Date: Sat Sep 24 17:17:30 2005 +0000 Use AC_HELP_STRING() in the two AC_ARG_WITH() macros that used a hard-wired string. M configure.in commit 868676dc15d77b046a2096e63163ac761fa34323 Author: Wayne Davison Date: Wed Sep 21 22:39:49 2005 +0000 Reordered the usage lines to cover push, then pull (which has a better visible pattern than covering push & pull for each host-type). M options.c M rsync.yo commit e31058d41ebb079a76200ae547a42a9b352b8260 Author: Wayne Davison Date: Wed Sep 21 17:42:15 2005 +0000 Cast some time values to (int), just to silence some warnings on Stratus VOS. M tls.c commit ea8291d8f74e264d2b3c4d65b41584c4951a74bb Author: Wayne Davison Date: Wed Sep 21 17:38:44 2005 +0000 Include limits.h (if it exists), which defines NAME_MAX on some systems. M rsync.h commit 134826751819f5763fb0bc7fa1bd9f167c43e97d Author: Wayne Davison Date: Wed Sep 21 17:37:41 2005 +0000 If we get less data than expected from a read() in map_ptr(), we need to try to keep reading to see if we get an error or more data. M fileio.c commit f0323d68eb0e0b982bb79880527bb9c5b3524f1e Author: Wayne Davison Date: Wed Sep 21 17:35:51 2005 +0000 Check for limits.h. M configure.in commit 12a01be14f2b925fb705360a588782563d827b48 Author: Wayne Davison Date: Wed Sep 21 17:15:58 2005 +0000 Tweaked the output that the mknod() tests generate. M configure.in commit e0a18ce3f70e4420b4808ac24de6f6dfa86ee3b4 Author: Wayne Davison Date: Mon Sep 19 17:21:00 2005 +0000 Tweaked some comments. M loadparm.c commit 8ad5cea371a004d9b52194d073208d2f269462c0 Author: Wayne Davison Date: Sat Sep 17 21:49:24 2005 +0000 Changed one strcpy() into a strlcpy(). M flist.c commit 9059e0ac2fe66857af46c5716749ea8789e99e1a Author: Wayne Davison Date: Fri Sep 16 20:35:05 2005 +0000 Improved the sDefault initialization so that the prefixed comments exactly match the variable names (making sure that they will sort exactly the same way as the variables). M loadparm.c commit 29fad7a3d8473a5e48c893c321a70faa41244d46 Author: Wayne Davison Date: Fri Sep 16 16:40:30 2005 +0000 Got rid of some old command-line parsing code that was only useful when talking to a 1.x client. M main.c commit 02efda9f018500375093fe28f55d4a4aeec68d1a Author: Wayne Davison Date: Fri Sep 16 16:14:24 2005 +0000 Mention '!' fix. M NEWS commit 35a388b1415df7aeaa8ba1a06a87ab9256986bc8 Author: Wayne Davison Date: Fri Sep 16 16:10:01 2005 +0000 Really fix '!' in a .cvsignore file this time. M exclude.c commit 9a4a237edef9bd21139e4400838b8a99cabd2a98 Author: Wayne Davison Date: Fri Sep 16 05:52:54 2005 +0000 Tweaked the code a little in the always_checksum handling of the send & receive file-list functions. M flist.c commit 5efbddbadb7e09e69c081cd2b8695285fd87a3de Author: Wayne Davison Date: Thu Sep 15 22:27:14 2005 +0000 Mention that the dir used with --delay-updates cannot be on a different filesystem from the destination files. M rsync.yo commit 6a94c58b0009edb20259bbf69219f68f64d7f116 Author: Wayne Davison Date: Thu Sep 15 22:25:55 2005 +0000 Added a comment. M receiver.c commit e3f83953608c71db10d70ddb796b55b133d5f0eb Author: Wayne Davison Date: Thu Sep 15 17:19:30 2005 +0000 Mention doc changes. M NEWS commit f2b4c0840ea65bdcd5d6fdc841452ccabdd950b8 Author: Wayne Davison Date: Thu Sep 15 15:36:27 2005 +0000 Removed conflicting ssh citation in the SETUP section. M rsync.yo commit 08d82b84cbed81203ffaa349228421c47aee4b14 Author: Wayne Davison Date: Tue Sep 13 01:02:54 2005 +0000 The --help text was outputting some incomplete information on how SRC is expanded or word-split, so I removed that text and replaced it with an explaination of how ':' differs from '::' & 'rsync://'. M options.c commit fbe57fdc955de2c5d59cbfcb4ca67b98b706c35e Author: Wayne Davison Date: Fri Sep 9 17:07:39 2005 +0000 Mention the latest fix. M NEWS commit 92cdc39372aced95b903b975d287891b59b9436d Author: Wayne Davison Date: Fri Sep 9 16:17:01 2005 +0000 When pop_dir(olddir) fails, pass the right string pointer in the error message. M flist.c commit 78be8e0fc9552189fe0c536a0b88e80ab79ca762 Author: Wayne Davison Date: Fri Sep 9 07:27:25 2005 +0000 Improved the -F, --exclude-from, and --include-from sections. M rsync.yo commit a5b786d80f67837b86b754f66c5144db2ea59184 Author: Wayne Davison Date: Tue Sep 6 18:12:38 2005 +0000 Tweaked the calculation that goes into sum->count so that it cannot overflow into a negative value (which is particularly important if configure didn't find a real int64 type). M generator.c commit f853b777bead34e8638feaee776b8b12d47dbef5 Author: Wayne Davison Date: Sat Sep 3 16:56:53 2005 +0000 Complicate the lseek64() function prototype because some systems don't have off64_t. M syscall.c commit fed1f3f4fe6e91c64912eb3dfb6a095735b5da6e Author: Wayne Davison Date: Sat Sep 3 16:50:20 2005 +0000 Make use of the per-module "temp dir" setting. M clientserver.c commit 18cad44967fbc8bc043c9ab8d00e4c704440bf21 Author: Wayne Davison Date: Sat Sep 3 16:24:23 2005 +0000 Added a per-module "temp dir" setting. M loadparm.c commit d17c9a448655ff468749bb72552cc2bac6e13d0a Author: Wayne Davison Date: Sat Sep 3 16:22:06 2005 +0000 Sorted some of the data structures (using vim's "!sort" command makes it easy). M loadparm.c commit b6e22a47d3ed994c63876fe57ffd1cdccbb750ac Author: Wayne Davison Date: Tue Aug 30 16:13:54 2005 +0000 - Allow --no-v and --no-verbose in the daemon options. - If a too-long --temp-dir is specified when starting a daemon, omplain to the daemon-starting user, not later to the client. M options.c commit ec69bdbd64c89eac86753de7c3735a5c0c82f616 Author: Wayne Davison Date: Tue Aug 30 05:12:49 2005 +0000 Mention latest changes. M NEWS commit a8cbb57c9be202c251ae25008bd1c5a39d6ffdf8 Author: Wayne Davison Date: Tue Aug 30 05:10:51 2005 +0000 Mention how --inplace conflicts with --sparse and how --append does not. M rsync.yo commit b8cc35874eeea91ffd01fcad8da3e36049eddef6 Author: Wayne Davison Date: Tue Aug 30 05:00:56 2005 +0000 Allow --temp-dir to be specified with --daemon to set the default. M options.c commit c3851185f3d4b3ddb72d7c6ea6d931d4423f07c8 Author: Wayne Davison Date: Tue Aug 30 02:59:30 2005 +0000 Fixed a comment. M options.c commit e7ee91defcb1bb9840c55fa8ef24562802ac43ce Author: Wayne Davison Date: Tue Aug 30 02:58:42 2005 +0000 When --append is entering the redo phase, make sure that sparse_files is disabled (because it conflicts with an inplace update). M receiver.c commit cfce9f6dc353a013ab8d07c20a392aeaf6cab5ea Author: Wayne Davison Date: Tue Aug 30 02:57:19 2005 +0000 Reject attempts to combine --sparse with --inplace. M options.c commit 4afcb709a79e30c263b6cddcb0ea21f8e1bc1ed6 Author: Wayne Davison Date: Sun Aug 28 00:43:51 2005 +0000 Forgot the --no-v option. M options.c commit a912a980ecb16cdca287b9dccd56bc7e3a690c1c Author: Wayne Davison Date: Sun Aug 28 00:34:46 2005 +0000 Mention the new --no-* options. M NEWS commit 2c64b2582752f48550318008aa5d30182d9b8567 Author: Wayne Davison Date: Sun Aug 28 00:25:44 2005 +0000 A small improvement to the daemon-connecting instructions. M rsync.yo commit 38b9170c52f4506804949b93ae913cf53234a058 Author: Wayne Davison Date: Sat Aug 27 21:12:44 2005 +0000 One more tweak to the option data. M options.c commit f40aa6fb07778deff290775575ce1fa757b0d3ee Author: Wayne Davison Date: Sat Aug 27 21:07:27 2005 +0000 Documented the new --no-* options. M rsync.yo commit b616493883fba8934cc261dee5ec99fa4262033f Author: Wayne Davison Date: Sat Aug 27 21:01:45 2005 +0000 Added the ability to prefix "no-" to various options, which gives the user an easy way to override implied option switches. M options.c commit e86e2fa1739d62b506e34628661795413875e613 Author: Wayne Davison Date: Sat Aug 27 20:43:35 2005 +0000 A little more reordering of the option data. M options.c commit 11bfaf6351c73c80169b411909bbc5a44ab563a6 Author: Wayne Davison Date: Sat Aug 27 20:01:45 2005 +0000 Reordered some of the option data to make their grouping more logical. M options.c commit d37d1c44ff388153302fb47bdb8dc39479b48759 Author: Wayne Davison Date: Sat Aug 20 17:21:06 2005 +0000 Make the --append docs a little better. M rsync.yo commit c89330313ea83cb179b7fa5deb01a562e2ebece5 Author: Wayne Davison Date: Wed Aug 3 04:51:29 2005 +0000 Moved a variable in glob_expand_one(). M util.c commit c9dc1300ba973297b411ef8418bf0712d3fe12b2 Author: Wayne Davison Date: Wed Aug 3 04:42:56 2005 +0000 Got rid of the argp var that is not needed now that argv is no longer a literal array. M clientserver.c commit 53cf0b8bfbde3d8e4d0412fec93f59a4641d1e77 Author: Wayne Davison Date: Wed Aug 3 01:13:15 2005 +0000 Improved the --relative section a little more. M rsync.yo commit 56961becc2c5478b8a9fc62c56bcfe1c83f3f380 Author: Wayne Davison Date: Mon Aug 1 22:18:11 2005 +0000 Mention the latest changes. M NEWS commit 1dc42d123d9aadedd6350c6364c34e2da0bd23f6 Author: Wayne Davison Date: Mon Aug 1 22:18:00 2005 +0000 Improved the --relative section, including mentioning the addition of dot-dir path trimming. M rsync.yo commit d2ea5980ba7986ddd583b4f55737eb56a0ed66a6 Author: Wayne Davison Date: Mon Aug 1 21:58:16 2005 +0000 Allow the user to specify a dot dir in the source path when using --relative, making it trim the duplicated dirs. M flist.c commit 15cf186b8562a78e4308de41e914464ea03039fe Author: Wayne Davison Date: Mon Aug 1 04:09:58 2005 +0000 Don't recreate a device if just the permissions bits have changed in the st_mode. M generator.c commit 4fdb03a64891800e6cf15400cb48896b4b8b43ab Author: Wayne Davison Date: Sun Jul 31 23:21:46 2005 +0000 Mention hard-link fix. M NEWS commit 8f5b554f0b564972a4ce5dcd3e809b3e764ff0f7 Author: Wayne Davison Date: Sun Jul 31 23:20:12 2005 +0000 Hard-link a device in order to test that this works properly. M testsuite/devices.test commit 8cd3db27b618f8d287cf63637fb632bbb431533f Author: Wayne Davison Date: Sun Jul 31 23:19:42 2005 +0000 There is no longer a need to check file->link_u.links at the start of hard_link_check() (because the caller has already checked it). M hlink.c commit 273a7ed59f03b1f50348cca57cfc6877f8634900 Author: Wayne Davison Date: Sun Jul 31 23:18:28 2005 +0000 Fixed the handling of hard-linked symlinks and devices. M generator.c commit 23deb0bceebc50fa7dbf3c04d15aedc5d78b73c2 Author: Wayne Davison Date: Sun Jul 31 23:15:38 2005 +0000 Export RUNSHFLAGS. M runtests.sh commit 7ea7bebf6b465848e3317dcdf47b66fb0610fb39 Author: Wayne Davison Date: Sat Jul 30 16:17:21 2005 +0000 Mention the --inplace new-file permissions fix. M NEWS commit 97894c647360239aca1ab7a132bc6ab092f92c8f Author: Wayne Davison Date: Sat Jul 30 16:14:22 2005 +0000 - The combination of --update and --progress now outputs progress information during the checksum scan of the already-sent data. - When --inplace creates a file, give it 0600 permissions, not 0000. M receiver.c commit 1f86fcf5dc1eb6a7077b0f6b52cc855409ddf881 Author: Wayne Davison Date: Sat Jul 30 16:13:19 2005 +0000 The combination of --update and --progress now outputs progress information during the checksum scan of the already-sent data. M match.c commit bb9bdba4c9493eb2c10a544f90c33f83f13f6ef1 Author: Wayne Davison Date: Fri Jul 29 19:52:50 2005 +0000 Improved the text around the last example in the USAGE section. M rsync.yo commit 5b9cc6953ac0eb9c78c307c2eb7dc584de066674 Author: Wayne Davison Date: Fri Jul 29 18:48:58 2005 +0000 Mention the latest changes. M NEWS commit 33544bf422db889e33e746a3a758b7f6fe6254b1 Author: Wayne Davison Date: Fri Jul 29 18:31:12 2005 +0000 - Use BIGPATHBUFLEN for the length of several buffers. - If io_printf() tries to overflow the buffer, die with an error instead of sending a truncated buffer. M io.c commit 20accf4d06dfe020f6773a302b05491177c46ff3 Author: Wayne Davison Date: Fri Jul 29 18:31:10 2005 +0000 - Use BIGPATHBUFLEN for the length of two line buffers. - Improved the handling of the start_glob variable. - Made the line buffer in start_daemon() a little bigger. M clientserver.c commit 3fac51e21e7635a87687288ee7da821c41d72031 Author: Wayne Davison Date: Fri Jul 29 18:31:07 2005 +0000 Use BIGPATHBUFLEN for the length of two line buffers. M exclude.c commit d999d312c488098f42a5a4b3f0f7aa727c93dee9 Author: Wayne Davison Date: Fri Jul 29 18:31:05 2005 +0000 Use BIGPATHBUFLEN for the length of a line buffer. M authenticate.c commit a22ca88565a116e6867d75222222e522bea67c30 Author: Wayne Davison Date: Fri Jul 29 18:31:03 2005 +0000 Define BIGPATHBUFLEN -- a roomy line-buffer that can hold a MAXPATHLEN string plus a message, and it's at least 4096+1024 bytes for those systems where MAXPATHLEN is overly short. M rsync.h commit 9ec8bd87bb4f60e03e328c86c00611399916b487 Author: Wayne Davison Date: Thu Jul 28 20:00:43 2005 +0000 Updated to match 2.6.6 release (which occurred on a branch). M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit f11ece28ffc6cf4f1a1105fc8758ab49bb876c40 Author: Wayne Davison Date: Thu Jul 28 19:49:47 2005 +0000 Changed the version to 2.6.7cvs. M configure.in commit f90f71498e85aa0a3ce6f49609bcd70d0ff717c3 Author: Wayne Davison Date: Thu Jul 28 19:49:24 2005 +0000 Updated to reflect new 2.6.7cvs status. M NEWS M OLDNEWS commit 32199c6b00a6350c26e7a6eb82091f35938a1840 Author: Wayne Davison Date: Thu Jul 28 18:17:56 2005 +0000 Removed a duplicated item. M NEWS commit 870dddc5eb59aa4615f4fe335d9ae83226604260 Author: Wayne Davison Date: Thu Jul 28 17:42:56 2005 +0000 Mention the recent changes. M NEWS commit 9d0d18b5909a57a28b65b2f142b318a9847dd37d Author: Wayne Davison Date: Thu Jul 28 17:15:47 2005 +0000 If the user has specified "pre-xfer exec" or "post-xfer exec", run the indicated command(s), each at the appropriate time. M clientserver.c commit bec617b934dc2ef90b7acd1c7ef4b5db74821e91 Author: Wayne Davison Date: Thu Jul 28 17:15:44 2005 +0000 Added 2 new config options: "pre-xfer exec" and "post-xfer exec". M loadparm.c commit c20936b88b0bb925c12ca5faa9b0ecac229dca6c Author: Wayne Davison Date: Thu Jul 28 17:15:42 2005 +0000 Document the new pre-/post-xfer exec config options. M rsyncd.conf.yo commit 086988176456b03705ab5b87e7229429cbcfb01f Author: Wayne Davison Date: Thu Jul 28 16:58:04 2005 +0000 Regenerated. M configure.in commit a840b5c73676baabdaee449e2d634e29397f1563 Author: Wayne Davison Date: Thu Jul 28 09:40:08 2005 +0000 Removed one more client-oriented command-line syntax sentence. M rsyncd.conf.yo commit 2907884f940e3e053f9cacc336dc6ae902585ef8 Author: Wayne Davison Date: Thu Jul 28 09:36:12 2005 +0000 Removed erroneous section on using daemon features over a remote-shell connection -- client-use is better described in the rsync manpage, and the advanced restricted-ssh section needs a better treatment (perhaps as a support script). M rsyncd.conf.yo commit 754a080ffce5574b483a60f6a0ad90f50db7e6f9 Author: Wayne Davison Date: Thu Jul 28 09:18:20 2005 +0000 Improved the sections dicussing the various types of transfer connections and how a normal transfer differs from a daemon transfer. M rsync.yo commit 94f20a9f4588ec91f805016eca84edb6edc37c7d Author: Wayne Davison Date: Thu Jul 28 01:46:16 2005 +0000 Document new --append option. M rsync.yo commit 6cc119828892f4c28fc55274e11055f8c420515c Author: Wayne Davison Date: Thu Jul 28 01:46:12 2005 +0000 Support new --append option. M generator.c M match.c M receiver.c M sender.c commit a015788d2199115585634f93142a401ae03310df Author: Wayne Davison Date: Thu Jul 28 01:46:09 2005 +0000 Added the --append option. M options.c commit c8d3465726b7990ecfd217c633939b90b03944cb Author: Wayne Davison Date: Wed Jul 27 23:30:58 2005 +0000 - Call set_modtime() with its new mode arg. - Don't mask the mode bits being sent to do_chmod(). - Don't skip calling set_modtime() or do_chmod() when the item is a symlink. M rsync.c commit 00b9618460c40131a8925047853f73ccbe9fc20b Author: Wayne Davison Date: Wed Jul 27 23:30:55 2005 +0000 - Fixed the mode comparison in itemize() to mask off the bits outside of the CHMOD_BITS mask. - Don't call do_chmod() unless HAVE_CHMOD is defined. - Don't mask the mode bits being sent to do_chmod(). M generator.c commit d11f5c6e2b0c813136519e39820055cd73cfe463 Author: Wayne Davison Date: Wed Jul 27 23:30:53 2005 +0000 - Don't call do_chmod() unless HAVE_CHMOD is defined. - Made do_chmod() handle symlinks or return 1 if not possible. - We now mask off the mode bits in do_chmod() sing CHMOD_BITS. M syscall.c commit 25007999df5ef5ecb138f34193729e4019ad778c Author: Wayne Davison Date: Wed Jul 27 23:30:51 2005 +0000 - Changed set_modtime() to take the file's mode as an arg. - Made set_modtime() handle symlinks or return 1 if not possible. M util.c commit 8ce65463104988d0d90fd9e8b2e55aa28ddd9482 Author: Wayne Davison Date: Wed Jul 27 23:18:28 2005 +0000 Check for the lchmod() and lutimes() functions. M configure.in commit 151f59f155c1a2f3f6301c0ad5b59654d922e34a Author: Wayne Davison Date: Fri Jul 22 19:09:45 2005 +0000 Tweaked a comment and some null-char assignments. M flist.c commit 89f2a4c23106464fda9dbce6179c112fd23d2b70 Author: Wayne Davison Date: Fri Jul 22 19:05:25 2005 +0000 Changed implied_dirs to only be non-0 if relative_paths is non-0. M options.c commit 496be30db60552aa96829ab96d6936de944d606c Author: Wayne Davison Date: Fri Jul 22 17:59:21 2005 +0000 Got rid of some unused externs. M main.c commit cd426074e190996ba1e8290a0c9dbc146ac05659 Author: Wayne Davison Date: Fri Jul 22 15:54:43 2005 +0000 Updated to zlib 1.2.3. M zlib/ChangeLog M zlib/README M zlib/adler32.c M zlib/compress.c M zlib/crc32.c M zlib/deflate.c M zlib/deflate.h M zlib/inffast.c M zlib/inflate.c M zlib/inflate.h M zlib/inftrees.c M zlib/inftrees.h M zlib/trees.c M zlib/zconf.h M zlib/zlib.h M zlib/zutil.c M zlib/zutil.h commit 3f7bfac2a0529316b377ea8b08821590bb9f85f7 Author: Wayne Davison Date: Fri Jul 15 19:10:03 2005 +0000 Avoid newest test when no destination was specified. M main.c commit 9425918d7495802599a5660a6e09b9ec8e3fd5a6 Author: Wayne Davison Date: Fri Jul 15 19:06:43 2005 +0000 Output a syntax error if both the source and destination are remote. M NEWS M main.c commit cc637fcc5136e5fa9d2f1593247760c0ac6eb597 Author: Wayne Davison Date: Thu Jul 7 22:53:59 2005 +0000 Preparing for release of 2.6.6pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 9db17434906bf8797a59ba1f8222b6e110bec5fd Author: Wayne Davison Date: Thu Jul 7 22:50:12 2005 +0000 Mentioned the zlib changes and tweaked a couple sentences. M NEWS commit ba3542cfcb44b007023a869a6bff097ca2043539 Author: Wayne Davison Date: Thu Jul 7 21:33:40 2005 +0000 - Attempt to make the discussion of host-specifying args less confusing. - Fixed the names of the uid and gid daemon options in a sentence. M rsync.yo commit 81f5b275db59bc977488523a172d3df18318005b Author: Wayne Davison Date: Thu Jul 7 21:29:57 2005 +0000 Changes for new zlib. M Makefile.in commit f3ee72689411e4e871ffb18aba66b08ef2c2c594 Author: Wayne Davison Date: Thu Jul 7 21:19:14 2005 +0000 Fixed a typo. M NEWS commit b5be9e6c5f9feba4cf55feba83cee86039a37cea Author: Wayne Davison Date: Thu Jul 7 21:14:29 2005 +0000 Fix latest zlib security exploit (CAN-2005-2096). M zlib/inftrees.c commit 1e1cf689348c43e24e1950a0bd25e691d85277ca Author: Wayne Davison Date: Thu Jul 7 20:48:02 2005 +0000 Upgraded to version 1.2.2. M zlib/ChangeLog D zlib/Makefile M zlib/README M zlib/adler32.c A zlib/compress.c M zlib/crc32.c A zlib/crc32.h M zlib/deflate.c M zlib/deflate.h D zlib/infblock.c D zlib/infblock.h D zlib/infcodes.c D zlib/infcodes.h M zlib/inffast.c M zlib/inffast.h M zlib/inffixed.h M zlib/inflate.c A zlib/inflate.h M zlib/inftrees.c M zlib/inftrees.h D zlib/infutil.c D zlib/infutil.h M zlib/trees.c M zlib/zconf.h M zlib/zlib.h M zlib/zutil.c M zlib/zutil.h commit 4a2744cee3eb2170f457ee64e14753cd6ac8bdec Author: Wayne Davison Date: Thu Jul 7 20:37:31 2005 +0000 One more "#undef BAD" for AIX. M zlib/inflate.c commit 12febd804fcfbcbef7325610699aaae4597635c1 Author: Wayne Davison Date: Thu Jul 7 20:17:35 2005 +0000 Use a define to handle conflicting function read_buf instead of renaming it in the code. M zlib/deflate.c commit 687c6b14a01fb462ded54fbf0da5bb4443251f48 Author: Wayne Davison Date: Thu Jul 7 20:16:41 2005 +0000 Changed "Overflow" back to "overflow". M zlib/trees.c commit a1f99493b39610e2ea9deb4bb1c71ba63bce5834 Author: Wayne Davison Date: Thu Jul 7 19:49:14 2005 +0000 Changed overflow() to overflow_exit(). M exclude.c M flist.c M util.c commit 9819f005b667f938f6853636492665cac761c54f Author: Wayne Davison Date: Thu Jul 7 19:31:23 2005 +0000 Changed zBAD back to BAD (with a simpler kluge for AIX). M zlib/infblock.c M zlib/inflate.c M zlib/infutil.h commit 2a6793bf1fd5ea97703a6bfaaa0ea4f88abffa0e Author: Wayne Davison Date: Thu Jul 7 19:22:55 2005 +0000 Fixed some whitespace to match the original source. M zlib/infblock.c commit bf287ee946f8c80a798c89ebf9d2e95c57baebfc Author: Wayne Davison Date: Thu Jul 7 19:15:44 2005 +0000 Got rid of bogus RCS keyword expansions (that create differences between these files and the original zlib source). commit b8b0668e85eb3b3350904068eb8d29d499d4e980 Author: Wayne Davison Date: Thu Jun 30 17:18:30 2005 +0000 Mention the EEXIST fix. M NEWS commit 092906933b436426c5dddbda67feac28ab95519d Author: Wayne Davison Date: Thu Jun 30 17:03:14 2005 +0000 Ignore EEXIST on second mkdir() call. M generator.c commit e8432be95f6b01aaa6351658e12f708b07147042 Author: Wayne Davison Date: Tue Jun 28 00:15:44 2005 +0000 Mention the latest time-comparing fixes. M NEWS commit 6ff2f4ba67c1ab730df97e61beeb367ec55d3677 Author: Wayne Davison Date: Tue Jun 28 00:12:08 2005 +0000 Use cmp_modtime() in a couple more spots where a local modtime is compared with a remote modtime. M generator.c commit 309a5be87318477dedc6275f5ba785b6785278e8 Author: Wayne Davison Date: Fri Jun 24 02:14:12 2005 +0000 Fixed test to work when objdir != srcdir (thanks to Art Haas). M testsuite/itemize.test commit 26c87bb630d9a122f71ed6c4d76d81c9e1eb70fb Author: Wayne Davison Date: Thu Jun 23 15:58:57 2005 +0000 Changed the arg-splitting code so that it can handle a literal backslash prior to whitespace without treating it as escaped whitespace (e.g. if we receive "foo\\ bar", it is two args, while "foo\ bar" and "foo\\\ bar" are each just one). M support/rrsync commit ea9b2add977b642babafd667e55f844529b0fcc3 Author: Wayne Davison Date: Thu Jun 23 15:53:26 2005 +0000 Tweaked a comment in the perl code we output. M support/cull_options commit 301569f0817e01c94b35b4bea15aea2d106b89a3 Author: Wayne Davison Date: Mon Jun 20 07:01:29 2005 +0000 Improved a couple sentences. M NEWS commit b21456102a26c7d5eddfc26759bb24d23d6b532d Author: Wayne Davison Date: Fri Jun 17 23:23:00 2005 +0000 Changed the code to use the single long-option hash from cull_options. M support/rrsync commit b8a47c9bc6bae42b169a78223b2d60179555c6be Author: Wayne Davison Date: Fri Jun 17 23:16:22 2005 +0000 - Fixed a bug where the --*-dest options weren't being culled. - Simplified the output format by putting all the long-name options into a single hash. M support/cull_options commit 85fbfa10a858cdc7e444f1868d808ee845376fde Author: Wayne Davison Date: Fri Jun 17 16:48:02 2005 +0000 - Improved some comments (some taken from the new cull-options output). - Made the user-config sections easier to find. - Default to running a fully-specified rsync executable so that there are not PATH surprises. - A few minor tweaks to the arg-checking code to make it clearer without actually changing its logic. M support/rrsync commit 555bc0e31ad5a14af0ef286ec3193b6c5b5f22be Author: Wayne Davison Date: Fri Jun 17 16:29:21 2005 +0000 Another readability improvement in the perl code we output. M support/cull_options commit ef1233cbb379cc8ab7bbebdaeacc2d173568568d Author: Wayne Davison Date: Fri Jun 17 16:12:05 2005 +0000 Improved some of the comments that are output into the perl code. M support/cull_options commit 1524815ed3ca019c007a93f6e90ab95a445833de Author: Wayne Davison Date: Fri Jun 17 05:14:15 2005 +0000 - Make sure that the command contained the '.' arg at the end of the options. - Fixed the expanding of wildcards for a restriction of '/'. M support/rrsync commit 985af7035eff604bf739d0bbf14bd1b601c9a16e Author: Wayne Davison Date: Fri Jun 17 04:50:22 2005 +0000 - Be restrictive on matching the --sender option so that the user can't fool us into thinking we're the sender by using a filename of --sender (or similar ploy). - Make sure that our '..' check can't be fooled by sly backslashing. - Tweaked some comments. M support/rrsync commit b3181708f21c458b1cc9d8c605b5432eccbad196 Author: Wayne Davison Date: Fri Jun 17 04:46:02 2005 +0000 Output a leading comment and surrounding blank lines. M support/cull_options commit 3f6c17cf144e13cd9e8be046605b42de5554d2b9 Author: Wayne Davison Date: Fri Jun 17 01:26:33 2005 +0000 Mention rrsync changes. M NEWS commit 2e5a7629c05f4f0e02725e7c31eb28a9a2632537 Author: Wayne Davison Date: Fri Jun 17 01:17:44 2005 +0000 If SUBDIR is specified as a non-absolute path, make it absolute. M support/rrsync commit 70318468dfbb01e7742a43665f9e88afab44b62a Author: Wayne Davison Date: Thu Jun 16 19:30:53 2005 +0000 - Made it easy to configure the path of the rsync executable. - Fully parse all legal options that might come from a stock rsync and validate/restrict any option's args (previously we rejected options with args). - Made it easy to disable specific options. - Properly handle a multi-arg copy's multiple args. - Make sure that the restricted dir actually exists and we can chdir to it. - Just reject any dangerous args that have .. in them instead of trying to munge them. - We don't treat single-or double-quotes specially, just backslash- escaped characters. - Turn on strict mode. - Use the array-arg version of exec() so that we don't spawn a shell. - Use File::Glob to glob wildcards in args. - Tweaked the log-file format so that it logs the modified command without any "OK" suffix. M support/rrsync commit 782d1091213df611767787a88365c32427afe9ec Author: Wayne Davison Date: Thu Jun 16 19:17:47 2005 +0000 A developer-oriented script that outputs perl code for valid server options. A support/cull_options commit 30e7b0b28d35d912ce688ecc90cf642ddb2b353b Author: Wayne Davison Date: Sun Jun 12 06:10:14 2005 +0000 Mention latest fix. M NEWS commit 910ee8c92e1c129b5699940aef4cfb8e5ca23df9 Author: Wayne Davison Date: Sun Jun 12 06:07:23 2005 +0000 In clean_flist(), fixed the setting of the flist->high value for an empty list so that it can't cause a crash if it gets passed to flist_find(). M flist.c commit 8af1bc9011254c054053bfdeee6d255179dd3afa Author: Wayne Davison Date: Fri Jun 10 23:36:57 2005 +0000 - Added a comment to the filter_outfile function. - Twiddled where the calls to filter_outfile happen. M testsuite/itemize.test commit 6a12f0d6196ffe4ea54f4d68e5a5d813b6c53293 Author: Wayne Davison Date: Fri Jun 10 21:56:52 2005 +0000 Simplified the regular expressions for sed due to problems on some OSes. M testsuite/itemize.test commit 4f3be36e304cae64fb147ee1f82380e1c4ef4a64 Author: Wayne Davison Date: Fri Jun 10 20:33:57 2005 +0000 - Put the output we're expecting into an rsync.chk file, for easier debugging on failures. - Added the function filter_outfile() and used it in place of the various output-filtering commands. - Use the sed rules for filtering the combination of --itemized output with double-verbose output so that we're sure there's no superfluous lines being output (which the old grep filtering would have ignored). M testsuite/itemize.test commit fc9d64c94783eb073192560da65949a230061374 Author: Wayne Davison Date: Fri Jun 10 20:04:42 2005 +0000 Several expansions of $srcdir were not double-quoted. M testsuite/backup.test commit db10766ab215cee68aa55f425708153d4db1c2b3 Author: Wayne Davison Date: Fri Jun 10 20:04:11 2005 +0000 One expansion of $srcdir wasn't double-quoted. M testsuite/rsync.fns commit a3dcb7908532cdd5bd1657ac3374abab0875dc2d Author: Wayne Davison Date: Fri Jun 10 18:02:14 2005 +0000 One more instance of the umask kluge was needed. M testsuite/itemize.test commit 20667b6d7f7d54c8119e47bb4078df73eb254040 Author: Wayne Davison Date: Fri Jun 10 17:58:39 2005 +0000 Mention backup change. M NEWS commit 93e28fbd992a3e54e71e1c619309727fb71756d8 Author: Wayne Davison Date: Fri Jun 10 17:57:18 2005 +0000 Fixed a problem in the backing up of symlinks and devices: we need to remove any old symlink/device/file to create the backup. Also fixed a couple minor logic errors in the handling of symlinks and devices. NOTE: the code still doesn't handle the changing of a name from a dir to a non-dir or visa versa (which is a very old deficiency in the code). M backup.c commit 87a57a3072c0fe742b154bd62869cc08c65625bb Author: Wayne Davison Date: Fri Jun 10 17:51:33 2005 +0000 Use umask kluge from rsync.fns to try to get rid of a potential permissions difference when copying symlinks. M testsuite/itemize.test commit bad1fa4476f024a4e60b8e710e0aa9b2c37b5d7f Author: Wayne Davison Date: Fri Jun 10 17:21:52 2005 +0000 Make the sed commands compatible with Solaris (hopefully). M testsuite/itemize.test commit 8fe27e76312c44c14ec60a4745981c7dfc00a249 Author: Wayne Davison Date: Fri Jun 10 17:17:38 2005 +0000 Starting NEWS for 2.6.6. M NEWS commit a1c75ed05ce97243c270bf1d7856641a5cf64abb Author: Wayne Davison Date: Fri Jun 10 17:17:24 2005 +0000 Aged news from NEWS file. M OLDNEWS commit e73ad2be542bd5f32f8bdb58885884fa16647ceb Author: Wayne Davison Date: Fri Jun 10 17:06:43 2005 +0000 Got rid of some potentially unhandled permissions differences. M testsuite/itemize.test commit 59b0e7a82da96820fa78c7d967450cbc28086fac Author: Wayne Davison Date: Fri Jun 10 16:57:43 2005 +0000 Changed the "max verbosity" setting from global to per-module. M clientserver.c M loadparm.c commit b4fc3987f20e6af92aeb5e0c6ff80e3a70df3e87 Author: Wayne Davison Date: Fri Jun 10 16:50:09 2005 +0000 Use the new NOBODY_USER and NOBODY_GROUP configure defines. M loadparm.c commit 58418cb0c4a1952746605ab37bb406d8ff6f8766 Author: Wayne Davison Date: Fri Jun 10 16:46:50 2005 +0000 Added a simple check to see if the /etc/group file has the group "nobody" or "nogroup". M configure.in commit 5794112ad0890ec5aebc0bd8a9854c8b52b0731e Author: Wayne Davison Date: Thu Jun 9 22:27:59 2005 +0000 Test that our outputting of itemized messages (as well as double-verbose output) is happening correctly. A testsuite/itemize.test commit f2b6fe44a674c008133b074aa7c603470a7fbf00 Author: Wayne Davison Date: Thu Jun 9 22:27:22 2005 +0000 - Fixed the overzealous outputting of unchanged hard-linked items when verbose > 1. - An unchanged hard-link with -i (log-format w/%i) now changes the trailing dots to spaces. M log.c commit 215b444cae70637d0c1b48501dca358c7db43709 Author: Wayne Davison Date: Thu Jun 9 21:57:45 2005 +0000 Don't set ITEM_REPORT_TIME when a hard-linked file is already linked up as it should be and --times was not enabled. M generator.c commit a45f581b2a37a1aa447ab98efed742467eb8fd14 Author: Wayne Davison Date: Thu Jun 9 21:56:11 2005 +0000 - Never output the '"FOO" is a hard link' message when -i (%i) output is enabled. - Go back to outputting '"FOO" is a hard link' message when -i (%i) is not enabled and verbose > 1. M hlink.c commit dfdd71ecff6b4d89a88e73189d57ea53feb4081d Author: Wayne Davison Date: Thu Jun 9 21:18:26 2005 +0000 Updated version to 2.6.6cvs. M configure.in commit 2dfe1c37ada920f0e66a0dbd1147986dcc533018 Author: Wayne Davison Date: Thu Jun 2 03:57:58 2005 +0000 Preparing for release of 2.6.5 M NEWS M OLDNEWS M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit b9949780f49963673f2c37abc111b85b4800706c Author: Wayne Davison Date: Thu Jun 2 03:54:00 2005 +0000 Improved a few of the items. M NEWS commit 5fe857d4be39213787b19394743ac1b1e964a737 Author: Wayne Davison Date: Wed Jun 1 16:21:41 2005 +0000 One more configure item. M NEWS commit 3d86c6b18faed00d34f18968a5bccc9fcc554159 Author: Wayne Davison Date: Tue May 31 06:09:42 2005 +0000 Mention HAVE_REMSH fix. M NEWS commit 0f0b2e66b8b0c439dbed63e54b29bbf81dc8fba3 Author: Wayne Davison Date: Fri May 27 18:15:18 2005 +0000 Simplified the last change a bit. M flist.c commit 5d24ee71ad855c73fe4d86a2721b342abdd8f149 Author: Wayne Davison Date: Fri May 27 18:09:34 2005 +0000 Test for various past problems with --relative. A testsuite/relative.test commit 3a05c5d3ce89c1ef4c2f12646abb1afac418641a Author: Wayne Davison Date: Fri May 27 18:04:04 2005 +0000 If we unduplicate '.', make sure we also copy FLAG_DEL_HERE (in addition to FLAG_TOP_DIR), so that the unduplication of a real dir and an implied dir (implied by --relative) works right. M flist.c commit 89ec535af5bc8c0e563a3324939c3895b65b9aaf Author: Wayne Davison Date: Fri May 27 16:41:19 2005 +0000 - Only define HAVE_REMSH if it is going to have a non-0 value. - Got rid of ssh warning that was added for 2.6.0. M configure.in commit e96d7972c462047e5efc82bdca6b5b165270a579 Author: Wayne Davison Date: Thu May 26 18:00:09 2005 +0000 Improved the opening comment. M support/atomic-rsync commit 962a3f0b6e78a6d0bd3a3fc5fb391bcd4cbf6aca Author: Wayne Davison Date: Wed May 25 15:52:03 2005 +0000 Mention the latest bug-fix. M NEWS commit cbb5fa4f07a6cb017a6a9ddbb8f33e3aa18d489a Author: Wayne Davison Date: Wed May 25 01:24:01 2005 +0000 Handle nested "." dirs (caused by --relative and a trailing slash or a trailing "/.") in f_name_cmp() when dirname is not an identical pointer. M flist.c commit b57907efb20ad6193d8e977c64875562646fa0cc Author: Wayne Davison Date: Sun May 22 20:53:18 2005 +0000 Mention the output change for a mount-dir when -x is used. M NEWS commit 26beb7861fbcc7abec92acfe3773f8154c39fe7a Author: Wayne Davison Date: Sun May 22 20:52:32 2005 +0000 - Don't stop deleting in a dir if one item fails. - Don't skip deleting in a dir if the initial rmdir fails (2.6.4 only continued if it was a non-empty error). M generator.c commit 6e8b9f13416063d26b99b75a277db5bb584c6ad2 Author: Wayne Davison Date: Sun May 22 17:19:16 2005 +0000 Must check FLAG_MOUNT_POINT in delete_in_dir() to avoid starting a descent into a mounted directory when -x is specified. M generator.c commit 6efe94167fe4af5154c6131f04c927c00f48b4fe Author: Wayne Davison Date: Fri May 20 17:57:31 2005 +0000 Improved the SYMBOLIC LINKS section, as suggested by John. M rsync.yo commit 51cc96e469058f94666ffbb080024ef9981d0ac1 Author: Wayne Davison Date: Fri May 20 17:39:10 2005 +0000 Improved a --files-from example (as suggested by Paul). M rsync.yo commit bdedced84b7f446f818efd4d25b8985285a50009 Author: Wayne Davison Date: Thu May 19 22:16:50 2005 +0000 Tweaked a sentence. M NEWS commit f497ad722d99ac5bae1c2a4756681f8d250db509 Author: Wayne Davison Date: Thu May 19 21:45:41 2005 +0000 Preparing for release of 2.6.5pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 339eb8943e8b93e3b5fe1043ea3f40196079ee55 Author: Wayne Davison Date: Thu May 19 21:42:20 2005 +0000 Tweaked the opening comments. M support/cvs2includes commit c36864e40e0b21abf7ea9239f132ccdc0170172f Author: Wayne Davison Date: Thu May 19 21:38:25 2005 +0000 Mentioned the improved keep-alive code. M NEWS commit af6155bb0ec844ad5558d7fe577cf31c3946d23a Author: Wayne Davison Date: Thu May 19 21:36:30 2005 +0000 Clarifications related to --dirs. M OLDNEWS commit 605fed4b4659e86dba01dfc3c873f11879a230e9 Author: Wayne Davison Date: Thu May 19 08:52:24 2005 +0000 Periodically call maybe_send_keepalive() when timeouts are in effect (this ensures that the receiver doesn't timeout when we're still doing work reading data from the generator). M sender.c commit ac40b74788bc4c81d57018c8bf624c913eb57ac4 Author: Wayne Davison Date: Thu May 19 08:52:22 2005 +0000 The global allowed_lull is now already set, so just set lull_mod. M generator.c commit 3e6ddb3738cd3573e108f43b2122ba3caff9ab13 Author: Wayne Davison Date: Thu May 19 08:52:19 2005 +0000 - Call the new set_io_timeout() function to set the timeout value. - If the user specified a shorter timeout than the config-file, don't override the shorter value. M clientserver.c commit 9ac756c6ea3768ff9bd9798a9d73ce9882c3b7a0 Author: Wayne Davison Date: Thu May 19 08:52:17 2005 +0000 - The variable allowed_lull is now our global. - Tweaked the --timeout option handling to call set_io_timeout(). M options.c commit 3b0a30eba8f67aaabf7a15ee357b20a0a3e62b62 Author: Wayne Davison Date: Thu May 19 08:52:13 2005 +0000 - Added set_io_timeout(), which sets all the timeout-dependent variables when the timeout value changes. - Split last_io into last_io_in and last_io_out. - Made select_timeout static. M io.c commit bac7259081ed93f5e25adb890c534da4700ef395 Author: Wayne Davison Date: Thu May 19 00:02:29 2005 +0000 The latest bug-fix. M NEWS commit 4d474ad51386138c7c09bcffa328cd98c4d8dddf Author: Wayne Davison Date: Thu May 19 00:00:28 2005 +0000 One place that was testing errno for ENOTEMPTY was failing to also test for EEXIST (which is returned by some OSes). M generator.c commit e50e82ab40045e8aae0c27f9e39c4f6b2d22b3f7 Author: Wayne Davison Date: Wed May 18 23:59:12 2005 +0000 Fixed a typo. M support/mnt-excl commit 49221755892f25fa5314bd109a61cbbbd4323adb Author: Wayne Davison Date: Tue May 17 15:08:05 2005 +0000 Two more items. M NEWS commit a289f89fbe92410d2a875481197a75668bd31656 Author: Wayne Davison Date: Sat May 14 18:44:57 2005 +0000 Treat a trailing ".." dir-name as if "../" had been specified so that we don't use the name in the destination path and save files into a higher destination directory. M flist.c commit ba64001df85b6bfed55ea96b4d73879f7fb26173 Author: Wayne Davison Date: Fri May 13 23:03:00 2005 +0000 Mention the latest bug fix. M NEWS commit b225b089b8e7ec1fbed235ba743a2cbd2b540c30 Author: Wayne Davison Date: Fri May 13 23:00:20 2005 +0000 Have do_delete_pass() immediately return if list_only is set. M generator.c commit 557a35f55bf4cb99f5cce1d966598e11c03318cc Author: Wayne Davison Date: Fri May 13 22:02:24 2005 +0000 If adding a trailing dot to a directory name overflows MAXPATHLEN, die with an overflow error. M flist.c commit 1848fd6fa125c1603fb12742392d6cb7d87212c0 Author: Wayne Davison Date: Fri May 13 18:37:11 2005 +0000 An example filter script to maintain .cvsinclude files. A support/cvs2includes commit f2a4853c93136bfa282cff767873064db3ebb28c Author: Wayne Davison Date: Thu May 12 17:36:29 2005 +0000 Improved the use of the "remaining" var in readfd_unbuffered() to make certain that the static value is always set correctly anytime we call out to another function. M io.c commit e65154085cd6b58fada9b8f3070448e8bbad6111 Author: Wayne Davison Date: Thu May 12 07:45:21 2005 +0000 Got rid of some code from writefd_unbuffered() that was only needed back when the generator had a writeable pipe to the receiver. M io.c commit e4676bb59be26860433f5ff727855fe03d072bf8 Author: Wayne Davison Date: Thu May 12 07:43:14 2005 +0000 Make the --stats output come out after any delete-after messages. M main.c commit 3b968014c9b4cc6cfad0b3c580d0e8ea4b8905ff Author: Wayne Davison Date: Thu May 12 07:34:45 2005 +0000 Improved a few sentences. M NEWS commit 21b9b9337798dc7806555ef819c1f1c69ad6c89f Author: Wayne Davison Date: Tue May 10 18:31:46 2005 +0000 Fixed a typo. M NEWS commit c4d1b2983d9bc73c107f203a1331a4014d74405a Author: Wayne Davison Date: Tue May 10 17:28:34 2005 +0000 Preparing for release of 2.6.5pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 7d7a34aeb2e56dbd96b8df88be45098e2b2f1b8f Author: Wayne Davison Date: Tue May 10 17:27:39 2005 +0000 Added more missing NEWS items. M NEWS commit 65c84700fce45bf1b917e161fdb75f52d27e422c Author: Wayne Davison Date: Tue May 10 16:55:22 2005 +0000 Mention two more changes. M NEWS commit 5a727522f0da47b96ab1e727a5c73b540c78acf8 Author: Wayne Davison Date: Tue May 10 16:14:26 2005 +0000 Refer to the rsync daemon as a "daemon", not a "server". This is to avoid confusion with the server that rsync runs in a normal remote-shell transfer. M rsync.yo commit 1599754727095591467cb085cf5077faaf23e80b Author: Wayne Davison Date: Tue May 10 16:04:02 2005 +0000 - Improved the GENERAL section. - Improved the description of --list-only. - Added a VERSION section, like the rsyncd.conf manpage. M rsync.yo commit d90338cec6339cd72ad89372ea52055e670fb958 Author: Wayne Davison Date: Tue May 10 16:00:24 2005 +0000 Refer to the rsync daemon as a "daemon", not a "server". This is to avoid confusion with the server that rsync runs in a normal remote-shell transfer. M rsyncd.conf.yo commit d0e94abb40aff4e7720ee79c78be206fd4755645 Author: Wayne Davison Date: Mon May 9 15:39:24 2005 +0000 Fixed one synopsis line to make the DEST arg optional. M options.c M rsync.yo commit d8c4d6de1089623cb7d8c0050bacd68ff74f1aa2 Author: Wayne Davison Date: Tue May 3 17:04:26 2005 +0000 Use new MAX_SERVER_ARGS define instead of hard-wired "100". M main.c commit 74ba98a51be607516c80c2289e55ed66cc9fa52f Author: Wayne Davison Date: Tue May 3 17:01:59 2005 +0000 There was no reason to have MAX_BASIS_DIRS factored into the length of the argstr[] array. M options.c commit c296031d9fd9e9826d3ef3709df03050fc6b4a44 Author: Wayne Davison Date: Tue May 3 17:00:47 2005 +0000 Added MAX_SERVER_ARGS. M rsync.h commit 81c453b16a8fcdfb53b160995232e6d2a7796434 Author: Wayne Davison Date: Tue May 3 16:47:03 2005 +0000 A few minor doc tweaks. M rsync.yo commit 4a34c6f176297ef0133f274446dec443a3c827fc Author: Wayne Davison Date: Tue May 3 16:46:49 2005 +0000 - Moved the --version option in the help text. - Tweaked the --log-format option's description. - Added a comment. M options.c commit 9b3150bd2e386cb0928c268904a5b80eeffeeb50 Author: Wayne Davison Date: Tue May 3 16:45:40 2005 +0000 Mention the change in error message and exit status when we pull an empty file list. M NEWS commit 6f2245c8fa86d679b30f05c07dd8e3e645004675 Author: Wayne Davison Date: Tue May 3 16:44:47 2005 +0000 Tweaked the checking of the "limit" in safe_fname(). M util.c commit 0f9941dc5a0fb7af60446d639d2444459250fc2d Author: Wayne Davison Date: Tue May 3 16:03:31 2005 +0000 Fixed a typo. M OLDNEWS commit 060f31500b7dfc0b949886055d57a73a527772eb Author: Wayne Davison Date: Tue May 3 15:59:24 2005 +0000 - Improved the comments on the backslash-escaped output, and moved it to the top in an "OUTPUT CHANGES" section. - Added a mention of the generator's new output-flushing optimization. M NEWS commit 7c2a83c6352fb20c506e67fd689af4006bf6d304 Author: Wayne Davison Date: Tue May 3 15:58:06 2005 +0000 Improved a sentence. M OLDNEWS commit 97e3c50cd9ffe1e0a6b215ca016f803bd8d4ee36 Author: Wayne Davison Date: Mon May 2 18:04:32 2005 +0000 Mention the '?'-in-filenames change. M OLDNEWS commit b2360dabf65aa42462a2efb89e3a96a82645ed30 Author: Wayne Davison Date: Mon May 2 17:27:20 2005 +0000 Fixed some misspellings. M NEWS commit 723160280f2e4166bdfd9b47b886e6a5d65cb022 Author: Wayne Davison Date: Mon May 2 17:23:08 2005 +0000 Tweaked the description of --from0. M options.c commit fa92818af3e9782b82a41d10633809abe72b922c Author: Wayne Davison Date: Mon May 2 17:22:42 2005 +0000 Tweaked the doc for --from0. M rsync.yo commit 289a32167ca34a448496f8927faf33148290a445 Author: Wayne Davison Date: Thu Apr 28 16:26:23 2005 +0000 Moved the max-size checking code down so that it only checks regular files. M generator.c commit 95e107db967b69d527015a7d392af80c24288070 Author: Wayne Davison Date: Thu Apr 28 16:11:32 2005 +0000 Moved the size-parsing code for --max-size into its own function. M options.c commit 513fd04d21228519b58fbf10a077a0ff8f6be785 Author: Wayne Davison Date: Wed Apr 27 22:58:06 2005 +0000 Set ignore_timeout before starting the transfer, regardless of what protocol level is in effect. This guards against the generator timing out when the output pipe is full and the input pipe (to the receiver) is slow. M generator.c commit 7a16e12207b65010dc2f0c05dc87a9690c9ed87b Author: Wayne Davison Date: Wed Apr 27 22:56:47 2005 +0000 If the user specified --relative and a source dir with a trailing slash, make sure we strip of the trailing "/." from the dir's len (in del_hier_name_len) so that its subdirs get marked with FLAG_DEL_HERE. M flist.c commit de8252f67fb4cc22b4c6264ea87c6c43bb3c69d5 Author: Wayne Davison Date: Tue Apr 26 16:25:01 2005 +0000 Added a new test to check how we interact with --link-dest and --copy-dest. M testsuite/hardlinks.test commit 98e4741463ea13c017e1d0776dbf3939da11d75a Author: Wayne Davison Date: Tue Apr 26 16:09:03 2005 +0000 A slightly better fix than the last one (though it won't make any difference in how the code behaves due to how it is called). M exclude.c commit 028245a57b37d759532f53c3c08109b423cdef1a Author: Wayne Davison Date: Tue Apr 26 15:25:43 2005 +0000 Mention newest fix. M NEWS commit 2765f2e4a7293a72869d97bad96ef4ed032ee5c5 Author: Wayne Davison Date: Tue Apr 26 15:24:40 2005 +0000 Fixed problem with -C when we're the sender, the remote is using an older protocol, and we're not sending the exclude list (i.e. the user didn't specify --delete or they specified --delete-ignored). M exclude.c commit 79db59d1a72c584f4ac4629539b4f67c180d79dd Author: Wayne Davison Date: Mon Apr 25 19:30:29 2005 +0000 Try to make rsync's behavior w/o "--perms" a little clearer. M rsync.yo commit c48cff9fbeace8db37a7e67ec6ff102c95b0db6d Author: Wayne Davison Date: Mon Apr 25 19:23:43 2005 +0000 Fixed two typos. M rsync.yo commit f4b8e829e9bd06bdb15861c663cb3134795f7fd6 Author: Wayne Davison Date: Sun Apr 24 22:35:03 2005 +0000 Mention fix for --one-file-system. M NEWS commit 468d7668191980c337e37cd3980f80dcd8e9c0fd Author: Wayne Davison Date: Sun Apr 24 22:34:20 2005 +0000 Simplified the last change a little using a fix derived from Mike Castle's suggestion. M generator.c commit f3ab64d3a8b47395154a503f3f0084622d61d52d Author: Wayne Davison Date: Sun Apr 24 22:11:26 2005 +0000 When deleting files, we need to take any local FLAG_MOUNT_POINT flag-bit and put it into the regular flist's flags for that dir, and delete_in_dir() now refuses to delete a directory that has that bit set. M generator.c commit a234bca4ef045bb34532c978642acb733942cfea Author: Wayne Davison Date: Sun Apr 24 16:19:16 2005 +0000 Reject any --remove-* options when read-only, just in case there are new ones added in the future. M support/rrsync commit 42e9c7eb565a6084d5a11c1808f5837babd7955b Author: Wayne Davison Date: Sun Apr 24 00:34:39 2005 +0000 Mention the latest fixes. M NEWS commit 9d19f8a5feb465e75351edd9057c995e4b56d33e Author: Wayne Davison Date: Sat Apr 23 22:30:08 2005 +0000 When rsync encountered an empty file list, it behaved differently when pulling files than when pushing files: pulling it output a (mostly) unhelpful error message and then exited with a 0 status, even when the remote side exited with an error code. I changed this to output the normal end summary (when verbose) and to exit with the status intact (just like when pushing files). M main.c commit 24e61cffe3cedc0165ceb623aefb42a35bd7da73 Author: Wayne Davison Date: Sat Apr 23 22:17:10 2005 +0000 For those rare individuals without web access, mention how to send bug reports via email. M README commit 3556fe5d8640e5932676ca5ba1036332a59dc192 Author: Wayne Davison Date: Sat Apr 23 19:46:22 2005 +0000 Fixed a problem where a --link-dest hard-link could cause us to miss out on the hard_link_cluster() call. M generator.c commit ee887d98f6f6656e24cd21527307804d932faa29 Author: Wayne Davison Date: Sat Apr 23 18:20:47 2005 +0000 Two more tests: - Update the hard-linked cluster and copy over the old versions. - Add a new hard-linked item down in a new subdir to make sure that the new file doesn't get handled before the subdir gets created. M testsuite/hardlinks.test commit 5c7b1feb4cb18dcd03dcc1eb0045291a6aa46c44 Author: Wayne Davison Date: Sat Apr 23 18:17:25 2005 +0000 Added --no-whole-file option to one of the runs. M testsuite/hands.test commit 3cd5301f401add0bfab69c28e8c82e62c40f31db Author: Wayne Davison Date: Sat Apr 23 17:48:34 2005 +0000 - Added a new function, maybe_hard_link(), which now holds the code (moved from hard_link_cluster()) that checks the inode/dev of an existing file and either does nothing (when properly linked), or removes the existing file before calling hard_link_one(). - Changed hard_link_check() so that it checks if the master item is marked with FINISHED_LINK (in its hlindex int), and if so, it finishes the current file by calling maybe_hard_link() (and marking it as finished too). Otherwise it marks the item as skipped by setting hlindex to SKIPPED_LINK. - Fixed the outputting of an error in hard_link_one() so that the message is always output when the caller did not request "terse" processing. - Changed hard_link_cluster() so that it marks the master item with FINISHED_LINK and then links only the skipped items (marking them with FINISHED_LINK too). M hlink.c commit d8169e6f6bfc312f0ecf603616fb462ff8230e9d Author: Wayne Davison Date: Sat Apr 23 17:48:31 2005 +0000 - Call hard_link_check() with its new args. - Got rid of a duplicate error after the hard_link_one() call. M generator.c commit c4833b024ef5f1b7c1e4f67154667541bf433850 Author: Wayne Davison Date: Fri Apr 22 17:17:18 2005 +0000 Mention how a module reference doesn't need a trailing slash to copy its contents. M rsync.yo commit 2a5d5a8cc4ad251d8d29e45e4be3d9c39228715b Author: Wayne Davison Date: Fri Apr 22 16:45:33 2005 +0000 If we're outputting a message about the remote file in a single-file transfer, we need to make sure that the file's name is the generic-transfer name and not a local name. M generator.c commit f7112154e918f741638cdfae6445068f1126272a Author: Wayne Davison Date: Fri Apr 22 15:19:10 2005 +0000 Moved "port" and "address" into the global section where they belong. M rsyncd.conf.yo commit f83051b2e39f3ea73caa37870e2ae7c283d57b50 Author: Wayne Davison Date: Sun Apr 17 08:25:50 2005 +0000 Updated FSF's address and some minor non-license tweaks taken from the latest GPL file on the web. M COPYING commit 2e42adb302df8607cecae334170ad379286a40a6 Author: Wayne Davison Date: Sat Apr 16 07:34:49 2005 +0000 Simplified the newly added test so that it should stop sporadically failing. M testsuite/hardlinks.test commit c09ebb8c04b7fdd0726dc5cd3564aa58dafe4cba Author: Wayne Davison Date: Fri Apr 15 17:39:35 2005 +0000 Call rsync via $RSYNC. M testsuite/hardlinks.test commit 042dc7360efae7efc883def2792760b7460ef493 Author: Wayne Davison Date: Fri Apr 15 17:26:27 2005 +0000 Make sure that the $chkdir has the same mtime/etc. as the $fromdir. M testsuite/hardlinks.test commit 7a6e294f7b59a3f8cd20ede0fd8bcbe0f7730c93 Author: Wayne Davison Date: Fri Apr 15 08:28:02 2005 +0000 Added a test that copies a single file with -H specified. M testsuite/hardlinks.test commit 97e786c3312897c49d671e4198c8d35a76f0ab3b Author: Wayne Davison Date: Fri Apr 15 08:26:58 2005 +0000 - Fixed a potential crash/infinite-loop bug if -H was used when sending a single file. - Made a couple variable improvements in link_idev_data(). - Got rid of the non-NULL check of hlink_list in init_hard_links() because is enough to just check file->link_u.links these days. M hlink.c commit 8ee6adefe38a00af526ce15c51a24580bea0212c Author: Wayne Davison Date: Thu Apr 14 16:08:12 2005 +0000 Call logfile_close() and logfile_reopen() (tweaked function names). M socket.c commit 64c37826e49d6f1fb7d15551425df7b84ecf3ffa Author: Wayne Davison Date: Thu Apr 14 16:08:10 2005 +0000 - Changed log_open() into two functions, logfile_open() and logfile_reopen(). - Changed log_close() into logfile_close(). - Improved the logic in logit(). M log.c commit 2e8015e0daf09a2df2c94031a80ecdd12376e0c2 Author: Wayne Davison Date: Thu Apr 14 01:47:47 2005 +0000 Mention that less data is sent over the wire when --only-write-batch is used and we're pushing files to a remote system. M NEWS commit 5b6281afcfebcc07b1db3a774671a4e129909feb Author: Wayne Davison Date: Thu Apr 14 01:46:08 2005 +0000 Got rid of ITEM_DUMMY_BIT. M rsync.h commit e732fb0c4f9e12048bf25b102d2e045c7873e3cf Author: Wayne Davison Date: Thu Apr 14 01:45:47 2005 +0000 - Got rid of the iflag kluge for 2.6.4pre3. - When we're handling --only-write-batch on the client side, we now send all index/header info to the receiver (not just to the batch file, like we do with the xfer data) so that the connection cannot timeout. M sender.c commit b10917a426d5e5b6815a74584acac8c25c0df273 Author: Wayne Davison Date: Thu Apr 14 01:42:13 2005 +0000 Support the reception of a file-transfer header without xfer data when we're on the server side and --only-write-batch was specified. M receiver.c commit 7ae64260e06648beb03ef0c920ae55384ab98802 Author: Wayne Davison Date: Tue Apr 12 23:09:35 2005 +0000 Mention how the daemon handles a failure to open a user-specified "log file". M rsyncd.conf.yo commit f97f6bcd3a87215885035d8688aecc60c420ec93 Author: Wayne Davison Date: Tue Apr 12 23:06:45 2005 +0000 Mention how we now handle a log-file that the daemon can't open. M NEWS commit e86d98cbaaf92e03a5b4b9242ed1cc0a830712f0 Author: Wayne Davison Date: Tue Apr 12 23:04:10 2005 +0000 Got rid of RERR_LOG_FAILURE. M errcode.h commit 6afb90778b4a375a45b8ac893c338cccf61db01d Author: Wayne Davison Date: Tue Apr 12 23:03:49 2005 +0000 If we can't open the daemon's log file, fall-back to using syslog (rather than trying to output an error on stderr, which would usually be lost, and then exiting). M log.c commit 32c7f91a1460be4132fc5e7ef5b6880118b5c1b4 Author: Wayne Davison Date: Tue Apr 12 03:55:56 2005 +0000 A couple improvements for the --only-write-batch section. M rsync.yo commit b28a27e9e9ccae0dbd5084e74c0f2c801c566a57 Author: Wayne Davison Date: Sun Apr 10 20:08:00 2005 +0000 Mention the latest bug-fix. M NEWS commit 15164c0aa9336f5001a011a83cf4e8acb1c41799 Author: Wayne Davison Date: Sun Apr 10 19:44:16 2005 +0000 Paul's patch to improve the "not creating new ..." message for directories. M generator.c commit bf011fedfc5cdf3098d23a08609309748575460c Author: Wayne Davison Date: Sun Apr 10 17:09:10 2005 +0000 Made the code a little cleaner by having gen_challenge() return the challenge string base64-encoded (instead of forcing the caller to handle this). Also improved a couple comments. M authenticate.c commit d7d11b7ebd63821e31ce0ed7ce3bc4599523cc68 Author: Wayne Davison Date: Sun Apr 10 07:17:47 2005 +0000 Mention fix for SUPPORT{,_HARD}_LINKS defines. M NEWS commit 9a929c8f68b587204c65d077d19871aa53f24a8c Author: Wayne Davison Date: Sun Apr 10 06:24:14 2005 +0000 - Don't define HAVE_READLINK unless HAVE_READLINK is defined. - Don't define SUPPORT_HARD_LINKS unless HAVE_LINK is defined. M rsync.h commit 298d8c0a9b56d860f020cf30432af77f5573818d Author: Wayne Davison Date: Sat Apr 9 18:59:59 2005 +0000 Mention the new --only-write-batch=FILE option. M NEWS commit a054570942981a1bb35ea81cb25a299688c4209a Author: Wayne Davison Date: Sat Apr 9 18:59:57 2005 +0000 - Use the new do_xfers variable in place of some dry_run checks (with appropriate negation). - If write_batch is < 0, we write out the file-transfer data to just the batch file, not the socket. M sender.c commit a0009fc30dc850fadc16a07ce7918759751d88ce Author: Wayne Davison Date: Sat Apr 9 18:59:55 2005 +0000 - Use the new do_xfers variable in place of some dry_run checks (with appropriate negation). - If we get a transfer when write_batch is < 0, discard it. M receiver.c commit beb51aa09ef9d5d10956a4c1fcf7cd4f4449d018 Author: Wayne Davison Date: Sat Apr 9 18:59:52 2005 +0000 Use the new do_xfers variable in place of some dry_run checks (with appropriate negation). M generator.c commit e8a96e275edbec0b69eba596a410ba011ec0ffec Author: Wayne Davison Date: Sat Apr 9 18:59:49 2005 +0000 - Only do read-/write-batch processing if we're not the server (needed now that write_batch is no longer forced to 0 for the server). - If write_batch is < 0, force "dry_run = 1" (but only after we've finished any appropriate write-batch file creation). M main.c commit 11e758a4303b5ead815c7a0f2a4843e981102287 Author: Wayne Davison Date: Sat Apr 9 18:59:47 2005 +0000 - Added do_xfers variable. - Handle the new --only-write-batch=FILE option. M options.c commit d630f53e0de8517a4059fb4c89631af05259aa6f Author: Wayne Davison Date: Sat Apr 9 18:59:44 2005 +0000 Also change --only-write-batch to --read-batch (in addition to changing --write-batch). M batch.c commit 5918daf8a42a80bb9db3c787dffd8dead4bcca9f Author: Wayne Davison Date: Sat Apr 9 18:59:42 2005 +0000 We no longer force write_batch to 0 for the server. M pipe.c commit 326bb56e406a0caddb3d615ced9b2c745a858707 Author: Wayne Davison Date: Sat Apr 9 18:59:40 2005 +0000 Document the new --only-write-batch=FILE option. M rsync.yo commit f96154f44c21b15df5fdb222deeb8bf402ee7ab1 Author: Wayne Davison Date: Sat Apr 9 18:15:22 2005 +0000 Mention the latest changes. M NEWS commit 45c5b903eb96bc57ed1b4d59586defb1e4d0dc53 Author: Wayne Davison Date: Sat Apr 9 18:11:25 2005 +0000 - Call auth_server() with its new "host" arg. - Don't log an auth-failed error -- auth_server() now handles that. M clientserver.c commit 5037cf3adf5fd11b0f13722402237134a521752e Author: Wayne Davison Date: Sat Apr 9 18:11:23 2005 +0000 - Use the MD4_SUM_LENGTH define in place of some hard-wired values. - Pass the hostname in to auth_server(). - Generate a unique error for each failure type in auth_server() so that the log-file contains why the authorization failed. - Don't use sscanf() to parse the client's auth-challenge response. M authenticate.c commit 180443af42778dd0209fb76e08e4cbb33fec5e09 Author: Wayne Davison Date: Sat Apr 9 16:49:51 2005 +0000 The "@ERROR" handler in start_inband_exchange() was not returning the right value. M clientserver.c commit 4f3f97fbdeb3580c026fa3c7526526d0d209837d Author: Wayne Davison Date: Fri Apr 8 01:40:57 2005 +0000 Fixed one typo and improved another sentence. M NEWS commit 664cf3278ab078a8a5f64c07fa164f8e4f387815 Author: Wayne Davison Date: Thu Apr 7 18:06:06 2005 +0000 Make sure that "- !" or "+ !" aren't interpreted as a list-clearing token. M exclude.c commit cd36049cd18485acda2ba29791ebc827888448ea Author: Wayne Davison Date: Thu Apr 7 09:09:17 2005 +0000 Combine one of the backup tests with --delete-after. M testsuite/backup.test commit c2523a054188463f9f058c0b8624a47f0e370718 Author: Wayne Davison Date: Thu Apr 7 08:32:32 2005 +0000 Don't call maybe_flush_socket() quite so often. M generator.c commit 92739a0aa7e1a2173e28d6da65c22fc3a2c12184 Author: Wayne Davison Date: Thu Apr 7 08:28:06 2005 +0000 Mention the latest changes. M NEWS commit cd908ef4ff2075e155c270670bbaed706cfaece1 Author: Wayne Davison Date: Thu Apr 7 08:13:44 2005 +0000 Fix a bug with --delete-after combined with --backup. M generator.c commit ebd33e0cea4d1f54702167ce014823c72f2054bc Author: Wayne Davison Date: Wed Apr 6 02:08:21 2005 +0000 Use the new HAVE_LSEEK64 define. M syscall.c commit 5f2c5bf110870f22f1c42fa86e663523359b2947 Author: Wayne Davison Date: Wed Apr 6 02:07:21 2005 +0000 Added skipping of mkstemp() on HP-UX. M configure.in commit 417099fa203356705454dbbbc6b632e7c17c2036 Author: Wayne Davison Date: Tue Apr 5 20:08:51 2005 +0000 Periodically call maybe_flush_socket(). M generator.c commit 626bec8e84cace23b53473d79789f2544a5e85ce Author: Wayne Davison Date: Tue Apr 5 20:07:42 2005 +0000 - Added maybe_flush_socket() for use by the generator. - Always maintain the last_io value for the generator. M io.c commit a06e2b7cab2f16e77e3403bbe8d756806ece186f Author: Wayne Davison Date: Tue Apr 5 19:51:13 2005 +0000 When doing a delete pass with do_progress output, get rid of the temporary output (it used to always be covered up by output in older versions, but it might be followed by a newline in newer versions). M generator.c commit 3ae5367ff2241605ab8682063bb317708fc62e29 Author: Wayne Davison Date: Tue Apr 5 06:00:17 2005 +0000 Document the use of --address in client mode. M rsync.yo commit b4ef0bca477d7896196f03fbb64cb27c994b3d4f Author: Wayne Davison Date: Tue Apr 5 05:59:49 2005 +0000 Allows --address to be used in client mode. M options.c commit 4313d6f9c00885f6921f5c90f8e52f715ebd81a9 Author: Wayne Davison Date: Tue Apr 5 05:52:49 2005 +0000 Changed the bind_address local variables to be named bind_addr in order to avoid confusion with the bind_address global. M socket.c commit 2a0dd9bd70f4610f0bd294a50acc8e3283d70e84 Author: Wayne Davison Date: Mon Apr 4 17:27:56 2005 +0000 Make sure that the line buffer in readfd_unbuffered() is large enough to handle long-filename messages on a system that has a really short MAXPATHLEN value. Also, make it large enough to be able to comment on a MAXPATHLEN filename. M io.c commit 3eeac9bc7ed328b44ca4e49a6daa0fd272c1114c Author: Wayne Davison Date: Mon Apr 4 00:48:39 2005 +0000 In writefd_unbuffered(), make sure that we don't look at the r_fds variable when we're ignoring msg_fd_in. M io.c commit 67de72bd9ba0c28e71009b838432f69955f95e31 Author: Wayne Davison Date: Fri Apr 1 18:18:17 2005 +0000 Mention fix for --compare-dest. M NEWS commit 552a218468739a50790a6b91c6a5c5c26c03bff6 Author: Wayne Davison Date: Fri Apr 1 18:12:22 2005 +0000 Make a local-copy caused by a not-quite-up-to-date --compare-dest or --link-dest file be output as a 'c' (local change) when itemizing or as transfered file when not itemizing. M generator.c commit d94015149671edfe80f8545024c6667f992abcaa Author: Wayne Davison Date: Fri Apr 1 17:25:37 2005 +0000 - Conditionally include . - Conditionally call setlocale(LC_CTYPE, ""). M main.c commit f5c7f4abe7d58b6573049b2ea9ac3202cee51fe9 Author: Wayne Davison Date: Fri Apr 1 17:25:34 2005 +0000 - Changed version to 2.6.5cvs. - Look for setlocale(), locale.h, and honor --disable-locale. M configure.in commit 3ae6c1875d96bb82af4074cabb142e46ee53790c Author: Wayne Davison Date: Fri Apr 1 17:25:28 2005 +0000 Starting the 2.6.5 news. M NEWS commit 1ad6a7f611255d239b6908584c7080b3a9d54b1b Author: Wayne Davison Date: Fri Apr 1 17:25:26 2005 +0000 Moved the 2.6.4 news here. M OLDNEWS commit 89d26123ff63a788e9cb7d07df3538f9e5d536d1 Author: Wayne Davison Date: Fri Apr 1 16:48:54 2005 +0000 Changed safe_fname() to output \### (octal) to escape non-printable characters (not ?) and \\ to escape \ itself. M util.c commit 46bffd98cbd32846ed5144e0b5e9ddcd0a19fd04 Author: Wayne Davison Date: Fri Apr 1 00:18:40 2005 +0000 Fix the setting of module_dirlen for a module path of "/". This fixes a crash in the exclude code when chroot is off. M clientserver.c commit 41b84ce012d7e45f580fa1ccdc7cc480f72578d2 Author: Wayne Davison Date: Thu Mar 31 23:30:03 2005 +0000 Don't try to tweak read-only dest-dir permissions in list-only mode. M generator.c commit de392f1e5cc7ea16a91f11b19ff1df4d0d430b68 Author: Wayne Davison Date: Thu Mar 31 03:14:34 2005 +0000 Preparing for release of 2.6.4 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 0455cd933d38f0662453e76bca23284bddd6412d Author: Wayne Davison Date: Thu Mar 31 03:01:26 2005 +0000 - Made the handling of adjacent percents (e.g. "%%b") work like it did in older versions. - Added a comment for log_format_has(). M log.c commit d9c0051fae2b69e7aa191ade1091f90c60783a2c Author: Wayne Davison Date: Thu Mar 31 01:09:18 2005 +0000 In log_formatted(), add the newline to the format string so that we can call rwrite() instead of rprintf(). M log.c commit 126e7affb7a8fd7ca6293ca9c77db3e5319028ad Author: Wayne Davison Date: Thu Mar 31 00:50:58 2005 +0000 Enabled width-sizing for %L. M log.c commit 624d6be2a529114604da511dd1f3eadf509b4b9b Author: Wayne Davison Date: Thu Mar 31 00:21:15 2005 +0000 Use new log_format_has() function instead of strstr(). M clientserver.c M options.c commit 16f960feb501d9c2444c1b5d8ad5ba81e932b975 Author: Wayne Davison Date: Thu Mar 31 00:19:13 2005 +0000 Added log_format_has(). M log.c commit e145d51ba6d4a90ab86f7f22b1c75be4e62ba916 Author: Wayne Davison Date: Wed Mar 30 23:39:00 2005 +0000 Make sure that we can't scan past the end of the format string. M log.c commit dcbae65444a82532d9a0e5caf5b3861ed1e6f95f Author: Wayne Davison Date: Wed Mar 30 20:41:11 2005 +0000 Optimized '%f' a little more. M log.c commit b4bf2b5a7e4c7a76b02efd7d73a7e34b2c78a664 Author: Wayne Davison Date: Wed Mar 30 20:18:48 2005 +0000 Allow %i to have a field width. M log.c commit 9baed7609ca497814e6ad3ea6e4b315caca2bb4e Author: Wayne Davison Date: Wed Mar 30 19:44:29 2005 +0000 - Allow the infix field width to start with a '-'. - Apply the field width to all escapes, not just numeric ones. M log.c commit 1c2efa17062859a214ef1c8a83e5cc7de54494a4 Author: Wayne Davison Date: Wed Mar 30 19:41:51 2005 +0000 Mention the numeric field width now possible in the % escapes. M NEWS commit 80a24d52d43a6560aaf23471c2b820f5683fcb5f Author: Wayne Davison Date: Wed Mar 30 19:39:11 2005 +0000 Mention that the % escapes can now have a numeric infix. M rsyncd.conf.yo commit af9f56a09df90e07bd3ba33e2583b30fd77f3e0f Author: Wayne Davison Date: Wed Mar 30 19:34:20 2005 +0000 dropped the "const" from the return value of safe_fname() because some callers would like to manipulate the string in the buffer. M util.c commit ddd74b67be3f28bee4bb2042983e004486609bab Author: Wayne Davison Date: Wed Mar 30 18:27:09 2005 +0000 Allow the escapes in the log-format string to contain a numeric field width (e.g. %8l %07p). M log.c commit 7b558d7f8be904010cf69c8e69b6a4a8f64f3f33 Author: Wayne Davison Date: Wed Mar 30 17:31:35 2005 +0000 Fixed a comment. M flist.c commit c87ae64a826e3697cd4b848e8696636d0a2b888f Author: Wayne Davison Date: Wed Mar 30 16:55:11 2005 +0000 Moved a call to output_summary() up a line. M main.c commit b9f0ca7274b437afd12ac57e5202168d940e3ef4 Author: Wayne Davison Date: Wed Mar 30 16:51:33 2005 +0000 Tweaked a couple sentences. M rsync.yo commit c1759b9fa293dc2cf9bfa007da9e033d5fe41699 Author: Wayne Davison Date: Wed Mar 30 16:35:01 2005 +0000 Changed %i to output '>' for a local copy. M log.c commit 9c63d83d3d7ddd8a70507ffddc481ef9d2166c32 Author: Wayne Davison Date: Wed Mar 30 16:33:41 2005 +0000 Got rid of a useless extern. M generator.c commit 1ed91a04fe62c11d339866fc8e4afde88af80fbe Author: Wayne Davison Date: Tue Mar 29 22:05:33 2005 +0000 - Fixed a potential crash if the receiver couldn't open the basis file and the sender (possibly via a batch) tells us to use basis data. - Enhanced the batched-update skipping message to indicate what phase is being skipped. M receiver.c commit 154cdaaa4017cc3b878a3ef4960167ccf8d9fd61 Author: Wayne Davison Date: Tue Mar 29 19:49:40 2005 +0000 - Warn about missing batched updates the generator wants but the batch doesn't have. - Tweaked the "skipping ..." message that is output for already- applied batched updates. M receiver.c commit 33c4b445ef295f7abe023b208651d450ab2a5c3b Author: Wayne Davison Date: Tue Mar 29 11:11:35 2005 +0000 Split report() into handle_stats() and output_report() so that (1) the report happens after all --delete-after activity has ceased when pulling, and (2) a batch-file created when pushing gets the stats values written out prior to any end-of-run keep-alive packets. M main.c commit 53135fe89a7688ff3ef6bb26eb4053de82879036 Author: Wayne Davison Date: Tue Mar 29 10:57:31 2005 +0000 Changed maybe_emit_filelist_progress() and emit_filelist_progress() to take an integer count instead of a struct file_list so that we can pass in a file-list-count offset for delete's separate calls to send_directory(). M flist.c commit 083acd496d10420bbb64df3f62e400254960988f Author: Wayne Davison Date: Tue Mar 29 10:41:26 2005 +0000 Turn off do_progress during the file-update phase so that --delete-during and --fuzzy don't get any superfluous " N files..." lines output in the middle of the processing. M generator.c commit 00348fd7937e0430ec2ec0b19a51f7f681c8f20a Author: Wayne Davison Date: Tue Mar 29 06:18:24 2005 +0000 Preparing for release of 2.6.4pre4 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit ddb6fc696bbf36e00a2c2ea495f6b5d93c89f928 Author: Wayne Davison Date: Tue Mar 29 06:15:47 2005 +0000 Improved several items and preparing for final 2.6.4 release. M NEWS commit f7e48a5cb85d34a2bf7b8408efcf1425012ce012 Author: Wayne Davison Date: Tue Mar 29 06:15:08 2005 +0000 Add data for 2.6.4. M OLDNEWS commit 70352269ba69d983d714f76c35af087f395202a9 Author: Wayne Davison Date: Tue Mar 29 01:04:20 2005 +0000 If --delay-updates wasn't specified, write out two -1 indexes at the same time to avoid a useless round-trip delay for an empty delay-updates phase. M generator.c commit 0b9414792835406d71b4cf8ed8e8f5163cac0b57 Author: Wayne Davison Date: Mon Mar 28 20:54:06 2005 +0000 Added --protocol and made some batch-file improvements. M rsync.yo commit da9f59264f3487b9c79b1ad2c95e8fd8625c1619 Author: Wayne Davison Date: Mon Mar 28 20:40:25 2005 +0000 Added --protocol to --help output. M options.c commit 96b7b48efa86bf3fa164d85532dc8bf520d80531 Author: Wayne Davison Date: Mon Mar 28 17:29:27 2005 +0000 Some temporary code for 2.6.4pre3 compatibility (which can be safely removed for the next release). M sender.c commit aea4bf2894f1fc1d060720a8583104f6391447a6 Author: Wayne Davison Date: Mon Mar 28 17:08:47 2005 +0000 Chaging ITEM_UNUSED back to ITEM_DUMMY_BIT for now -- we'll need to get rid of it later on. M rsync.h commit 855ef72f3f3345848e1023e235365a2c50b34a47 Author: Wayne Davison Date: Sun Mar 27 05:58:40 2005 +0000 Changed ITEM_DUMMY_BIT to ITEM_UNUSED. M rsync.h commit 98dc857b322cd8e68a67255d2542588b2efbb416 Author: Wayne Davison Date: Sun Mar 27 05:58:38 2005 +0000 Got rid of temporary code that detected and rejected older 2.6.4 pre-release versions. M sender.c commit 94af17a6eb29c08b5b3efb25f00d8604c51cd5e7 Author: Wayne Davison Date: Sun Mar 27 05:58:36 2005 +0000 Got rid of temporary code that set the ITEM_DUMMY_BIT. M generator.c commit 00fd35482e49352ba26250f6b4c9323c62ad74bd Author: Wayne Davison Date: Sun Mar 27 05:49:24 2005 +0000 --compress is now saved in a batch's option-state flags. M NEWS commit cc3e0770bc05a6de4af75aec45e533634bb04d2d Author: Wayne Davison Date: Sun Mar 27 05:32:36 2005 +0000 Decided that the '<' and '>' output in the %i format were the opposite of what they should be. M log.c M rsync.yo commit e7f7064cc5d711d6fc6d22372d9b0abfbdc25b69 Author: Wayne Davison Date: Sun Mar 27 05:02:49 2005 +0000 - Fixed a bug in the saving of the --dirs option's state. - Added the saving of the --compress option's state. - Deal with the xfer_dirs var in a better way for pre-29 batches. M batch.c commit 7b759fe0df60d178d2ca13e9e25a1430a5eed528 Author: Wayne Davison Date: Fri Mar 25 16:45:58 2005 +0000 Mention that --dry-run no longer conflicts with the batch options. M NEWS commit 254ee3baab09a1dbaa4b54efe402a26b4e2ba72a Author: Wayne Davison Date: Thu Mar 24 16:41:16 2005 +0000 - Don't complain if --dry-run is specified with --read-batch or --write-batch. - If --write-batch is combined with --dry-run, just disable --write-batch (that avoids trying to create a batch file and tells the user what would be transferred). M options.c commit f957e8fdf9d58526736ab0d611829a35c797e251 Author: Wayne Davison Date: Thu Mar 24 16:38:34 2005 +0000 If --dry-run is enabled with --read-batch, we must discard the transfer data. M receiver.c commit 822012eea9fd711578f3327c3c1011a5060b94a7 Author: Wayne Davison Date: Wed Mar 23 16:04:17 2005 +0000 List /etc instead of /, but only if it exists and is readable. M testsuite/longdir.test commit bb21ecac5bf5cb6e586476bbc754c709f71b3252 Author: Wayne Davison Date: Fri Mar 18 02:10:34 2005 +0000 Mention when we run fakeroot. M testsuite/chown.test M testsuite/devices.test commit 648859bda2ecf1ed112277b05adc1430c72747c1 Author: Wayne Davison Date: Fri Mar 18 02:07:25 2005 +0000 If we're not root and the "fakeroot" command is available, use it to re-run the script while pretending to be root. M testsuite/chown.test M testsuite/devices.test commit f328e0f3a8a1d4726b0d3315838c6a109d579acb Author: Wayne Davison Date: Thu Mar 17 08:59:48 2005 +0000 Set a maximum distance-measure that find_fuzzy() will accept. M generator.c commit 6012eaa1839802515923bcf523d0047a47d207de Author: Wayne Davison Date: Thu Mar 17 08:45:36 2005 +0000 Fixed a problem with the stripping of the .bak/.old/.orig suffixes in find_filename_suffix(). M util.c commit da2a6c1f1ca89140622a38d9a8398dd5507883e5 Author: Wayne Davison Date: Thu Mar 17 00:52:33 2005 +0000 Fixed the -r kluge sent for pre-2.6.4 --list-only support. M options.c commit 0438f100ae1f376ae399197b0c817891d9558c29 Author: Wayne Davison Date: Thu Mar 17 00:41:18 2005 +0000 We need to run our post-processing activities after the end of the receiver's delay-update processing. M generator.c commit b95ad9ac554bffbf642647bf00465f659af8de1b Author: Wayne Davison Date: Wed Mar 16 02:50:00 2005 +0000 Mention one other recent change. M NEWS commit 828a256123c7d06af3247286ccbd9771f4c68537 Author: Wayne Davison Date: Wed Mar 16 01:12:44 2005 +0000 Preparing for release of 2.6.4pre3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit ebf447ac813fb596b64f6a79bc6404ef04670706 Author: Wayne Davison Date: Wed Mar 16 01:06:33 2005 +0000 Changed error message for incompatible 2.6.4 pre-release versions. M sender.c commit 124f349ea1be34e12ea0a3bf011a0ab63311f033 Author: Wayne Davison Date: Tue Mar 15 23:23:45 2005 +0000 Document error messages 6 and 25. M rsync.yo commit 26718401fbdb63ef5a753e05a61897f71b944f06 Author: Wayne Davison Date: Tue Mar 15 23:23:41 2005 +0000 Added the error message for RERR_LOG_FAILURE and used it when the daemon can't open the log-file. M log.c commit f463e207536b74a6f6765490154e5342ac1176df Author: Wayne Davison Date: Tue Mar 15 23:23:39 2005 +0000 Added RERR_LOG_FAILURE define. M errcode.h commit 1129070514a9abdbebc9e05df3a667e845cd0f16 Author: Wayne Davison Date: Tue Mar 15 19:19:44 2005 +0000 - Made read_item_attrs() detect and reject a pre1/pre2 rsync (used by both the sender and the receiver). - Added an extra phase to the end of the transfer to better handle delayed updates that have hard links. M sender.c commit ac3f7b81f87a8d5461964181b2dd2033492bda5a Author: Wayne Davison Date: Tue Mar 15 19:19:41 2005 +0000 Added an extra phase to the end of the transfer to handle delayed updates that have hard links. M receiver.c commit 62f9573fb3ad52b0359fdf705e55d42677b7f9ed Author: Wayne Davison Date: Tue Mar 15 19:19:38 2005 +0000 - Added an extra phase to the end of the transfer to better handle delayed updates that have hard links. - Send the new ITEM_DUMMY_BIT to the sender so that we can figure out if the other side is pre1 or pre2 and let the receiver reject it. M generator.c commit 6d0e5d2e6254a3b012acfc724fc1aaf98defd7a6 Author: Wayne Davison Date: Tue Mar 15 19:19:36 2005 +0000 Added ITEM_DUMMY_BIT and moved a few other 'ITEM_*'s around. M rsync.h commit 8b48bf11549e2cc63c9380ac32885338b10f3c88 Author: Wayne Davison Date: Tue Mar 15 17:30:56 2005 +0000 Tweaked the end-of-phase code. M sender.c commit 42be53201fa2027f3d896a0611c9a8759c98c8d9 Author: Wayne Davison Date: Tue Mar 15 17:30:52 2005 +0000 Handle --delay-updates at the end of the first phase. M receiver.c commit c7791b8cb2fbbc59bbe3ae122fa64a40d6c08fd8 Author: Wayne Davison Date: Tue Mar 15 17:30:50 2005 +0000 Mention the index number for an "invalid packet at end of run". M main.c commit 7e9059d60fcead9a5e0108032da35fada4587fbb Author: Wayne Davison Date: Mon Mar 14 22:22:42 2005 +0000 Fixed a just-introduced crash bug in the --fuzzy processing. M generator.c commit f3ebe1a77eec0ac149e1c7e00e030d881f2cc6e8 Author: Wayne Davison Date: Mon Mar 14 22:17:25 2005 +0000 A simple test to ensure that fuzzy processing is working. A testsuite/fuzzy.test commit 301fb56ce9f7b0a47ede7d03c27ad64ed3ccce15 Author: Wayne Davison Date: Mon Mar 14 17:30:15 2005 +0000 Split the conditional-directory sending out of send_file_name() into a new function: send_if_directory(). This lets the code that is recursively descending through the directories make its list of a dir's contents and close the DIR handle before recursing into the subdirs. Also, the "recurse" var is just true/false once again. M flist.c commit aa7a6e878bf09d81122bb29b32deab2966c74b61 Author: Wayne Davison Date: Mon Mar 14 17:30:13 2005 +0000 The "recurse" value is back to being just 1 or 0 (true or false). M options.c commit 0a39837a62e4b623cc575f5b284b4c532c84e84f Author: Wayne Davison Date: Mon Mar 14 17:30:10 2005 +0000 Got rid of "fudged_recurse". M batch.c commit b2e8a9b2931c36f11dc743b0503945d08680bb10 Author: Wayne Davison Date: Mon Mar 14 17:06:08 2005 +0000 Got rid of an unused extern. M rsync.c commit a98ad817600ebacf19393cde60febc22183f11af Author: Wayne Davison Date: Mon Mar 14 03:36:56 2005 +0000 Got rid of some code in f_name_cmp() that tried to make all the dirname pointers to equivalent strings have identical pointers. M flist.c commit ccc51c83318d3fbf377bbdbb99f7881053958669 Author: Wayne Davison Date: Mon Mar 14 03:35:40 2005 +0000 The --fuzzy code now handles a file->dirname that has an identical string as another file without being an identical pointer. M generator.c commit ee171c6da96c7bfc378092bd99e76a300b0acfc3 Author: Wayne Davison Date: Sun Mar 13 05:36:13 2005 +0000 Document the latest %i output. M rsync.yo commit d5609e969d4f83360f3ece4417a62b34530b8a63 Author: Wayne Davison Date: Sun Mar 13 05:35:49 2005 +0000 Output a '*' at the start of the %i string when deleting. M log.c commit 927c8068419b8756b838e7ed66a6fc74c001db07 Author: Wayne Davison Date: Sun Mar 13 05:34:00 2005 +0000 - Improved a couple error messages. - Improved a function name. M sender.c commit 2da9dda1c0b7963f9f26726051f1fbf2aed1d2bb Author: Wayne Davison Date: Sat Mar 12 23:54:05 2005 +0000 Some misc. improvements (I hope). M packaging/lsb/rsync.spec commit 3117bc16a50ef1ed3ff4c016b2d4a64647da7fc4 Author: Wayne Davison Date: Sat Mar 12 23:52:18 2005 +0000 Improved two sentences. M NEWS commit 717b04306a80f7775b1d327e94d156ea419d1bdd Author: Wayne Davison Date: Sat Mar 12 23:52:08 2005 +0000 Tweaked the name of a variable. M generator.c commit 271220c5421b32dcbb7f699fca059d6a6bb0a852 Author: Wayne Davison Date: Fri Mar 11 19:23:09 2005 +0000 Mention --copy-dest. M NEWS commit 566a874141bd2330b8a20beae8637148cc65f581 Author: Wayne Davison Date: Fri Mar 11 17:36:05 2005 +0000 Re-enabled the --copy-dest part of the test. M testsuite/compare-dest.test commit 967866d4df4009bdc32347f7fa085681129a92c9 Author: Wayne Davison Date: Fri Mar 11 17:36:03 2005 +0000 Added --copy-dest logic, and improved the updating of --compare-dest and --link-dest files that are up-to-date but have differing attributes. M generator.c commit 1de3e99bc5781a119c3c7a4aa176eb77a7039714 Author: Wayne Davison Date: Fri Mar 11 17:35:59 2005 +0000 Added --copy-dest logic. M options.c commit 3e13004b6b0d4aef64b592066c3b14442627b478 Author: Wayne Davison Date: Fri Mar 11 17:35:57 2005 +0000 Tweaked the comment on copy_file(). M util.c commit 2f03ce67d695e16b1789aff3a155109dcbbbd25f Author: Wayne Davison Date: Fri Mar 11 17:35:54 2005 +0000 Document --copy-dest. M rsync.yo commit b9232d45ebeeab1fc4eed89fdf23e32bca5c881f Author: Wayne Davison Date: Thu Mar 10 00:06:01 2005 +0000 - Fixed the reading of the fuzzy xname from the socket. - Call read_item_attrs() with its new arg. M receiver.c commit 6087ef2a84efd4e40cc9527d71da317845a1ea53 Author: Wayne Davison Date: Thu Mar 10 00:05:58 2005 +0000 - Changed read_item_attrs() to return the length of the xname string. - Tweaked the order of the args to write_item_attrs(). M sender.c commit 1f1d368ad5b085beaa8669ef6f96fc4cc6bd20a4 Author: Wayne Davison Date: Wed Mar 9 23:46:28 2005 +0000 - Improved the error-checking for some delete_item() calls. - Move the non-regular-file delete-check above the alt-basis check where it belongs. - Keep track of the real statret and real stat-struct for certain alt-basis scenarios (e.g. partial-dir and fuzzy) so that we send the right itemized change flags. M generator.c commit dd18526e5bb61852016158b9eaacc4f0c0d00c20 Author: Wayne Davison Date: Wed Mar 9 18:55:09 2005 +0000 Mention the latest protocol-29 changes. M NEWS commit 4d53c4dd46cae7aa1bb0ee512ff4676f9f7b29d3 Author: Wayne Davison Date: Wed Mar 9 18:54:19 2005 +0000 We now handle the reading and writing of extra basis-file info: the fnamecmp_type byte, and the extra name (currently used for fuzzy processing and hard-link status). M sender.c commit 9e4a8d29b58cebadc1ab4396eb595e71a71a411c Author: Wayne Davison Date: Wed Mar 9 18:54:16 2005 +0000 Got rid of the name-pipe, so we now read the fnamecmp_type data over the socket for protocol >= 29, or handle it like the old days for older protocol versions. This means that we now validate this extra data for safety (such as the fuzzy filename). M receiver.c commit ef20efcbb69274e423321d7ac27bfe868bca65aa Author: Wayne Davison Date: Wed Mar 9 18:54:12 2005 +0000 Made itemize() output the fnamecmp_type and the fuzzy name based on the new ITEM_BASIS_TYPE_FOLLOWS and ITEM_XNAME_FOLLOWS flags. Got rid of the name-pipe to the receiver. M generator.c commit c70e07d9ac09da1f00c531bb9137347f516f88f9 Author: Wayne Davison Date: Wed Mar 9 18:54:09 2005 +0000 Got rid of the name-pipe from the generator to the receiver. M main.c commit b7d4d28bb3f45290bf7d747b5fa54c0e3ea4d181 Author: Wayne Davison Date: Wed Mar 9 18:54:06 2005 +0000 When itemizing, we now set ITEM_LOCAL_CHANGE and ITEM_XNAME_FOLLOWS. M hlink.c commit 9a6ed83f2c4a455b19b49824d86f5308b45f5c88 Author: Wayne Davison Date: Wed Mar 9 18:54:02 2005 +0000 - Made an overflow in read_vstring() return an error instead of dying. - Got rid of a flush kluge that was needed for the name-pipe. M io.c commit fd84673e54f8464f4fd9ec6a126c56bd5b487efc Author: Wayne Davison Date: Wed Mar 9 18:53:58 2005 +0000 Handle the new way that 'c' and 'h' get output by "%i". M log.c commit 57b12568e640b4e47039a30a6aa66e5d3a8efe12 Author: Wayne Davison Date: Wed Mar 9 18:53:55 2005 +0000 Complain if a feature that requires protocol 29 doesn't get it. M compat.c commit f9a9f54720bba989dd8a3319c887703e86c499a0 Author: Wayne Davison Date: Wed Mar 9 18:53:53 2005 +0000 Made the dest_option string non-static. M options.c commit 3019a9bafdf68a55e3410c3f275114dab3b4628c Author: Wayne Davison Date: Wed Mar 9 18:53:49 2005 +0000 Changed some of the ITEM_* defines. M rsync.h commit 278e3d4f6e1ce4fd587a9091b1b11bf05d432646 Author: Wayne Davison Date: Wed Mar 9 04:00:45 2005 +0000 Mention the latest bug-fix. M NEWS commit 9b9dd06894b57247a90caaaee8d2730645d5272e Author: Wayne Davison Date: Wed Mar 9 04:00:20 2005 +0000 We need to mention any change to a directory, not just a time change. Yeah, this isn't very consistent with how files are treated, but it's backward compatible. M log.c commit 1f7e29b99cf032c792d0d7ed49e74b1c14ddb5ea Author: Wayne Davison Date: Wed Mar 9 03:49:07 2005 +0000 Fixed the change-report output for a directory that has no write permissions. M generator.c commit c2f0e6e5e35c0862db62bb9499502643bfd5b3e1 Author: Wayne Davison Date: Wed Mar 9 02:25:34 2005 +0000 Backward compatibility fix in read_iflags() (for protocols < 29). M sender.c commit c2b11ba0179b792d7c6fab765713a010c77f4322 Author: Wayne Davison Date: Sun Mar 6 23:37:42 2005 +0000 Backed out the hack that reversed ITEM_REPORT_XATTRS with ITEM_TRANSFER. Yes, it allowed some kludge code that made backward compatibility seamless, but it made it impossible to remove the hack in the future. This way, the backward compatibility is just slightly inaccurate in the display of the first letter in the %i output, and the only hack can be safely removed without causing problems. M generator.c M rsync.h M sender.c commit f75a53e71b584bd1398271629bd021f107881082 Author: Wayne Davison Date: Sat Mar 5 18:58:42 2005 +0000 - When --max-delete is exceeded, we now count how many deletions would have happend, warn about the number skipped, and set io_error to IOERR_DEL_LIMIT. - When dry_run > 1 (which indicates that the destinationdir is missing), skip deletions in that dir. This fixes a bug in a copy that is creating the destination dir w/--delete enabled. M generator.c commit 054abde25f0dae4dcd74e63c9d2013a2c7f40534 Author: Wayne Davison Date: Sat Mar 5 18:58:38 2005 +0000 Handle new IOERR_DEL_LIMIT bit in io_error. M cleanup.c commit 24cecf1365b91c89370679e7b4cd472ff31dec6d Author: Wayne Davison Date: Sat Mar 5 18:58:35 2005 +0000 Define the message for RERR_DEL_LIMIT. M log.c commit 821ff7f49a64909a113231fa2bca91f29b7be7ee Author: Wayne Davison Date: Sat Mar 5 18:58:32 2005 +0000 Added RERR_DEL_LIMIT. M errcode.h commit ff3d3c32d5795ba9a65413465bfb46bb7ea7ace2 Author: Wayne Davison Date: Sat Mar 5 18:58:29 2005 +0000 Added IOERR_DEL_LIMIT. M rsync.h commit 3b2ef5b11cb90a2f646f770dfe9c1b2fdbbcf223 Author: Wayne Davison Date: Sat Mar 5 18:58:26 2005 +0000 Mention that --max-delete must be non-zero. M rsync.yo commit 0394e34a69e7051012125dc4e49d8d928ce15290 Author: Wayne Davison Date: Sat Mar 5 17:51:23 2005 +0000 Moved the end_progress() call from match.c to sender.c so that we report progress on 0-length files when pushing files (the receiver already called it, so we already produced progress on a 0-length file when pulling). M match.c M sender.c commit 56efa5647422b364aa644f557f9d9ebc2b198e97 Author: Wayne Davison Date: Sat Mar 5 17:49:46 2005 +0000 Fixed the elapsed time reported for 0-length files. M progress.c commit ed7e79553edc2e65348019854b0fe52b73427daa Author: Wayne Davison Date: Sat Mar 5 16:42:52 2005 +0000 Don't try to determine the phase we're in by looking at the value of csum_length -- it might have been computed to be SUM_LENGTH. Instead, look at the "phase" variable directly. M generator.c M receiver.c commit dec71e94f3527d50425a0f3665a557b6800094bc Author: Wayne Davison Date: Sat Mar 5 04:34:06 2005 +0000 Added a hack that uses the ITEM_REPORT_XATTRS bit (which is the old ITEM_UPDATING bit) to make us compatible when sending/receiving bits to/from an earlier pre-release. M sender.c commit ac4f91a5ee5accba626a8f7317ff7a10b543f95b Author: Wayne Davison Date: Sat Mar 5 04:34:04 2005 +0000 Added a hack that sets the ITEM_REPORT_XATTRS bit (which is the old ITEM_UPDATING bit) when ITEM_TRANSFER or ITEM_LOCAL_CHANGE is set. This lets us interact compatibly when sending itemized bits to an earlier pre-release. M generator.c commit e957626347a9184a1d4795a4b0a99e77089c9090 Author: Wayne Davison Date: Sat Mar 5 04:34:01 2005 +0000 Swapped the bit-values for ITEM_TRANSFER and ITEM_REPORT_XATTRS. This lets us be more compatible with the earlier pre-releases with a better heuristic for backward-compatible itemized bits. M rsync.h commit b4875de45c8ab0a4cacebca1b0b108d64dadef74 Author: Wayne Davison Date: Sat Mar 5 00:34:02 2005 +0000 Improved the description of when "h" is output by %i. M rsync.yo commit 2cfe44eee452a2007c17a1864d7d8f9e8257289e Author: Wayne Davison Date: Sat Mar 5 00:23:55 2005 +0000 Turned on -i for itemized output. M testsuite/hardlinks.test commit fad3dc421c7fa9fd62af1645c0338658dcfc9e24 Author: Wayne Davison Date: Sat Mar 5 00:21:59 2005 +0000 - Updated to handle the new ITEM_* flags. - Changed read_iflags() to read/write a suffixed hard-link name. M sender.c commit 22907b6bd9adeba63aacbf51e4c9364db3e6abd6 Author: Wayne Davison Date: Sat Mar 5 00:21:56 2005 +0000 - Updated to handle the new ITEM_* flags. - Send MSG_SUCCESS for hard-linked files when -H was specified. M receiver.c commit 3485ae8321e99ba4695f0d882968a72bea29799c Author: Wayne Davison Date: Sat Mar 5 00:21:54 2005 +0000 A few minor tweaks to improve two error messages and make better use of the "the_file_list" global. M main.c commit ca62acc3ca9e9982803aa80146e905f25a133c43 Author: Wayne Davison Date: Sat Mar 5 00:21:50 2005 +0000 - Make use of the new ITEM_* flags to mention when things were updated locally instead of being updated remotely. - Added support for outputting 'a' in the itemized log-output (for future use in extended-attribute handling). M log.c commit cdf236aaf5461d02ebd5c1a9f5d6d7ad970af3c8 Author: Wayne Davison Date: Sat Mar 5 00:21:48 2005 +0000 - Made the sock_{in,out} variables non-static. - Added hlink_list, a FIFO list of finished hard-link items. - Made get_redo_num() check for finished hard-link items and call the generator when they are found. This ensures that we finish all the hard-link items by the time the MSG_DONE is read and returned to the generator. - Added get_hlink_num() to read the new hlink_list. M io.c commit 9f2e3c3f528c564be9f9908614e9fcef7c80cd01 Author: Wayne Davison Date: Sat Mar 5 00:21:44 2005 +0000 - Changed hlink_list[] to store file-list indexes instead of pointers. - Made hard_link_one() non-static so that the generator can call it. Improved it to do itemized output. - Replaced do_hard_links() with hard_link_cluster(), which changes the hard-linking from a post-transfer loop into a per-cluster operation that occurs incrementally as the transfer updates (or finds unchanged) one item in the cluster. M hlink.c commit ee1d11c495d0083afdad1725860bec7011e8377d Author: Wayne Davison Date: Sat Mar 5 00:21:42 2005 +0000 - Updated itemize() to handle sending of hard-link-name info. Made it non-static so the hard-link code can now output itemized messages. - Made the locally-changed items (such as dirs and symlinks) itemize using a new ITEM_LOCAL_CHANGE flag instead of the (renamed) ITEM_TRANSFER flag (formerly ITEM_UPDATING). - Improved the hard-link support by having a cluster of hard-linked files get processed as soon as we notice that a single item is already up-to-date, or it succssfully finishes being updated. - The hard-linking that occurs when using --link-dest will now be mentioned at higher levels of verbosity IFF %i is in the log- format. M generator.c commit 669e76717c64bf40a8626da779839420cbf4a068 Author: Wayne Davison Date: Sat Mar 5 00:21:39 2005 +0000 - Changed ITEM_UPDATING to ITEM_TRANSFER. - Added defines ITEM_HARD_LINKED, ITEM_LOCAL_CHANGE, ITEM_REPORT_XATTRS, and SIGNIFICANT_ITEM_FLAGS. - Changed the "next" var in struct hlink into an int. M rsync.h commit 4e107712f31aec57c8954ea98a96ee61820cdc1d Author: Wayne Davison Date: Sat Mar 5 00:20:37 2005 +0000 Mention latest bug fixes. M NEWS commit 85aa57a7dde68e67d62d7c30c87d8363e1bd449e Author: Wayne Davison Date: Fri Mar 4 18:01:16 2005 +0000 In read_iflags(), we need to set buf to an empty string. M sender.c commit 58a14ed95075f6fd6fbbd53edbae64a52c7dc4b2 Author: Wayne Davison Date: Fri Mar 4 16:54:08 2005 +0000 Got rid of some code in the main recv_files() loop by calling the new functions read_iflags() and maybe_log_item(). M receiver.c commit 165e6d446c3e1ac1cbf67740c3f5c3b60e2e02a0 Author: Wayne Davison Date: Fri Mar 4 16:53:26 2005 +0000 Moved some code out of the main loop in send_files() into a new function called read_iflags() (which was made generic enough that the receiver could use it too). Also call the new maybe_log_item(). M sender.c commit 1c3e3679ef47ba10641d12212311663dd9b3097a Author: Wayne Davison Date: Fri Mar 4 16:52:00 2005 +0000 Added maybe_log_item() for use by the sender and receiver. M log.c commit 8a513e55b096afd3492dd9b9150b96e928c9135c Author: Wayne Davison Date: Fri Mar 4 16:11:09 2005 +0000 Document the new value of %L. M rsyncd.conf.yo commit a314f7c155436a431bbe95f8cf021ca64b7032e3 Author: Wayne Davison Date: Fri Mar 4 16:08:58 2005 +0000 Document latest format of %i. M rsync.yo commit 9497b0d4e9c25142568824e82400d012e35750bd Author: Wayne Davison Date: Fri Mar 4 16:08:16 2005 +0000 Call log_item() instead of log_recv(). M generator.c M receiver.c commit b694f8a245b19c0e2c80fbeac5b2c991cfb2ced9 Author: Wayne Davison Date: Fri Mar 4 16:08:02 2005 +0000 Call log_item() instead of log_send(). M sender.c commit afc65a5acffdf2a3e8c4b35b4d8ace3aa42773bc Author: Wayne Davison Date: Fri Mar 4 16:07:50 2005 +0000 - Replaced log_send() and log_recv() with log_item(). - Made log_formatted() and log_item() take an "hlink" arg that will be used to pass in a hard-link name for use in %L. M log.c commit 5f40615cd5a92fb4aa69a096dd035a45ae697083 Author: Wayne Davison Date: Fri Mar 4 15:57:14 2005 +0000 Use the new "the_file_list" global instead of our "the_flist" local. M sender.c commit c6816b9444da40d45b7c3060f4c23654201e29bc Author: Wayne Davison Date: Fri Mar 4 15:50:22 2005 +0000 Transformed the push/pop functions for the redo-list into more generic flist_num_{push,pop}() functions that can support other folks caching off file-list index numbers. M io.c commit 46e99b09b980f3d67dc3f92f07b27db754981662 Author: Wayne Davison Date: Fri Mar 4 15:38:58 2005 +0000 Added read_vstring() and write_vstring() to io.c instead of having this code in generator.c and receiver.c. M generator.c M io.c M receiver.c commit af436313a05bd40ccc08df05dbf22c46e51882bf Author: Wayne Davison Date: Fri Mar 4 08:58:27 2005 +0000 - Got rid of the checking of msg_fd_in in read_timeout() -- it was only needed back when the generator was reading a separate redo pipe from the message pipe. - Fixed a potential data corruption in the data that the generator is sending: if a message comes in from the receiver, we now make sure that we can't put the forwarding of this message to the sender into the middle of a multiplexed-write record that the generator is trying to flush. M io.c commit d64e6f42b41d5001544f2dae4049720b35c09b9c Author: Wayne Davison Date: Thu Mar 3 18:44:42 2005 +0000 Use the new "the_file_list" global. M flist.c commit a00628b335fcac249137a1b1bbf4ab1d112d209b Author: Wayne Davison Date: Thu Mar 3 18:44:06 2005 +0000 - Set the new global "the_file_list". - Got rid of test of read_batch in an am_sender section since there is never a sender process for --read-batch. M main.c commit 33ab4ad879e9355f57887324f06ec91b6a897ee4 Author: Wayne Davison Date: Thu Mar 3 02:58:48 2005 +0000 Simplified whole_file variable checking. M generator.c commit 99eb41b25f436740011c1e09b42f4404e2af21d5 Author: Wayne Davison Date: Thu Mar 3 02:23:12 2005 +0000 Improved some text in --compare-dest and --link-dest. M rsync.yo commit e86ae6bc1f3403259e3ca003767dcae2d114df6f Author: Wayne Davison Date: Thu Mar 3 01:50:43 2005 +0000 Don't kluge the value of statret for --whole-file. M generator.c commit c3cbcfb8ef1f8b6a6894593a7bcb5ce05e7c8edd Author: Wayne Davison Date: Thu Mar 3 01:33:51 2005 +0000 Moved the checks for --ignore-existing and --update higher in recv_generator() so that they don't trigger erroneously when --link-dest is specified. M generator.c commit a1d23b5314a34bb4685144c230df64b80e110f34 Author: Wayne Davison Date: Thu Mar 3 00:14:35 2005 +0000 - Got rid of the SID_* flags -- use the ITEM_* flags directly. - If --compare-dest find a file that is not the same in attributes, we need to copy the file. M generator.c commit d4d4890d4e09d41c883cef7245e68c5c9a62dbee Author: Wayne Davison Date: Thu Mar 3 00:14:32 2005 +0000 Added ITEM_NO_DEST_AND_NO_UPDATE for use by the generator's itemize() function. M rsync.h commit 30e66e53de71a64ca1a3900bda08a4129888fb44 Author: Wayne Davison Date: Wed Mar 2 18:01:23 2005 +0000 Fixed the --compare-dest docs. M rsync.yo commit e22433172909b9e155d79beaa70f8084f6d375f6 Author: Wayne Davison Date: Wed Mar 2 17:48:36 2005 +0000 When using multiple --compare-dest options, rsync should avoid copying a file that has an exact match in any of the dirs. M generator.c commit 70b54e4e4367aff38379f8dcb0f10755ef42f2ea Author: Wayne Davison Date: Wed Mar 2 17:27:19 2005 +0000 Fixed a bug in the --dry-run output when using --link-dest. M generator.c commit 9ba463435b73b741b3a028589daf6372985eb8e2 Author: Wayne Davison Date: Wed Mar 2 09:51:54 2005 +0000 If the multi-dest loop falls back to the best_match index, we need to re-stat() the file to restore "st". M generator.c commit 05ee48661c2179f8d7a4760c2978347752196e0c Author: Wayne Davison Date: Wed Mar 2 09:17:42 2005 +0000 Tweaked the description for --rsync-path. M options.c commit aef988258103ecded22b54d9a7132fd3d30ea565 Author: Wayne Davison Date: Wed Mar 2 09:09:15 2005 +0000 A little more tweaking to the multi-dest option loop. M generator.c commit 78bcddcc6acf13954edc689396274bace50a59e5 Author: Wayne Davison Date: Wed Mar 2 01:48:25 2005 +0000 Mention that specifying "/dir/**" is a safer way than "/dir/" alone to ensure that files inside a dir are fully protected. M rsyncd.conf.yo commit 68e169ab4de67fdaca1c45bce3c759dae6e73974 Author: Wayne Davison Date: Tue Mar 1 23:02:23 2005 +0000 Improved the description of --rsync-path. M rsync.yo commit f62eaa24f1e63a99b777281df768ae5142d6cfb4 Author: Wayne Davison Date: Tue Mar 1 19:42:31 2005 +0000 Made the multi-FOO-dest loop a little nicer. M generator.c commit d3e553b4bd763c2161ecb4d7c9f7d1c8f7dac045 Author: Wayne Davison Date: Tue Mar 1 19:17:27 2005 +0000 Explicitly mention that "del." does include the trailing period. M rsyncd.conf.yo commit 3753975f483adfaaf805527902ffa641c1100940 Author: Wayne Davison Date: Tue Mar 1 17:28:46 2005 +0000 Fixed two glitches Paul pointed out. M rsync.yo commit 2d81114b23021d1e51a8b5fc7c4871126680e13d Author: Wayne Davison Date: Tue Mar 1 06:22:19 2005 +0000 Preparing for release of 2.6.4pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 472135e0bc2ed335480550143a6ad3241b391ed1 Author: Wayne Davison Date: Tue Mar 1 06:05:23 2005 +0000 Mention the latest changes. M NEWS commit c60b7056b2750c6d8ff476d37cc2724b2bd15461 Author: Wayne Davison Date: Tue Mar 1 05:49:11 2005 +0000 A few improvements to the new check_for_hostspec() function. M options.c commit 42ccb4c091675ce46d0a50e75607015088659117 Author: Wayne Davison Date: Tue Mar 1 03:39:35 2005 +0000 Made the argv/argc parsing a little nicer. M main.c commit b31c92edcc11995daa5c90ec280010a1e2c5b64d Author: Wayne Davison Date: Tue Mar 1 03:39:32 2005 +0000 - Look for last '@' in a user@host spec. M clientserver.c M socket.c commit 08b018304fb35c1d06e33bd660b00aadcc4b2c78 Author: Wayne Davison Date: Tue Mar 1 03:11:28 2005 +0000 Removed section on parsing IPv6 literal addresses. M TODO commit d19320fdf6d143e2ccf512847932b12a0085440e Author: Wayne Davison Date: Tue Mar 1 03:10:59 2005 +0000 Changed remote_filesfrom_file to filesfrom_host. M io.c commit 860236bf90087c88e886b6a7bffb83d6df51c1cc Author: Wayne Davison Date: Tue Mar 1 01:16:03 2005 +0000 - Changes needed to handle new filesfrom_host variable. - Changes needed to use check_for_hostspec() in place of find_colon(). M main.c commit 4d3abf1360ab94493923f2066c4eda059be30528 Author: Wayne Davison Date: Tue Mar 1 01:15:59 2005 +0000 Changes needed to use check_for_hostspec() in place of find_colon(). M batch.c commit 305666bf59c50788fd31054e404d26df79ddf0c4 Author: Wayne Davison Date: Tue Mar 1 01:15:57 2005 +0000 - Changed find_colon() into check_for_hostspec(), extending it to understand the rsync:://HOST:PORT/PATH format, allowing all HOSTs to be IPv6 literal addresses enclosed in '[' and ']', and changing it to return the 3 parts of the spec separately (host, port, and path). - Relocated the code that handles the sanitation and validation of the files_from arg in order to make its placement a little more logical. - Replaced remote_filesfrom_file with filesfrom_host, which makes the value of the files_from variable more intuitive. M options.c commit b03c719f04ceddf003f7910ed2d4e70e7e9d56fa Author: Wayne Davison Date: Tue Mar 1 00:42:32 2005 +0000 Enhanced the option-parsing failure mode to handle the situation where the parser didn't get a chance to parse the --files-from option yet, but we still need to know it was there in order to get the error message back to the client. M clientserver.c commit 62f27e3c0234bf39c25da8e6d55f6dee57feb362 Author: Wayne Davison Date: Mon Feb 28 22:04:16 2005 +0000 Made a couple sentences about rsync:// syntax clearer. M rsync.yo commit 4dc67d5e3090ebdd7e2987425fef0f0f15326118 Author: Wayne Davison Date: Mon Feb 28 02:16:49 2005 +0000 Improved a couple sentences. M rsync.yo commit 8ebdc9724efd6a4f3aeaf6287f5dc7c4762969b8 Author: Wayne Davison Date: Mon Feb 28 02:16:23 2005 +0000 Say "rsync 2.6.4" instead of "protocol 29". M rsyncd.conf.yo commit 9e0582f9bf2e63b60d96bca31dc0250672ea2c75 Author: Wayne Davison Date: Mon Feb 28 02:04:42 2005 +0000 Tweaked a comment. M main.c commit 705de51a7303e0ee4444579b3d382bbed97ddcd5 Author: Wayne Davison Date: Sun Feb 27 21:12:13 2005 +0000 Improved do_lseek()'s failure message. M fileio.c commit 1a8e5c97eb05be1cc86f332bf307ccbc1b264ab4 Author: Wayne Davison Date: Sun Feb 27 20:50:07 2005 +0000 Complain if the run-terminating keep-alive packets aren't what we expected. M main.c commit 55bb7fff14fca1a5e0c27a781ea8d6e94e091ed8 Author: Wayne Davison Date: Sun Feb 27 18:24:34 2005 +0000 Don't loop forever when the receiver is waiting around to be killed at EOF -- it should be a rapidly arriving event, so only hang around for 10 seconds, max., and then go ahead and report the "unexpectedly closed" error. M io.c commit 662bdcd4ac65f2e6220615f7fd10e90d248e0596 Author: Wayne Davison Date: Sun Feb 27 18:09:17 2005 +0000 Make sure that allowed_lull will not be computed as 0 if io_timeout is 1. M generator.c commit fef101a54866e484c9cf9f1634f9d520a3fd4ecf Author: Wayne Davison Date: Sun Feb 27 18:01:32 2005 +0000 Improved a couple sentences. M NEWS commit 18a11cfd48482c3a65f310c7dabca2bb8615b835 Author: Wayne Davison Date: Sun Feb 27 09:02:32 2005 +0000 - Made the calls to maybe_send_keepalive() happen at better intervals. - Call do_hard_links() with its new args. M generator.c commit 0f80c3e886c50ccd671430d86580ec3bdc1c0b13 Author: Wayne Davison Date: Sun Feb 27 09:02:29 2005 +0000 Added 2 args to do_hard_links() so that it can call maybe_send_keepalive(). M hlink.c commit f122383179733ac1ccda57cd1e72b823d4cb233c Author: Wayne Davison Date: Sun Feb 27 08:02:06 2005 +0000 Mention the backup fix for redone files with --inplace. M NEWS commit e6bc6f42325e2127c7289cb28833e091c783d8ca Author: Wayne Davison Date: Sun Feb 27 07:50:43 2005 +0000 We need to turn off make_backups for the redo phase so that the inplace processing doesn't make a second backup. M generator.c commit ac1cb9380d274602d8f7aae476d8ddd05e32d630 Author: Wayne Davison Date: Sun Feb 27 07:34:27 2005 +0000 Tweaked an error message. M exclude.c commit 40df65fdb47e025392e2cf5cc3059d627b61ccac Author: Wayne Davison Date: Sun Feb 27 07:33:01 2005 +0000 - Seems to me that sigusr2_handler() should call close_all() for the sake of MS Windows. - Improved some comments. M main.c commit cb2e1f18c21bfe197e5f08e1553057ea440d320c Author: Wayne Davison Date: Sat Feb 26 22:14:40 2005 +0000 One more comment fix. M io.c commit 0ecd03e3965b06c0cfb353032b9081c82696ad0f Author: Wayne Davison Date: Sat Feb 26 22:02:38 2005 +0000 Fixed comment. M io.c commit e6f5ac116b5ce4df97508b7bb042739007b77082 Author: Wayne Davison Date: Sat Feb 26 21:48:12 2005 +0000 Improved a couple sentences. M NEWS commit 051182cb7567819132668249a6e1a95d667f9ed8 Author: Wayne Davison Date: Sat Feb 26 20:58:08 2005 +0000 Set kluge_around_eof to a -1 for the receiver's needs. M main.c commit 574c250093f19e1876c4af0de704ac219783b805 Author: Wayne Davison Date: Sat Feb 26 20:58:05 2005 +0000 If kluge_around_eof is < 0, we go into an msleep() loop instead of exiting. M io.c commit 8dad7fc6eace2c406c279ce98a00653085c700ca Author: Wayne Davison Date: Sat Feb 26 20:58:01 2005 +0000 Explicitly set kluge_around_eof to a 1 when it is needed. M clientserver.c commit b5587288756e2e1638ae97c88937505a5edee709 Author: Wayne Davison Date: Sat Feb 26 20:43:14 2005 +0000 Added keep-alive checking during the directory-touching loop at the end of the processing. M generator.c commit e777afad6fc15021692b4a8fa8f527d77400de7e Author: Wayne Davison Date: Sat Feb 26 20:21:12 2005 +0000 Set kludge_around_eof when the receiver is trying to read a potential keep-alive message that may never come. M main.c commit 87703a1b1f5082f54f8047cef8f744442f70ba15 Author: Wayne Davison Date: Sat Feb 26 20:21:08 2005 +0000 Improved the comment for kludge_around_eof. M io.c commit 981b202661f03cf51c79a3369344f95dc0fc35c3 Author: Wayne Davison Date: Sat Feb 26 19:49:59 2005 +0000 Added "set -x". M testsuite/compare-dest.test commit 13725744fde97fd9e511adb118ee2c9389116243 Author: Wayne Davison Date: Sat Feb 26 19:47:43 2005 +0000 Decided I like "set -x" after all. M testsuite/batch-mode.test M testsuite/chgrp.test M testsuite/chmod-temp-dir.test M testsuite/chmod.test M testsuite/chown.test M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test M testsuite/delete.test M testsuite/duplicates.test M testsuite/exclude.test M testsuite/hardlinks.test M testsuite/longdir.test M testsuite/merge.test M testsuite/symlink-ignore.test M testsuite/trimslash.test M testsuite/unsafe-links.test M testsuite/wildmatch.test commit 363c3ece3ac7a8980d00e82c565be8e61c9250b7 Author: Wayne Davison Date: Sat Feb 26 19:37:49 2005 +0000 Don't allow keep-alive sending if --read-batch is enabled. M generator.c commit 47780ddfef326269a8aef5637bf321fd84ebd7a0 Author: Wayne Davison Date: Sat Feb 26 19:17:06 2005 +0000 Mention the new keep-alive handling and the devices-size fix. M NEWS commit 251f22b5d7726f60e884d92d5e1418345075dda8 Author: Wayne Davison Date: Sat Feb 26 19:11:57 2005 +0000 Fixed a line-ordering problem. M generator.c commit 4e0fcd85aecc3f93aa4abb3ae01e7b1ea1ea4d12 Author: Wayne Davison Date: Sat Feb 26 18:57:57 2005 +0000 Handle keep-alive messages at the end of the transfer when --delete-after is happening. M main.c commit 59faec8b8b51780b6e13d02647113d62370c8add Author: Wayne Davison Date: Sat Feb 26 18:03:49 2005 +0000 - Moved all the file-deletion code here from flist.c and receiver.c. - Call maybe_send_keepalive() from delete_in_dir() so that a really long delete-pass won't timeout. - Renamed delete_files() -> do_delete_pass(). - Renamed delete_file() -> delete_item(). - Call get_dirlist() with its new arg. M generator.c commit 32cbfe7b17ba8ec661fc27fd773909709d100e8a Author: Wayne Davison Date: Sat Feb 26 18:03:46 2005 +0000 - Moved file-deletion code into generator.c. - Made filesystem_dev a global that the generator can set during its delete pass. - Fixed an off-by-one boundary check in send_directory(). - Added an arg to get_dirlist() so that delete_in_dir() can call it efficiently. M flist.c commit f08ca43472b518b93230acd853532d79b7e8a3a5 Author: Wayne Davison Date: Sat Feb 26 18:03:42 2005 +0000 Moved the delete-after support into generator.c. M receiver.c commit 8eb6cf784bcec383e1f9cf9c1fee33f7ccfc8927 Author: Wayne Davison Date: Sat Feb 26 18:03:40 2005 +0000 Moved the delete-before support into generator.c. M main.c commit 7433d73adc1735b5b82c50bda6a4fb60f4f01249 Author: Wayne Davison Date: Sat Feb 26 06:52:55 2005 +0000 - Moved the initialization of "itemizing", "maybe_PERMS_REPORT", and "code" from recv_generator() to generate_files() so that they don't get recomputed for every file (we pass them as args now). - Allow protocols < 29 to call maybe_send_keepalive() so that we can try to flush the output buffer if things are slow (though we can't send a keep-alive packet without protocol_version >= 29). M generator.c commit 3221f451a0d8deffcfe677a9d39ca2f6d7b43cc2 Author: Wayne Davison Date: Sat Feb 26 06:43:15 2005 +0000 Calling maybe_send_keepalive() for protocol_version < 29 is now supported, though we can only try to flush the output buffer if we're in a lull. M io.c commit 9e4536748d3d661baed082031192571a00807094 Author: Wayne Davison Date: Sat Feb 26 05:18:03 2005 +0000 - Moved the description of '%i's output into the rsync manpage. - A few minor tweaks to the "log format" setting. M rsyncd.conf.yo commit ea67c71505b8a08d60705fcd909b15813f828d67 Author: Wayne Davison Date: Sat Feb 26 05:16:26 2005 +0000 - We now mention what "%i" outputs under --itemize-changes. - Improved the description of --log-format. M rsync.yo commit ea38b5af722f8c343871c197c5f09cbca77e2384 Author: Wayne Davison Date: Sat Feb 26 05:11:46 2005 +0000 Mention the change in when --log-format outputs and how it interacts with --verbose. M NEWS commit 89d19eedef185508b80b3d94e3ad848b468f8d3c Author: Wayne Davison Date: Sat Feb 26 04:50:55 2005 +0000 Call log_delete() from delete_file() anytime that DEL_TERSE is not set (we used to only call if verbose or log_format were also set). M flist.c commit 41b5b5e75633df788cb77a490fac03c0897fe3d5 Author: Wayne Davison Date: Sat Feb 26 04:49:30 2005 +0000 The log_delete() function may now be called even when the client is not getting delete messages, which ensures that the daemon's log- file output includes all deletions when per-file logging is enabled. M log.c commit a3e1363aaa4ace8a61b39240642c31c9858c2384 Author: Wayne Davison Date: Sat Feb 26 03:22:05 2005 +0000 Make sure that our protocol-28 compatibility is OK. M testsuite/exclude.test commit 2217b30adfaff4e8579177bc5f8c0de268d3bf57 Author: Wayne Davison Date: Sat Feb 26 02:56:30 2005 +0000 Fixed a problem sending include rules to an older rsync. M exclude.c commit 9ac2395bf074c0347db02bcce72e901da5eb689b Author: Wayne Davison Date: Fri Feb 25 22:01:36 2005 +0000 - Call maybe_send_keepalive() if timeouts are enabled. - Use the new ignore_timeout variable. M generator.c commit 9e2409ab2213cf560264dcd34d8537b6a7be4e89 Author: Wayne Davison Date: Fri Feb 25 21:58:13 2005 +0000 - Added variable "ignore_timeout" that lets the generator tell us to ignore a timeout without turning off the timeout-related time-keeping that the keep-alive processing needs. - Added a new function: maybe_send_keepalive(). M io.c commit 8e6cf5d1891caeed1b1e6c446b8723cd33969b06 Author: Wayne Davison Date: Fri Feb 25 21:56:00 2005 +0000 Accept the new keep-alive (no-op) packet. M receiver.c M sender.c commit d17190df448e81e5192b6804f3c37bff75df82f7 Author: Wayne Davison Date: Fri Feb 25 20:28:27 2005 +0000 Don't add st_size from a device to stats.total_size. M flist.c commit fbe5eeb831ea4842fc2bb3bfffc9a5689b74080f Author: Wayne Davison Date: Fri Feb 25 17:10:48 2005 +0000 Mention how --backup sometimes implies --omit-dir-times. M rsync.yo commit ed9d969c4cb862ee4895244d597125dae9089f28 Author: Wayne Davison Date: Fri Feb 25 17:08:57 2005 +0000 Use the new am_starting_up value in who_am_i(). M rsync.c commit 7f2a1f651e6db7483bcb3d2678dcb60cc4e54582 Author: Wayne Davison Date: Fri Feb 25 17:08:31 2005 +0000 Got rid of kluged value for am_sender, and instead added a new variable named am_starting_up that is non-zero during the option parsing. This lets the who_am_i() routine output a better value for debugging info that is output during the option parsing. M options.c commit bbbb44ee0f9cb07beaeaea4b9467d50b90cbf5cc Author: Wayne Davison Date: Fri Feb 25 02:30:38 2005 +0000 Fixed some typos. M NEWS commit 29fbd1eea66e93fd53e5aba31fafe2c2a8a504a8 Author: Wayne Davison Date: Wed Feb 23 03:22:53 2005 +0000 Preparing for release of 2.6.4pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 33f839b319531c4408c10ff22d494ada73277950 Author: Wayne Davison Date: Wed Feb 23 03:17:11 2005 +0000 Tweaked an entry. M NEWS commit bc83274ad67fe65b3bd42691e46111bf2b5a41dd Author: Wayne Davison Date: Wed Feb 23 02:56:42 2005 +0000 - Fixed a problem with full_fname() when curr_dir was "/". - Made full_fname() consistently output a leading "/" for module paths no matter if chroot is in use or not. M util.c commit 38e3910b6f37eab2156496d1c4837c306235e9c7 Author: Wayne Davison Date: Wed Feb 23 02:14:00 2005 +0000 One more tweak to the need_name_pipe logic. M main.c commit c26c51a7ee66c0a5d4bb25670b8ef31487421e66 Author: Wayne Davison Date: Wed Feb 23 02:13:33 2005 +0000 Commenting out link-dest test for now. M testsuite/compare-dest.test commit e9973668a46575fa9e47383905dd2979ae83d446 Author: Wayne Davison Date: Wed Feb 23 02:07:09 2005 +0000 Got rid of --copy-dest references. M NEWS commit 4104c3bf52231d2cb1f4c55b8e733d0b304f70ec Author: Wayne Davison Date: Wed Feb 23 02:06:33 2005 +0000 Changed --copy-dest to --link-dest. M testsuite/compare-dest.test commit b7c248193394b82d06fd182b0053616be89bd247 Author: Wayne Davison Date: Wed Feb 23 02:05:34 2005 +0000 Got rid of --copy-dest for now -- I think it should be made to do the copying of unchanged files locally (like --link-dest does using a hard link). M options.c M rsync.yo commit cfb691ac9aaa57b793cf534383b78c068a6c410d Author: Wayne Davison Date: Tue Feb 22 22:13:04 2005 +0000 Fixed a problem with the last change. M sender.c commit cb8240a29171f3ef4e77e7d4809a446b3c3408e4 Author: Wayne Davison Date: Tue Feb 22 22:13:02 2005 +0000 We need the name-pipe for --inplace these days. M main.c commit 352963ddc33a0a56f604395b65222191a38c5c8e Author: Wayne Davison Date: Tue Feb 22 22:12:59 2005 +0000 Always set the SID_USING_ALT_BASIS appropriately for the transfer, even if --inplace wasn't specified. M generator.c commit 8c57732324fb211bc6c3cb0cb5ea2ecb247c8ff2 Author: Wayne Davison Date: Tue Feb 22 21:56:32 2005 +0000 More cleanups. M NEWS commit 8a33c406b34e7e8fce6e18834e620cdf833f4d96 Author: Wayne Davison Date: Tue Feb 22 21:48:10 2005 +0000 Trying to fix bug #2357. M rsync.h commit 340bd68f5932ef6087a5eaf099dd5db0e90ef646 Author: Wayne Davison Date: Tue Feb 22 21:43:59 2005 +0000 We now look for the ITEM_USING_ALT_BASIS flag for an --inplace transer that is using an alternate basis file (instead of reading an extra byte after the flag word). M sender.c commit 8237f9305b6065488d68e0023c69dc506f699331 Author: Wayne Davison Date: Tue Feb 22 21:43:57 2005 +0000 We now set the ITEM_USING_ALT_BASIS flag for an --inplace transfer that is using an alternate basis file (instead of sending an extra byte after the flag word). M generator.c commit 5b1c1eefda8d7c0d13ddba5bfcbd9201a9946ee3 Author: Wayne Davison Date: Tue Feb 22 21:43:54 2005 +0000 Added ITEM_USING_ALT_BASIS. M rsync.h commit 6258626751eae37f2f6b469e3549f0744e1d3239 Author: Wayne Davison Date: Tue Feb 22 21:24:24 2005 +0000 Document an alternate way to achieve the effect of this script through the use of awk and the more powerful --filter option. M support/mnt-excl commit 87fd439059f5210483e20aa0f2da2ccf106b70e7 Author: Wayne Davison Date: Tue Feb 22 20:42:55 2005 +0000 When preforming a recursive delete, push/pop the per-dir merge rules. M flist.c commit 564ef546a92a7588dcd0399c29dfb3914d36435d Author: Wayne Davison Date: Tue Feb 22 03:37:18 2005 +0000 Sort the dir-list returned by get_dirlist() and the dir-list that delete_in_dir() generates. M flist.c commit 94dcbf8367e98354b51435c8223dbf9ef170ec99 Author: Wayne Davison Date: Tue Feb 22 03:16:41 2005 +0000 - Iterate through the deletion list in reverse order so that we can't delete a backup file that we just created. - The rename-directory-for-backup heuristic now checks the DEL_FORCE_RECURSE flag, not the zap_dir variable. We also set the flag when we recurse so that only the root dir of a deleted hierarchy can be missing the flag (and thus be a call from the generator). M flist.c commit 1bad11c759e6bac2ca7339f44fc1008daa869317 Author: Wayne Davison Date: Tue Feb 22 01:59:15 2005 +0000 Only rename a directory with the backup suffix if we're removing it to replace it with a file of the same name. M flist.c commit ba679d5194af77accc0793ccb0425a5839f628c9 Author: Wayne Davison Date: Tue Feb 22 01:57:58 2005 +0000 In make_simple_backup(), if the rename() failed because we tried to rename a directory over a file or visa versa, try to handle it. M backup.c commit e1ad7fe63d98b4aace63a0f1ab502db8e88063f6 Author: Wayne Davison Date: Tue Feb 22 00:42:12 2005 +0000 A couple changes in delete_file() make us more compatible with older versions: (1) we no longer complain if excluded files sticking around cause us to not be able to remove a subdir, and (2) we output the name of the removed subdir after it has been successfully removed. M flist.c commit f18d87b6eded14f201f3b9ede4993cb96f922a09 Author: Wayne Davison Date: Mon Feb 21 18:58:09 2005 +0000 Added function check for vasprintf. M configure.in commit a6c15e9a386249ad560f8f5ad1d280c79010ebea Author: Wayne Davison Date: Mon Feb 21 17:08:09 2005 +0000 - Added function tests for va_copy and __va_copy for snprintf.c code. - Added AC_C_LONG_DOUBLE for snprintf.c code. - Got rid of unneeded ino_t check. M configure.in commit 64bba1465b8b8ac17b18317b1ac0dc34c40b1928 Author: Wayne Davison Date: Mon Feb 21 17:02:53 2005 +0000 Check SIZEOF_LONG_LONG instead of HAVE_LONG_LONG. M lib/snprintf.c commit 638e106568145775e4be75aaf9a575da48eb7aaf Author: Wayne Davison Date: Mon Feb 21 10:50:32 2005 +0000 - Moved delete_file() into flist.c. - No need to separately test for (make_backups && !backup_dir) because omit_dir_times is now set under those circumstances. M rsync.c commit 34e18ecd6158165b9fc706f281c25bc607c3c72e Author: Wayne Davison Date: Mon Feb 21 10:50:30 2005 +0000 - Moved delete_file() here from rsync.c and improved it to avoid removing files we just backed up to the current directory and to rename a non-empty dir to dir~ (when no backup-dir is specified). - Made delete_missing() static. M flist.c commit d4021b6d9b9a644a539746c98fe24f61d95e8ea5 Author: Wayne Davison Date: Mon Feb 21 10:03:23 2005 +0000 - Set omit_dir_times if backing up files w/o a backup dir. - Only send an explicitly specified -O (--omit-dir-times) if it won't be inferred by the receiver. M options.c commit 40b139388033aefd5397ba540ae8722acd1cd2cc Author: Wayne Davison Date: Mon Feb 21 07:27:28 2005 +0000 Pass the file-diffing flag as an arg to checkit. M testsuite/devices.test commit 30688bf11b7577ca109b5afb5fcd2cdee018ea2a Author: Wayne Davison Date: Mon Feb 21 07:26:59 2005 +0000 If checkit is passed a 4th arg, skip the file-diffing step. This is used by the devices.test script. M testsuite/rsync.fns commit a7d7a805dcda5d674c87502896600bf67489ae63 Author: Wayne Davison Date: Mon Feb 21 07:19:11 2005 +0000 Touch $tmpdir/do_not_diff_the_files so that checkit does not try to diff the devices against each other. M testsuite/devices.test commit 4a239e98f621bc180b6dbd919453296c7d1940f3 Author: Wayne Davison Date: Mon Feb 21 00:38:15 2005 +0000 Reposition log_open() and log_close(). M log.c commit 7b97c388982665f88d059c8473ae57691d1f61ef Author: Wayne Davison Date: Mon Feb 21 00:32:04 2005 +0000 Mention two more things. M NEWS commit 1f35babc6b2d3433d8855fc65c488a3436254e9d Author: Wayne Davison Date: Mon Feb 21 00:31:31 2005 +0000 - For win32: made --no-detach the default for daemon mode. - Added --detach (a --daemon option). M options.c commit 80ffc3de12d504868d44f83ff626e34183789309 Author: Wayne Davison Date: Mon Feb 21 00:17:10 2005 +0000 Updated to remove completed items and add a little more info for other items. M TODO commit 507b61d5a672c8b6abd60da9d1fc3d9b84dcea34 Author: Wayne Davison Date: Mon Feb 21 00:16:36 2005 +0000 Some minor tweaks. M README commit 8db3106e0b1e2a25df3fde1e29990f08a6828ceb Author: Wayne Davison Date: Sun Feb 20 23:08:56 2005 +0000 Mention the compression-mode fix for large block sizes. M NEWS commit 1b1fef20b3c200069314aaa40d61b6a819b93c31 Author: Wayne Davison Date: Sun Feb 20 22:11:43 2005 +0000 Tweaked the rprintf() that outputs about the delta-transmission enablement. M generator.c commit 22c7c5fb0b2748d1ca9be218279eefa324b0e3d4 Author: Wayne Davison Date: Sun Feb 20 22:10:33 2005 +0000 - Integrated the latest version from samba. - Tweaked the order of the code in my_modf() to avoid a compiler warning. M lib/snprintf.c commit 13d00101e808ebfc327f8c5e830b96303facf31f Author: Wayne Davison Date: Sun Feb 20 21:04:03 2005 +0000 One more tweak to the "whoami" code. M runtests.sh commit 3e7934a5fb06dac717722c4d680d0c063dbf8d5f Author: Wayne Davison Date: Sun Feb 20 20:55:24 2005 +0000 Changed the memory implementation of --delay-updates so that it only allocates memory to store needed bits, it sparsely allocates the bits in 16KB chunks, and the bit-finding loop works in a more efficient manner. M receiver.c commit 815193e89ec0b5466fb7c13cefb6ccbc72088c1d Author: Wayne Davison Date: Sun Feb 20 17:24:15 2005 +0000 Got rid of "set -x" (runtests.sh has a way to set this, if desired). M testsuite/batch-mode.test M testsuite/chgrp.test M testsuite/chmod-temp-dir.test M testsuite/chmod.test M testsuite/chown.test M testsuite/compare-dest.test M testsuite/devices.test M testsuite/duplicates.test M testsuite/hardlinks.test M testsuite/longdir.test M testsuite/merge.test M testsuite/symlink-ignore.test M testsuite/trimslash.test M testsuite/unsafe-links.test M testsuite/wildmatch.test commit 4fd4b3d667c47599e187ee9b6d452392d4cc1ac4 Author: Wayne Davison Date: Sun Feb 20 17:21:13 2005 +0000 Dropped a useless "const" from the definition of poptStrerror. M popt/popt.c M popt/popt.h commit 1526b8b17d70a0dff1acef00997b37ca1135abff Author: Wayne Davison Date: Sun Feb 20 17:20:14 2005 +0000 Mark a couple unused variables. M popt/popthelp.c commit 732537212b24a7567e510ac58092a25e5329f457 Author: Wayne Davison Date: Sun Feb 20 17:07:31 2005 +0000 Cast char* to uchar* when dereferencing characters for isdigit() and isprint(). M util.c commit 4adbb5f24683417a90a1cc00be54e58d2f7a901a Author: Wayne Davison Date: Sun Feb 20 17:04:53 2005 +0000 Have rule_strcmp() accept and return a uchar*. M exclude.c commit 30fa7724572ae8a5ecbbf22012fa6fe1aea288b4 Author: Wayne Davison Date: Sun Feb 20 17:01:32 2005 +0000 A few improvements to the "test" commands to neaten them up and to try to fix another problem under solaris. M runtests.sh commit ee03617b3de2ae6488d957b87b87cbe55e205f7c Author: Wayne Davison Date: Sun Feb 20 16:56:30 2005 +0000 Cast a uchar* arg to char* for write_buf(). M generator.c commit 19cb6106d25ea13cc394637206147c8fb51ffdff Author: Wayne Davison Date: Sun Feb 20 16:27:10 2005 +0000 Improved the testuser-setting code to try to get it to work under solaris. M runtests.sh commit cd6bececc1576edf3d463d8ed30a8e867ca7f43b Author: Wayne Davison Date: Sun Feb 20 02:54:30 2005 +0000 If --delay-updates is specified with --remove-sent-files, delay the MSG_SUCCESS messages until we actually move the files into place at the end. M receiver.c commit 88b93c61593525d41dec77a00da51814fa3a94c1 Author: Wayne Davison Date: Sun Feb 20 02:45:10 2005 +0000 Corrected "log format" info and added info on --remove-sent-files. M NEWS commit b62fd393922308956040327ddeefc8fa7b17bfff Author: Wayne Davison Date: Sun Feb 20 01:14:27 2005 +0000 A small twiddle. M testsuite/exclude.test commit 95306d9d5087b263eb4e6131193488560e839a8c Author: Wayne Davison Date: Sun Feb 20 01:04:54 2005 +0000 - For every file that we send off to the receiver, mark it with FLAG_SENT. - Added successful_send(), which is called when MSG_SUCCESS was received from the receiver/generator side. This function validates the message, and removes the indicated file/symlink (assuming that remove_sent_files was actually set). M sender.c commit 3e870a64440a8244fb60fe69b2401d2dec90ce08 Author: Wayne Davison Date: Sun Feb 20 01:04:51 2005 +0000 If --remove-sent-files was specified and we successfully updated a file, send MSG_SUCCESS to the sender (through the generator). M receiver.c commit bf26aa22195b671e859d2c9147ffdda0a89efb98 Author: Wayne Davison Date: Sun Feb 20 01:04:49 2005 +0000 - If --remove-sent-files was specified, abort if we're pulling from a read-only module. - If need_messages_from_generator is set, make sure that the connection between the generator to the sender has multiplexed I/O enabled. M main.c commit 9981c27ef1ebc3844a646392fc1c52416af699ca Author: Wayne Davison Date: Sun Feb 20 01:04:46 2005 +0000 Handle the new MSG_SUCCESS message for both the generator and the sender. M io.c commit fe96018750bb6bbb16a0001a1056b2557be30f58 Author: Wayne Davison Date: Sun Feb 20 01:04:43 2005 +0000 If we update the contents of a symlink and --remove-sent-files is enabled, tell the sender about it via MSG_SUCCESS. M generator.c commit 07c6ae7de88a2475c94bc1d43ef5c4ea52699dbe Author: Wayne Davison Date: Sun Feb 20 01:04:40 2005 +0000 - Added --remove-sent-files option. - If a server is refusing "delete" and we're the sender, also refuse the --remove-sent-files option. M options.c commit e16368302083ea9270259c3051170e521c4f0957 Author: Wayne Davison Date: Sun Feb 20 01:04:37 2005 +0000 Document how refusing "delete" affects --remove-sent-files. M rsyncd.conf.yo commit 961103049bb76ff2925d3f84147e8a7eaf1b610e Author: Wayne Davison Date: Sun Feb 20 01:04:34 2005 +0000 Document --remove-sent-files. M rsync.yo commit 0254bd46ec48e420b7d0a4a330edc2683fd8c2cb Author: Wayne Davison Date: Sun Feb 20 01:04:27 2005 +0000 Test --remove-sent-files. A testsuite/delete.test commit 8b806ed3477007bf6ee96628abe2b28d1b2cda29 Author: Wayne Davison Date: Sun Feb 20 01:04:12 2005 +0000 Disallow --remove-sent-files with a read-only server. M support/rrsync commit 8e3ead09a3768d1b38f65c8e296903af5fbbbc42 Author: Wayne Davison Date: Sun Feb 20 00:47:15 2005 +0000 Got rid of maybe_DEL_TERSE. M generator.c commit 8715db2cab9feaae2db887be038b4a1ab6ec324d Author: Wayne Davison Date: Sun Feb 20 00:16:23 2005 +0000 Tweaked some externs. M flist.c M receiver.c M sender.c commit 50839b4bb0eca65529b0add3149c2e3f3ea7128d Author: Wayne Davison Date: Sat Feb 19 23:42:09 2005 +0000 Tweaked some externs. M main.c commit e1f40891c725ca197c90548949dd65f5f9b7a3bd Author: Wayne Davison Date: Sat Feb 19 23:41:52 2005 +0000 - Needed to use a name buffer in delete_missing() to avoid having a recursive delete reuse our buffer from f_name(). - Moved the backup-handling into delete_file() in rsync.c. - Moved the --max-delete counting into delete_file() in rsync.c. M flist.c commit 042f470ef9bd960986962b5b60dd54817dc5ae03 Author: Wayne Davison Date: Sat Feb 19 23:39:47 2005 +0000 Made delete_file() backup files it is removing if --backup was specified. M rsync.c commit 40cc28516dfd0063733c03cfb02f12b1a1e5a93d Author: Wayne Davison Date: Sat Feb 19 23:24:41 2005 +0000 Moved deletion_count here so that we honor --max-delete in delete_file(). M rsync.c commit 8174bc35061b3661e48052dd45bc509bb47d95bc Author: Wayne Davison Date: Sat Feb 19 23:01:52 2005 +0000 If the server refuses a directory, don't allow any files to be sent to the server inside that directory. M generator.c commit 9118a09c770b6ae6f136395c087e76e3768167a8 Author: Wayne Davison Date: Sat Feb 19 22:57:08 2005 +0000 Changed a couple log_recv() calls back to log_send(). M sender.c commit 8324bd5c21e422c82488903ebded6198ca90782d Author: Wayne Davison Date: Sat Feb 19 22:16:53 2005 +0000 When logging PERMS_REPORT messages, send them with the FCLIENT code if the daemon has "%i" in its log message (because it already got a detailed log message from the generator). M rsync.c commit 7f37167da56a6e1f7e7d3506835296038496cfcb Author: Wayne Davison Date: Sat Feb 19 22:16:50 2005 +0000 - Always send the itemized-info bytes on to the receiver. This not only ensures that batch files are created consistently for push and pull, but allows a daemon to log itemized changes. - Improved the logging of itemized changes for the daemon. - Make sure we debug-log our presence in send_files(). M sender.c commit 227a9c41c10faf0d5e3502c5c74536c285102f24 Author: Wayne Davison Date: Sat Feb 19 22:16:47 2005 +0000 - Improved the logging of itemized changes for the daemon. - Make sure we debug-log our presence in recv_files(). M receiver.c commit 6c3862fae3b6003e0a124c51d84ddb3dff663fc6 Author: Wayne Davison Date: Sat Feb 19 22:16:45 2005 +0000 Make use of new variables (log_format_has_i, log_format_has_o_or_i, and daemon_log_format_has_i) and the new FCLIENT logging code to output stats in the best way possible for both the client and the daemon. M generator.c commit 1eec003a80ac4eb9f20408966910825ec6c8ed60 Author: Wayne Davison Date: Sat Feb 19 22:16:41 2005 +0000 The FCLIENT log code aviods putting the message into the daemon's log file and instead sends a FINFO message to the client. This is used when the daemon wants to log a better message locally than it is sending to the client. Improved log_delete() to make use of this idiom if it needs to log a separate delete message for the daemon and the client. M log.c commit 684d7582b6a58e30b2fddf45989d1d27cbdcd10d Author: Wayne Davison Date: Sat Feb 19 22:16:39 2005 +0000 - Added log_format_has_i. - Fixed a problem withe option-refusing code when it refuses the daemon options. - Don't sent --itemize-changes (-i) to the server -- send an improved --log-format value instead. M options.c commit f39b2060fe9ca6f1a9d271ed757669a8fde58e6c Author: Wayne Davison Date: Sat Feb 19 22:16:35 2005 +0000 We now set daemon_log_format_has_i and daemon_log_format_has_o_or_i instead of itemize_daemon_changes. M clientserver.c commit 4f2ba7e0569b1d13177e51982253346dc46aad7b Author: Wayne Davison Date: Sat Feb 19 22:16:33 2005 +0000 No more need to clear itemize_changes based on protocol_version. M compat.c commit 1dcf3b4345046c955c45b10192242547ffd38ef4 Author: Wayne Davison Date: Sat Feb 19 22:16:31 2005 +0000 Changed some of the values of the MSG_* defines. M rsync.h commit aa57d14ae7d7439245c5f8b28bd9fd01889a8eeb Author: Wayne Davison Date: Sat Feb 19 19:36:54 2005 +0000 We now use a regular expression to parse the (restored to its previous version) default logfile format. Added parsing for a version of the default logfile format where %o has been replaced with %i. M support/rsyncstats commit 3c54d8a3ad9101fdbde95b7c44e78d4bc6afbbbb Author: Wayne Davison Date: Sat Feb 19 17:38:51 2005 +0000 Decided to leave the "log format" default the same as in earlier versions. M loadparm.c M rsyncd.conf.yo commit c0814b813ff020d4a65b29696f240c9330bbde9d Author: Wayne Davison Date: Sat Feb 19 17:37:40 2005 +0000 If the "log format" has a %i in it, set itemize_daemon_changes. M clientserver.c commit 088aff1a48b52821c19578bba0e3ead41fbe0ec5 Author: Wayne Davison Date: Sat Feb 19 17:23:08 2005 +0000 - Don't log a delete message to the daemon log in dry-run mode. - The daemon's wrote/read log message now uses the terms sent/received. M log.c commit d6707171e675518210709c123e62ff8cc0f25667 Author: Wayne Davison Date: Sat Feb 19 03:54:13 2005 +0000 Decide whether to log a delete message via the default format by checking the new log_format_has_o_or_i variable, not itemize_changes. M log.c commit 5c5e1598923b1a4bd57a26202f0280965eab8aaa Author: Wayne Davison Date: Sat Feb 19 03:54:11 2005 +0000 - Set new variable, log_format_has_o_or_i. - Make sure that -i can't be set w/o an actual %i in the log_format. - Only need to pass -i to server if we're the sender. - Only need to pass some --log-format information to the server in certain circumstances. M options.c commit 6d7b3d52dc3a9caa73e765b60994b9781643753b Author: Wayne Davison Date: Sat Feb 19 03:12:21 2005 +0000 Rules read in from per-dir merge files need to have non-applicable rules filtered out before the rule gets stored (not in a post- filtering pass like the rules that are read-in prior to the run). M exclude.c commit 591b908fbf4f817bf0b799c250dc2a47ddef0d1d Author: Wayne Davison Date: Sat Feb 19 03:03:13 2005 +0000 Mention the change in the default "log format" daemon-config setting. M NEWS commit 742be97ce4bef9d6196073e66372579911e18bac Author: Wayne Davison Date: Sat Feb 19 02:39:33 2005 +0000 Log items that are unchanged if verbose > 1. M receiver.c M sender.c commit 1f30a674cdbdb464b74181c2ef8588fa48b74ab1 Author: Wayne Davison Date: Sat Feb 19 02:39:30 2005 +0000 Notify the remote side about -i (if either specified or inferred from the user's --log-format string) and, if we're not verbose but we're logging messages, let the server know that --log-format was specified. M options.c commit 19bc826d8b16a750d5826998d739692928a45103 Author: Wayne Davison Date: Sat Feb 19 02:39:26 2005 +0000 - Tweaked the letters output by "%i", including adding support for logging a deleted item and an identical item. - Added log_delete(), a routine that either logs the fact that a deletion happened, or sends a MSG_DELETED message to the client side (or both if we're a daemon server receiver). M log.c commit c786a7aec545259f857212a2376ee4c274d2e3b6 Author: Wayne Davison Date: Sat Feb 19 02:39:23 2005 +0000 - Changed the calling args to delete_file() to take an st_mode instead of a DEL_DIR flag. - Call log_delete() instead of outputting "deleting ..." messages.. - Log deletions if either verbose or log-format is specified. M rsync.c commit 8a8356b7db03601256c997d80fa660440fb170b9 Author: Wayne Davison Date: Sat Feb 19 02:39:21 2005 +0000 - Send the itemized data for every file, changed or not, if verbose > 1. - Don't call set_perms() with PERMS_REPORT if we're itemizing changes. - Don't call delete_file() with DEL_TERSE if we're itemizing changes. - Call delete_file() with its new arg. M generator.c commit 0d67e00af8119231c94951f1291c96a8d09861c8 Author: Wayne Davison Date: Sat Feb 19 02:39:18 2005 +0000 - Allow send_msg() to be called by the delete code in flist.c and have it figure out if it should send the message to our sibling or the other side. - Handle the new MSG_DELETED message in both the generator and the sender. This message is used to let the client side log each deletion when the server side is the receiver. M io.c commit 7448177753f8a69cb0edf396e05094642b9bcbc8 Author: Wayne Davison Date: Sat Feb 19 02:39:15 2005 +0000 - Call log_delete() instead of outputting a "deleting ..." message. - Call delete_file() with its new arg. M flist.c commit 90d151f423b5c5f3c5a73b95e4fe85626fb653cf Author: Wayne Davison Date: Sat Feb 19 02:39:11 2005 +0000 If the protocol is less than 29, make sure itemize_changes is off. M compat.c commit 9f7c5dabf89ed4708f0e099e94da8cf8323e3101 Author: Wayne Davison Date: Sat Feb 19 02:39:09 2005 +0000 - Got rid of DEL_DIR define. - Added define for ITEM_DELETED. M rsync.h commit a85a1514306687e76db1d24d060700e735156136 Author: Wayne Davison Date: Sat Feb 19 02:39:06 2005 +0000 - Mention that "%o" can now have the value "del." - Updated the description of "%i" to reflect the latest functioning. M rsyncd.conf.yo commit 5dd97ab9999bda34833cf71e8f8c7e479d604a79 Author: Wayne Davison Date: Sat Feb 19 02:39:03 2005 +0000 Fixed an inaccuracy in the --archive description. M rsync.yo commit 8daa9925cc176e20e7ff4d744601d1e546448b33 Author: Wayne Davison Date: Fri Feb 18 21:24:00 2005 +0000 More improvements. M NEWS commit e844be4e7bfb2c0d9ea583cb4d507217f14ffa4d Author: Wayne Davison Date: Fri Feb 18 20:17:24 2005 +0000 - Use read_short() and write_short(). - If the user does not want itemized changes, don't log the name for attribute changes. M receiver.c M sender.c commit 88b218fa5c296f5077ec09f52381b6cd6dc84e3a Author: Wayne Davison Date: Fri Feb 18 20:17:20 2005 +0000 - Tweaked code in itemize() a bit. - Use the new write_short() function. - Mention the delete() when an item replaces an item of a different type. - Make sure that this replacing of a non-same item is marked as a new transfer in the itemized output. M generator.c commit e66d70e34cd84c49e36c78920e33da5db72f82a8 Author: Wayne Davison Date: Fri Feb 18 20:17:17 2005 +0000 The '%n' escape needs to append a trailing slash onto a directory name. M log.c commit 9361f83933042cf3e73ad47a9c3bc00dbc79e8ea Author: Wayne Davison Date: Fri Feb 18 20:17:15 2005 +0000 Added read_short() and write_short(). M io.c commit 3b2bebbf909976a7154ff76d6a20335ee273b3d2 Author: Wayne Davison Date: Fri Feb 18 20:17:12 2005 +0000 Improved the "log format" section some more. M rsyncd.conf.yo commit 4f90eb433afec76a8af242496df8082cd24f722e Author: Wayne Davison Date: Fri Feb 18 20:17:09 2005 +0000 Improved --verbose, --itemize-changes, and --log-format. M rsync.yo commit b485e0c16ceee1e157f412bf2e93e4986d95b605 Author: Wayne Davison Date: Fri Feb 18 20:17:05 2005 +0000 Fixed/improved the comment before safe_name(). M util.c commit bc1fac96486956f7b1b2185aa4296955289f98cb Author: Wayne Davison Date: Fri Feb 18 20:16:59 2005 +0000 Handle uchar and short as a function return type. M mkproto.awk commit c78779cce3c557109f70710ea0455ba658895edd Author: Wayne Davison Date: Fri Feb 18 17:58:03 2005 +0000 - Fixed a few bugs and compile warnings. - Use the long-option parser for better option handling. - Output a usage message if the options are wrong. - Improved the option-variable names. - Parse the new default daemon log-file format. - Handle filenames that have spaces in them. M support/rsyncstats commit 702cd15cb010adabab7e2670ab5e745939c276a7 Author: Wayne Davison Date: Fri Feb 18 17:36:12 2005 +0000 For the server, don't ever intuit verbosity higher than what the client asked for. M options.c commit 1da05366adf3029d2c730eed6a449c75676dd957 Author: Wayne Davison Date: Fri Feb 18 17:34:09 2005 +0000 The daemon loop needs to call log_open() because it called log_close(). M socket.c commit 2267efeac542205a19c1fb2d45db9df460712956 Author: Wayne Davison Date: Fri Feb 18 17:33:43 2005 +0000 Made log_open() non-static and moved log_close() next to it. M log.c commit 15954da08fb9280c754db3a4382c18f5ed0cf04b Author: Wayne Davison Date: Thu Feb 17 09:19:07 2005 +0000 Updated the default "log format" string and the output of "%i". M rsyncd.conf.yo commit b2dc7bad39651552581b1ec3ce5027d5dc53124f Author: Wayne Davison Date: Thu Feb 17 09:16:51 2005 +0000 Changed the default log format. M loadparm.c commit d4e0196346583433d7d0e809d950f10f6c77d8db Author: Wayne Davison Date: Thu Feb 17 09:16:23 2005 +0000 Use '.' for unchanged attributes in the %i output. M log.c commit 2fc50f5a987727acf7972bd40cb0f4cd2992d73b Author: Wayne Davison Date: Wed Feb 16 20:12:20 2005 +0000 More improvements for the description of the %i output. M rsyncd.conf.yo commit bd5b85dbc7b6d52c5af697c62c7a8412590ef46c Author: Wayne Davison Date: Wed Feb 16 17:08:04 2005 +0000 Mention the new flag-word for protocol 29. M NEWS commit 8a8324657e3ef9682d74915e9629964c0b665929 Author: Wayne Davison Date: Wed Feb 16 17:02:16 2005 +0000 - The itemized flags are now 2 bytes instead of 1. - Always send/receive the itemized flags for protocols >= 29. - The output of the verbose log-the-transfer messages is always handled via log_send() (when we're the client). M sender.c commit 4bb0af79b7c58431d17add7ad6506989ab61a1cb Author: Wayne Davison Date: Wed Feb 16 17:02:13 2005 +0000 - The itemized flags are now 2 bytes instead of 1. - Always send/receive the itemized flags for protocols >= 29. - The output of the verbose log-the-transfer messages is always handled via log_recv() (when we're the client). M receiver.c commit e3bcd89319de32db608b3a6f9c58bcaa29abf4da Author: Wayne Davison Date: Wed Feb 16 17:02:11 2005 +0000 - The itemized flags are now 2 bytes instead of 1. - Always send the itemized flags for protocols >= 29. - Sent an itemized-flag update for dirs and symlinks for protocols >= 29 (instead of outputting a message directly). M generator.c commit 87383697e8cbfab13f5119b63f5426a73c96d928 Author: Wayne Davison Date: Wed Feb 16 17:02:08 2005 +0000 - Auto-set --verbose if --dry-run is specified w/o --log-format. - When verbose w/o a log_format specified, set it to "%n%L". - There's no longer a need to send -i to the server. M options.c commit e4b808989ee9927654b13e03e26f74e5703c405d Author: Wayne Davison Date: Wed Feb 16 17:02:05 2005 +0000 Moved the auto-setting of --verbose when --dry-run is specified into options.c. M main.c commit 59e52bf27680e626f26525e009b975247c80d744 Author: Wayne Davison Date: Wed Feb 16 17:02:02 2005 +0000 Tweaked ITEM_MISSING_DATA. M rsync.h commit 9b40e44ef43be7697b1b8117c87e59ea54163bca Author: Wayne Davison Date: Wed Feb 16 17:01:59 2005 +0000 No need to handle itemize_changes anymore. M batch.c commit e92f21d2f7f00be9c82b11eba6e72a88c92889eb Author: Wayne Davison Date: Wed Feb 16 08:12:34 2005 +0000 Tweaked the mention of --itemize-changes. M NEWS commit 910e89b9633a345154704cccd7c5f4189f5ceb41 Author: Wayne Davison Date: Wed Feb 16 08:10:45 2005 +0000 - We now accept an itemized-changes flag-byte over the socket if we're the local client and --itemized-changes was specified. If the item is not being updated, just call log_recv(). - We reject an attempt to file-update any non-regular file, not just dirs. - Avoid the verbose "log the transfer" output if --log-format was specified and log_before_transfer is in effect. - Call log_recv() with its new iflags arg. M receiver.c commit 8a9cfb24590872230f6928cf00f5b994b3f537dc Author: Wayne Davison Date: Wed Feb 16 08:10:41 2005 +0000 - We now accept an itemized-changes flag byte over the socket if we're in --itemized-changes mode. If the item is not being updated, either pass it along to the receiver (if we're the server) or just call log_send(). - We reject an attempt to file-update any non-regular file, not just dirs. - Avoid the verbose "log the transfer" output if --log-format was specified and log_before_transfer is in effect. - Call log_send() with its new iflags arg. M sender.c commit 41961db0bd8e54d3f62c7e706125e01be357a261 Author: Wayne Davison Date: Wed Feb 16 08:10:38 2005 +0000 Ensure that -i is set consistent with the batch's data. M batch.c commit e76518843d2c0ca595333de6a689afcea7448d94 Author: Wayne Davison Date: Wed Feb 16 08:10:31 2005 +0000 - If log_before_transfer is possible, don't force --verbose on for --progress. - If --log-format contains %i, set --itemize-changes (-i). - Always send -i to the remote rsync if it was specified/implied. M options.c commit ef74f5d626ef0220233e02fba1e3cc24a4902818 Author: Wayne Davison Date: Wed Feb 16 08:10:28 2005 +0000 - Improved log_formatted() to handle long filenames better. - Added %i, for the list of itemized changes, %n for the normal filename (might be shorter than %f), and %L for a " -> symlink" string IIF the item is a symlink (else ""). - The log_{send,recv}() functions now take an "iflags" arg. M log.c commit c557eb8cec91f1a299a07ad7728113a74c8f41e6 Author: Wayne Davison Date: Wed Feb 16 08:10:25 2005 +0000 Changed showchg() into itemize(), which now ships off a flag byte of what changed over to the sender instead of outputting a string itself. This does mean that we now ship off indexes of non-file items that got updated, but the sender will know what to do with it. M generator.c commit 0cc279e0d367b71e86b372ddd8f9ba499a968196 Author: Wayne Davison Date: Wed Feb 16 08:10:22 2005 +0000 - Added the new ITEM_* flags for the itemized-changes flag passing. - Also added defines for FLAG_SENT and MSG_SUCCESS. M rsync.h commit 0cfdf226556fab4ee351ebd174a22b1f1b45487b Author: Wayne Davison Date: Wed Feb 16 08:10:19 2005 +0000 Documented that -i now sets a default --log-format string. M rsync.yo commit 527a010f103f61f1db2d61668a8215c2c0bbe78f Author: Wayne Davison Date: Wed Feb 16 08:10:13 2005 +0000 Documented the new log-format escapes: %n, %L, and %i. M rsyncd.conf.yo commit c8ca974634277761d57c0f95274369436bf0fe66 Author: Wayne Davison Date: Wed Feb 16 01:13:03 2005 +0000 Some tweaks to how --itemize-changes works. M generator.c commit 3296f91bb01a376e0fe751ba2155ec25d7bcbb6b Author: Wayne Davison Date: Tue Feb 15 21:15:58 2005 +0000 Check for refusal of --delete-before when it is inferred. M options.c commit e2124620eb4ff83fe5f830431e15289a9896438c Author: Wayne Davison Date: Tue Feb 15 20:42:36 2005 +0000 Moved two paragraphs. M rsync.yo commit 69864a5ccf1f2d66c8b807888e16fbe158ad3562 Author: Wayne Davison Date: Tue Feb 15 20:41:37 2005 +0000 Made showchg() use safe_fname(). M generator.c commit 5b4e1f318dd3c3088aff8906cccd8cf801aae9e6 Author: Wayne Davison Date: Tue Feb 15 19:47:57 2005 +0000 - Mention the addition of --itemize-changes. - Mention the setting of read_only when a daemon is read-only. M NEWS commit b78296cb0b14777a318635d0608a9bb55ac6ff0d Author: Wayne Davison Date: Tue Feb 15 07:41:13 2005 +0000 Decided on a better option name --itemize-changes (-i). M generator.c M main.c M options.c M receiver.c M rsync.yo M sender.c commit 06a1dbad61f2560b206a9e0c0e4e46b01a063f13 Author: Wayne Davison Date: Tue Feb 15 07:20:14 2005 +0000 Implemented the --what-has-changed functionality. M generator.c commit 93c31c1a6d1016924acea01791d6453de75063b6 Author: Wayne Davison Date: Tue Feb 15 07:20:11 2005 +0000 Don't force -v with -n if -w was specified. M main.c commit a8ed49583304181a0516ce98014ae7389ec4c160 Author: Wayne Davison Date: Tue Feb 15 07:20:04 2005 +0000 If -w and -v are both on, don't output the "log the transfer" verbose message. M receiver.c M sender.c commit 4a14ed068c11de398df96a7c462c883b11b3e317 Author: Wayne Davison Date: Tue Feb 15 07:20:01 2005 +0000 Added --what-has-changed (-w), which summaries the changes being made to the files. M options.c commit dc0f24976d941a5bf197b4eab7f5680a85990659 Author: Wayne Davison Date: Tue Feb 15 07:19:58 2005 +0000 Document --what-has-changed (-w). M rsync.yo commit 1e7098b5e345a736c9aca2ce114ce0c6cec8fd82 Author: Wayne Davison Date: Tue Feb 15 03:38:04 2005 +0000 Fixed a typo. M log.c commit 2f24fb18c428105cddce35cfa504e2d21c35a460 Author: Wayne Davison Date: Tue Feb 15 02:01:02 2005 +0000 Make sure that there are no directory-time differences between the dirs that might trip up the check of the merged copy. M testsuite/merge.test commit 96a8ca6d985e840d34a9152775680626b44f4c07 Author: Wayne Davison Date: Mon Feb 14 22:49:51 2005 +0000 Had a report that the __attribute__ code needs to check for __APPLE__ being defined, not APPLE. M rsync.h commit 37a56445764da046aada79adea49715b1f1b3ed0 Author: Wayne Davison Date: Mon Feb 14 22:48:28 2005 +0000 One arg to matched() is supposed to be an int32. M match.c commit a1cbe76e2c572e7762d1e5ce4dad85891a8fba6e Author: Wayne Davison Date: Mon Feb 14 22:47:42 2005 +0000 Changed one size_t var into an int32. M generator.c M sender.c commit 98bf61c80ee4f717a5e5adc297e58082393980f1 Author: Wayne Davison Date: Mon Feb 14 19:09:30 2005 +0000 Improved description of --whole-file option. M options.c M rsync.yo commit 01f439ec6eb14526ef8cffe7cb08177c394fe8f5 Author: Wayne Davison Date: Mon Feb 14 08:28:00 2005 +0000 Fixed a mismatch in the compressed-data handling between how the sending side and the receiving side handled implicit (unsent) data. M token.c commit acc461c7dad0760936f5da49f8b22860d127bb83 Author: Wayne Davison Date: Mon Feb 14 08:19:32 2005 +0000 Changed various token variables from "int"s to "int32"s. M token.c commit 158595849728f923445b7f3920e9d2776ac116f8 Author: Wayne Davison Date: Mon Feb 14 08:13:47 2005 +0000 The count of chunks should really be an int32, not a size_t, because that's the maximum size we can transmit over the wire. M rsync.h commit 7cacd47eddc8fc7d932a67ab7775c428e8387bbe Author: Wayne Davison Date: Mon Feb 14 08:12:22 2005 +0000 Changed the size_t variables into int32 variables. M match.c commit e461b9bed4d5e957df09c88e887dbb18d1ad15c9 Author: Wayne Davison Date: Mon Feb 14 02:47:44 2005 +0000 Don't let --fuzzy be used with a protocol_version < 29. M compat.c commit 3723c04850863a408fb8e225b221c39a29dc02e8 Author: Wayne Davison Date: Mon Feb 14 02:41:35 2005 +0000 Mention --fuzzy. M NEWS commit 73273075c8416fdfcc2b984981e9b4fccc1320eb Author: Wayne Davison Date: Mon Feb 14 02:41:30 2005 +0000 Added code to read a fuzzy-basis name from the generator. M receiver.c commit 8e85be0a166233fcdbe597060c5a245d80f2b9b8 Author: Wayne Davison Date: Mon Feb 14 02:41:27 2005 +0000 Added handling for fuzzy-basis scanning. When a fuzzy filename is chosen, the name is sent down the name-pipe to the receiver. M generator.c commit 37802f40dcbe8956ba8ee3bfbddf10c60f94c209 Author: Wayne Davison Date: Mon Feb 14 02:41:23 2005 +0000 - If send_file_name() gets f set to -2, it skips the local filter rules. - Added get_dirlist(), which returns a file_list structure for the desired directory, optionally with local filter rules disabled. M flist.c commit 06b96ffa861132da3545c7c7cf3a0fa150b70c9e Author: Wayne Davison Date: Mon Feb 14 02:41:18 2005 +0000 Set need_name_pipe if --fuzzy was specified. M main.c commit c4ed1487f99eec637efe016a9f11848651256910 Author: Wayne Davison Date: Mon Feb 14 02:41:15 2005 +0000 Added parsing for the --fuzzy (-y) option. M options.c commit e64ae6d766a984829b1ab115d08a8c9056d8867f Author: Wayne Davison Date: Mon Feb 14 02:41:10 2005 +0000 Added find_filename_suffix() and fuzzy_distance(). M util.c commit 5b4837552b46b91d29ccc7352047b49753b45262 Author: Wayne Davison Date: Mon Feb 14 02:41:05 2005 +0000 Document the --fuzzy (-y) option. M rsync.yo commit d2004814f03a900707c7ef021f9a367bb6b9b498 Author: Wayne Davison Date: Mon Feb 14 02:34:01 2005 +0000 Changed #if to use "defined". M support/savetransfer.c commit bf0c5bec455f6a3a51f638413969e5ffb57eed10 Author: Wayne Davison Date: Mon Feb 14 01:29:17 2005 +0000 If f_name_cmp() discovers that two directory strings compare to an equal value without being equal pointers, substitute one of the pointers for the other in the file list. This optimizes future name comparisons. Note also that this optimization won't be triggered very often (because rsync tends to send the names grouped by dir- name at transmission time), but it's nice to be able to assume that all files in the same dir have identical dir-name pointers after the qsort is finished. M flist.c commit 0dd046d36f41bbabba9261152c9891bc78fcabac Author: Wayne Davison Date: Mon Feb 14 00:58:10 2005 +0000 Don't check defined-ness of SIZEOF_OFF64_T. M rsync.h M syscall.c commit 4f5b0756df0dfc925b9576db47ecce949c378e18 Author: Wayne Davison Date: Mon Feb 14 00:53:43 2005 +0000 John E. Malmberg convinced me to standardize on #ifs for defined values instead of non-zero. M access.c M backup.c M clientname.c M clientserver.c M flist.c M generator.c M getfsdev.c M getgroups.c M hlink.c M lib/compat.c M main.c M options.c M progress.c M receiver.c M rsync.c M rsync.h M socket.c M syscall.c M uidlist.c M util.c commit fe1c19dcdfa000c2461e85ed7bf712de49904377 Author: Wayne Davison Date: Sun Feb 13 22:48:38 2005 +0000 In clean_flist(), if a duplicate is found for a dir and a non-dir, always dump the non-dir (because the dir might have contents in the list). M flist.c commit 24b2096e861c47788a375e81c19e47ae625be722 Author: Wayne Davison Date: Sun Feb 13 22:48:35 2005 +0000 The dir vs non-dir test now assumes the dir wins. M testsuite/merge.test commit 86e97e178de98f6ea9de4200e9c28c10bc03c722 Author: Wayne Davison Date: Sun Feb 13 22:37:29 2005 +0000 Mention the new sorting method for protocol 29. M NEWS commit 905d906d69711a358c7fc4bdf5afb0e61d9cf491 Author: Wayne Davison Date: Sun Feb 13 22:01:15 2005 +0000 Added a test for the merging of a dir and a non-dir with the same name. M testsuite/merge.test commit abce74bb939fbdff5ffcba1155290bbe2c478630 Author: Wayne Davison Date: Sun Feb 13 21:50:55 2005 +0000 Added some missing commas in some option summary lines. M rsync.yo commit f5db09933011a8b4014336a09ece12690d8ba280 Author: Wayne Davison Date: Sun Feb 13 21:15:47 2005 +0000 - Made receive_file_entry() return the file_struct pointer instead of storing it into the files[] array. - Made flist_find() return "no match" if the found item differs in its directory-ness from the search item. - Changed f_name_cmp() to sort sub-directories after non-directories for each directory's contents. This makes things like the upcoming --fuzzy patch easier to get right. - One complicating factor is that clean_flist() needed some extra code to ensure that a directory doesn't duplicate a non-directory of the same name. - Make sure that the "strip_root" code in clean_flist() (for relative paths) strips off all leading slashes. M flist.c commit 122d1771db5a4c771de2fd258e0829909f77e5cc Author: Wayne Davison Date: Sun Feb 13 20:06:18 2005 +0000 Improved the call to f_name_cmp(). M hlink.c commit 8824e2cee4ec33cb11b97f96b40aec15d5191e9b Author: Wayne Davison Date: Sun Feb 13 10:23:56 2005 +0000 Changed the prefix on the fnc_state enums. M flist.c commit 8a6f3fead8667434ef08b3c1de2e3c899f1d70ee Author: Wayne Davison Date: Sun Feb 13 05:45:42 2005 +0000 Improved the summary for the -F option. M rsync.yo commit 9c71f56a251e0b4edfcb6b3aa1e3bda5f0bdd37b Author: Wayne Davison Date: Sun Feb 13 05:44:29 2005 +0000 Improved the help text for -F. M options.c commit f924946eba6c5df255413ac55905e2f8482e3939 Author: Wayne Davison Date: Sat Feb 12 22:22:14 2005 +0000 Improved the description of the --compress (-z) option. M options.c commit 32a5edf43f92422d4414b5a519c271ba00623248 Author: Wayne Davison Date: Sat Feb 12 22:21:45 2005 +0000 Improved the documentation of the --compress (-z) option. M rsync.yo commit 9a338344dafdb9342204125c615a7742b859c74d Author: Wayne Davison Date: Sat Feb 12 21:22:21 2005 +0000 Forgot to make sure that the dir-times on the chkdir got synced in the newest test case. M testsuite/exclude.test commit df337831dc608129812d06e9bb6e7e384fa48926 Author: Wayne Davison Date: Sat Feb 12 21:18:58 2005 +0000 When --dry-run is set, note when a directory is missing and avoid trying to stat() any items inside that dir's hierarchy. This fixes a bug where a symlink to a dir getting replaced by a dir with identical contents to the dir at the other end of the symlink would not report the updated files in the new hierarchy. (See bug #1673) M generator.c commit bb558f67916e53f0744baf7d3f956793670b4721 Author: Wayne Davison Date: Sat Feb 12 20:45:39 2005 +0000 Some more improvements to exercise rule-restricted merge files (i.e. exclude patterns only) and side-restricted filter rules. M testsuite/exclude.test commit 22558cdd7e827f3e838e0e1f50f9fb15ec3369e4 Author: Wayne Davison Date: Sat Feb 12 20:25:12 2005 +0000 Improved checkit() and rsync_ls_lR() to work with filenames that might have spaces. M testsuite/rsync.fns commit 28c54e81c16a0c557bac03146b2ff83bb12d9580 Author: Wayne Davison Date: Sat Feb 12 19:52:40 2005 +0000 Mention the protocol change for --delete-excluded. M NEWS commit 0dfffb88e142e043f6347407dbde591fd1c1c5e6 Author: Wayne Davison Date: Sat Feb 12 19:52:34 2005 +0000 Document the new filter rule flags for sender-/receiver-specific rules. M rsync.yo commit ed243f8c29926327d901adbfeec8cf25947cc88d Author: Wayne Davison Date: Sat Feb 12 19:52:26 2005 +0000 - Added modifiers for the include/exclude rules that makes them apply to the indicated (sender/receiver) side. - Added the hide/show and protect/risk filter rules as an alternate way to specify sender-/receiver-specific include/exclude rules. - send_rules() now allows f_out to be -1 to indicate that the list should be scanned but not sent. - send_rules() now filters the list to remove any items that don't apply to the current side (after sending the item to the other side when f_out != -1). - {send,recv}_filter_list() now transfer the list, even when the receiver is the server and --delete-excluded was specified (the exchanged list is appropriately filtered, of course). - recv_filter_list() uses send_rules() to trim non-applicable rules when we're a local-server (because we got our filter list without send/recv calls when fork() duplicated it). M exclude.c commit a427e8938a943273afe111969ca2134cf4e90977 Author: Wayne Davison Date: Sat Feb 12 19:52:22 2005 +0000 - Define MATCHFLG_SENDER_SIDE and MATCHFLG_RECEIVER_SIDE. - Updated MATCHFLGS_FROM_CONTAINER. M rsync.h commit cc25d2913217ea71b23d447609fb03b6d1aef970 Author: Wayne Davison Date: Sat Feb 12 19:52:18 2005 +0000 We don't need to avoid the local filter list in send_file_name() when --delete-excluded is set because our list has been trimmed to only include rules that apply in the current mode. M flist.c commit 134f43385badb22cc0e76dca4a74ee93a469fe76 Author: Wayne Davison Date: Sat Feb 12 18:40:15 2005 +0000 - Since send_file_list() is no longer called with f == -1, got rid of all the conditional code to support that. - Improved the comment before send_directory() to indicate that it gets called with f == -1 from delete_in_dir(). M flist.c commit a5a264842e5862d425fe9cc2d363cc1336fdbc70 Author: Wayne Davison Date: Fri Feb 11 23:16:41 2005 +0000 Don't use underscores in the example filter rules. M rsync.yo commit eed47b6b9c3a63c6391a2253e85c3784fc316e96 Author: Wayne Davison Date: Fri Feb 11 20:46:55 2005 +0000 Made "i" a size_t in receive_sums(). M sender.c commit 3841a04e883c1d1594570052442a559ff6d290be Author: Wayne Davison Date: Fri Feb 11 20:26:08 2005 +0000 A minor tweak for the dry_run logic. M generator.c commit 9eef8f0b73d9a1f3ed30d75ed36e66eefdac6168 Author: Wayne Davison Date: Fri Feb 11 10:52:50 2005 +0000 Improved the "refuse options" section, including an update to the section that talked about --del being a popt alias (which is no longer true). M rsyncd.conf.yo commit c2582307222f977fb6126a87e08feac4b7541888 Author: Wayne Davison Date: Fri Feb 11 10:51:25 2005 +0000 - Several improvements in describing how options imply other options. - Improved --partial-dir. M rsync.yo commit 345e0988cb53b9ecca338910e368259f64c70c25 Author: Wayne Davison Date: Fri Feb 11 10:47:43 2005 +0000 Changed rule_match() to rule_strcmp(). Likewise for the define RULE_MATCH() being changed into RULE_STRCMP(). M exclude.c commit 3671987f4d7834dc51a6113b3d012475381e4a93 Author: Wayne Davison Date: Fri Feb 11 10:42:55 2005 +0000 - Added some new refused_* variables that note if certain options have been refused on the server daemon. This allows us to reject implied options (e.g. if --partial is refused and -P specified). - Changed the handling of the --delete refusals from the old idiom of upgrading "delete" to "delete*" into the new idiom of checking if refused_delete is set when we determine --delete was implied. - Changed the --del option from a popt alias into a normal option. - Mark all the daemon options as refused when a daemon is parsing the over-the-socket options. - Created a new function, create_refuse_error(), which is now called from all the spots that check for refused options. - Don't call clean_fname() on an empty string -- either reject it or handle it without erroneously expanding the string. - If --delay-updates was specified without a --partial-dir option, don't send the default "--partial-dir=.~tmp~" option if the server is the receiver -- just let it default. M options.c commit 5aa7b20a3e89d5b4d4095f669dc608d0317044ee Author: Wayne Davison Date: Fri Feb 11 09:58:31 2005 +0000 Have partial_dir_fname() also check if the dir is excluded by the server, not just the partial file. M util.c commit 68795c640bf18ad27bfac0947a5871debc38c9f4 Author: Wayne Davison Date: Fri Feb 11 09:56:28 2005 +0000 If a --delay-update can't use the partial-dir (e.g. if a server daemon excludes the dir or file), update the file without delay. M receiver.c commit 4f1f94d1de3a5bbd5e5134f461d58dd9b2f80ee8 Author: Wayne Davison Date: Wed Feb 9 17:08:23 2005 +0000 Improved the --modify-window description. M rsync.yo commit 0f7e31f7d71e55e5d3bc809e58dbc045a72c4baf Author: Wayne Davison Date: Wed Feb 9 04:45:36 2005 +0000 Improved several items and added a new section describing what is different for protocol version 29. M NEWS commit 2f3cad893b7c87cd969e0685aa4abd40ade125a0 Author: Wayne Davison Date: Wed Feb 9 02:36:17 2005 +0000 - Decided that flist_find() should be public, not static. - Modified f_name_cmp() so that, beginning with protocol 29, it will guarantee that a directory name will sort one slot before its contents (prior versions could sort other items in between in rare instances). M flist.c commit e79666267dca1199f7c95f151d2d693a2f24aa62 Author: Wayne Davison Date: Tue Feb 8 19:30:07 2005 +0000 Also test the new long-named filter rules. M testsuite/exclude.test commit d91de04671de9138da2c918357f1fdc199d25304 Author: Wayne Davison Date: Tue Feb 8 19:06:30 2005 +0000 Mention the new long-name filter rules. M rsync.yo commit 64b761c19a17fa009344ee593c555d6bc69c164c Author: Wayne Davison Date: Tue Feb 8 18:47:25 2005 +0000 Allow a ',' to prefix the MODIFIERS for a single-letter filter rule. M exclude.c commit a1ac8edd662130551a209b3bd17861cfc3584fd8 Author: Wayne Davison Date: Tue Feb 8 18:33:16 2005 +0000 - Added long-name filter rules. - Only parse the "!" token when MATCHFLG_NO_PREFIXES is set if MATCHFLG_CVS_IGNORE is also set. M exclude.c commit 1dca857b5b88839596a7f028bf6503b49dd82da0 Author: Wayne Davison Date: Mon Feb 7 20:46:42 2005 +0000 Fixed a typo. M hlink.c commit f8cd88dbd1ad9e86ea86b8f16cb5718a0af49bbb Author: Wayne Davison Date: Mon Feb 7 20:41:43 2005 +0000 - Added more calls to safe_fname(). - Improved safe_fname() so that it changes all non-printable chars into '?'s, and accomodates more simultaneous (and longer) names. M util.c commit 71903f601a37392eb8ecb737c10fac78d18f5777 Author: Wayne Davison Date: Mon Feb 7 20:40:18 2005 +0000 Added missing calls to safe_fname() and full_fname(). M flist.c M hlink.c M main.c M receiver.c commit 719bc858b516afe845f2342bb2de06b6b1f17855 Author: Wayne Davison Date: Mon Feb 7 20:39:13 2005 +0000 Made NS define make use of safe_fname(). M rsync.h commit a6126d678b4e66b0286d05b50c6245c4c21cfea0 Author: Wayne Davison Date: Mon Feb 7 20:38:56 2005 +0000 Added missing call to safe_fname(). M exclude.c commit 4875d6b64dd0ed8d451746cc0cc609cff36192bd Author: Wayne Davison Date: Mon Feb 7 20:36:43 2005 +0000 Adding more calls to safe_fname(). M authenticate.c M backup.c M batch.c M cleanup.c M clientserver.c M generator.c M log.c M options.c M params.c M pipe.c M rsync.c commit 54b405985632b71444f215bb547a2b6a7f0f3637 Author: Wayne Davison Date: Mon Feb 7 19:40:31 2005 +0000 Needed to call safe_fname() when listing the remote names. M flist.c commit 38059f8e8e9a5a88754991ef1697373fca0997ca Author: Wayne Davison Date: Sun Feb 6 07:24:42 2005 +0000 One more tweak. M rsync.yo commit bb5f4e7285cde0509faf89f24d965742c47fb2a3 Author: Wayne Davison Date: Sun Feb 6 07:16:19 2005 +0000 A few tweaks to the FILTER RULES section, including a mention of using the +/- modifiers on merge-file rules. M rsync.yo commit 448797a1e6b0abb1867faec4cf83c021c34b8bda Author: Wayne Davison Date: Sat Feb 5 06:53:20 2005 +0000 Fixed an off-by-one error in the prefix-length checking in get_rule_prefix(). M exclude.c commit a261103ce07e6d6f81aabae2913711b659a3dbfd Author: Wayne Davison Date: Sat Feb 5 05:30:06 2005 +0000 Improved the name of a variable. M exclude.c commit 7b82b5adb3b53aef3c0c22b404e3989fc5a6f924 Author: Wayne Davison Date: Sat Feb 5 01:38:19 2005 +0000 Mention a couple more changes. M NEWS commit 397a344364b1b2ca73669f1085ea44eefd92fe77 Author: Wayne Davison Date: Sat Feb 5 00:03:46 2005 +0000 Added the "C" modifier to the itemized list of +/- modifiers. M rsync.yo commit bafa48759ff60c794ca0137f936a34674a19860c Author: Wayne Davison Date: Fri Feb 4 23:57:26 2005 +0000 Mention the new --filter=-C syntax that lets you position the default CVS rules within your other filter rules. M rsync.yo commit 46db185081719a3afeef6af258a37d719e3d1619 Author: Wayne Davison Date: Fri Feb 4 22:32:17 2005 +0000 - Moved get_cvs_excludes() up above its only use and made it static. - Changed get_cvs_excludes() to make an mflags arg. M exclude.c commit 1412da7c3272dad46c5f9434c3b8645e16189f80 Author: Wayne Davison Date: Fri Feb 4 21:54:02 2005 +0000 If we're a "local server" (i.e. we just forked a server for a local transfer), don't duplicate all the filter rules that we already know about in the forked process. M exclude.c commit d09e800a0e7028c35b811a73c388b65321150784 Author: Wayne Davison Date: Fri Feb 4 21:16:39 2005 +0000 Fixed the way get_rule_prefix() turns the MATCHFLG_WORD_SPLIT flag back into a modifier character. M exclude.c commit 53b417e4141c344a2c6f29d511d5d21d41a6dfa7 Author: Wayne Davison Date: Fri Feb 4 21:13:12 2005 +0000 - Added MATCHFLG_CVS_IGNORE. - Made the match_flags var a uint32. M rsync.h commit 57dee64e826b2132c61b1bda18801a79a06c4088 Author: Wayne Davison Date: Fri Feb 4 21:13:09 2005 +0000 - Moved the cvs_exclude checks into send_filter_list() and recv_filter_list(). Because of this, we never skip these calls anymore, though read-batch processing indicates that the list should not really be sent by setting f_out to -1. - Moved the definintion of the "local_server" variable here from options.c. M main.c commit fdc795015ff2a8adb330a1ee2180f9944b21a997 Author: Wayne Davison Date: Fri Feb 4 21:13:06 2005 +0000 - Changed filter_rule() to add_rule(). - Improved the debug info coming from add_rule(). - Changed add_filter() to parse_rule() and add_filter_file() to parse_filter_file(). - Changed get_filter_tok() to parse_rule_tok(). - Made the mflags a uint32. - Added an extra arg to get_rule_prefix() to indicate if we're building the options for transmission or other purposes. - The 'C' modifier can now be applied to a '-' rule, so it now sets a new flag: MATCHFLG_CVS_IGNORE. - The send_filter_list() and recv_filter_list() functions now handle all the logic needed to do the right thing for -C (this used to be in main.c). M exclude.c commit 3a5e9224d09355d4c4054ca620e3663423806cf9 Author: Wayne Davison Date: Fri Feb 4 21:13:03 2005 +0000 - Changed add_filter() to parse_rule() and add_filter_file() to parse_filter_file(). - Moved the definintion of the "local_server" variable into main.c. M options.c commit ebfd1a1cf756342f95d8bdec2fbb2c4e137171d5 Author: Wayne Davison Date: Fri Feb 4 21:13:00 2005 +0000 Changed add_filter() to parse_rule() and add_filter_file() to parse_filter_file(). M clientserver.c commit dd667c230115522223539e71d0983ade2c6d7cfe Author: Wayne Davison Date: Fri Feb 4 21:12:56 2005 +0000 Call get_rule_prefix() with its new arg. M batch.c commit d727f0ff4828998b91827455804f674f16457d71 Author: Wayne Davison Date: Fri Feb 4 00:48:18 2005 +0000 Fixed the MODIFIERS_MERGE_FILE define. M exclude.c commit eb9b2e53c8d966f356454f1ba70ea5901674fedf Author: Wayne Davison Date: Thu Feb 3 19:19:39 2005 +0000 Changed delete_missing() to not limit the use of DEL_FORCE_RECURSE to just --delete-during now that the other delete routines are using delete_in_dir(). M flist.c commit b6f06b8e8b7cd9500a612446f42c39c7363e41a2 Author: Wayne Davison Date: Thu Feb 3 19:00:20 2005 +0000 Added an mflags arg to get_filter_tok(), add_filter_file(), and add_filter(). This made for less flag conversion between various MATCHFLG_* and XFLG_* values. It also made it easy to fix a bug in the handling of no-prefix per-directory include/exclude files. We also use the new XFLG_OLD_PREFIXES and MATCHFLGS_FROM_CONTAINER defines. M exclude.c commit 0a68f869d7c1b390f7cafd72e52949305c06cad5 Author: Wayne Davison Date: Thu Feb 3 19:00:17 2005 +0000 Call add_filter() and add_filter_file() with their new flag args. M clientserver.c M main.c M options.c commit 3b2461cf2ee5aa5c86796ba20def80781c161e25 Author: Wayne Davison Date: Thu Feb 3 19:00:13 2005 +0000 - Got rid of a bunch of XFLG_* options. - Added XFLG_OLD_PREFIXES and MATCHFLGS_FROM_CONTAINER defines. M rsync.h commit 346402ddbf731b87ec1c068f771c0838f5e22876 Author: Wayne Davison Date: Thu Feb 3 03:45:24 2005 +0000 Use the new negated exclude to filter out all non-dirs in a few of the rsync commands. M testsuite/exclude.test commit 44d60d5f83da9595a93a6acdb3fd770d249381a4 Author: Wayne Davison Date: Thu Feb 3 03:37:02 2005 +0000 Document the new "!" modifier for include/exclude filter rules (to negate the match). M rsync.yo commit f2ae9e8583d289ed876c3666bd533dba13ffbfb8 Author: Wayne Davison Date: Thu Feb 3 03:36:58 2005 +0000 Implemented a "!" modifier for filter rules that lets a rule trigger on a non-matching pattern. M exclude.c commit 7c8e23bd9f6ae9f83c64bce3e62a3b03105b087c Author: Wayne Davison Date: Thu Feb 3 03:36:55 2005 +0000 Added MATCHFLG_NEGATE. M rsync.h commit 0752721dc300caeb4d512420140db83699bfc702 Author: Wayne Davison Date: Thu Feb 3 02:01:22 2005 +0000 Mention the latest delete optimization. M NEWS commit 68a94ac30f3f62cbf2447f5e69bd3b72d6bec300 Author: Wayne Davison Date: Thu Feb 3 02:01:20 2005 +0000 Changed delete_files() to use the delete_in_dir() function, which saves a ton of memory for a large set of files. M receiver.c commit ee3751c8d7ef1d285d13d41a3b7a6d1b5ad6ab6d Author: Wayne Davison Date: Thu Feb 3 02:01:17 2005 +0000 - We now separate the user-specified top-dir flag (via the restored FLAG_TOP_DIR) from the del-in-this-directory flag (FLAG_DEL_HERE). This was needed to properly handle -x in delete_in_dir(). - The delete_in_dir() function takes a slightly changed set of args. - Always set the FLAG_DEL_HERE flags, not just for --delete-during. M flist.c commit ec33e0e6bd0247fdf9bed77b1c21300d63c284b2 Author: Wayne Davison Date: Thu Feb 3 02:01:14 2005 +0000 - Changed {XMIT,FLAG}_DEL_START back to {XMIT,FLAG}_TOP_DIR. - Define FLAG_DEL_HERE. M rsync.h commit 31937d363b3e622f045781d410a5d718e87fa867 Author: Wayne Davison Date: Thu Feb 3 02:01:11 2005 +0000 Call delete_in_dir() with its new args. M generator.c commit 8982a89b24be0a0b43c85ec64d89b70c941a050c Author: Wayne Davison Date: Thu Feb 3 01:19:03 2005 +0000 In hlink_compare(), call f_name_cmp() directly instead of using file_compare(). M hlink.c commit 0492fdfb2eca167d572f38d02970465d0c30fad9 Author: Wayne Davison Date: Thu Feb 3 01:19:01 2005 +0000 - Improved some comments. - Changed the index passed to recv_generator() from "i" to "ndx". - Call delete_in_dir() with its new args. - During the redo phase, clear a bunch of options that might interfere with the generator deciding it needs to redo the file (for instance, --update-only could have interfered if --partial was specified). M generator.c commit 14698a3a1ab219dc8fbf68cabc79fdb17fc421f7 Author: Wayne Davison Date: Thu Feb 3 01:18:58 2005 +0000 - Moved an optimization from file_compare() into f_name_cmp() (the one that avoids doing a string-compare on two identical char pointers), making it just a wrapper for f_name_cmp(). Also made file_compare() static because everyone now calls f_name_cmp() directly. - Improved the flist summary that is output at high verbosity. - Improved delete_in_dir() to better handle the push/pop semantics based on the depth value that is now passed in as an arg (so that we don't have to parse it out of the paths each time). M flist.c commit 8c2ffaf09553a85be1d2f7d135b959dbb8fa75c8 Author: Wayne Davison Date: Thu Feb 3 00:19:40 2005 +0000 - If recv_files() is sent the index of a directory, complain about it and die. - Moved a few code snippets in recv_files() into better locations. M receiver.c commit afd72c78bd03597dfdca9b89613ec808098b3f31 Author: Wayne Davison Date: Wed Feb 2 17:15:22 2005 +0000 If the generator sends us the index of a directory, generate an error and die. M sender.c commit 6bf822649be98a624fd2a0176e624749df636b08 Author: Wayne Davison Date: Wed Feb 2 09:40:45 2005 +0000 - Fixed a problem with the setting of the --recurse option from the batch file. - Save the state of the --dirs option in the batch flags in a way that is compatible with older protocol versions. M batch.c commit 67dde161638e9beaa94a6ac0119dce7c0aef1cba Author: Wayne Davison Date: Tue Feb 1 16:42:01 2005 +0000 In read_sum_head: output the who_am_i() info in our error messages. M io.c commit f1d5ba40056415aaecf94fed52860d95da735544 Author: Wayne Davison Date: Tue Feb 1 09:46:42 2005 +0000 Set am_sender to -1 until the end of the option parsing. This lets who_am_i() output better values for the command-line --filter/--include/--exclude options. M options.c commit 794b0a037f41169402126d94fd12a4ba2a34d5f4 Author: Wayne Davison Date: Tue Feb 1 09:45:09 2005 +0000 Changed who_am_i() to output "server" or "client" when am_sender is negative. This will only occur during the startup phase before we know if we're the sender or not (e.g. when parsing client-side --filter/--exclude/--include options). M rsync.c commit c32edbe02eaf8ae9ed1bf6d766ab4f4c34881217 Author: Wayne Davison Date: Tue Feb 1 09:23:59 2005 +0000 Make sure the %f expansion handles the new dir.root properly. M log.c commit f3c3ed44e6c69570be81d5a968265e5f1c27ffc3 Author: Wayne Davison Date: Tue Feb 1 09:21:32 2005 +0000 - Made flist_find() and receive_file_entry() static functions. - Changed receive_file_entry() args. - We now store the directory depth into file->dir.depth when receiving the file list. This will be used to aid in the traversal of the file list on the receiving side for things such as the future --fuzzy option and better --delete-during processing. - Fixed a bug when -R was used with "." as a source directory: subdirectories were not being promoted to FLAG_DEL_START when --delete-during was specified. - Refer to the old basedir variable as dir.root. - Got rid of the first-push code -- I decided that it wasn't the right thing to do for per-dir merge-file processing. - Improved the flist_find() function to make it a little more optimal. The new code no longer needs the inline function flist_up(). - In clean_flist() we now set two new values in the flist struct: "low" and "high". These are used by the new flist_find(). - Tweaked the output_flist() function to output each entry's flags and to output the directory-depth on the receiving side in place of the directory-root (which is still output on the sending side). M flist.c commit f8057304930f9c6dcb7fca57f3c25cc2c09b3c1d Author: Wayne Davison Date: Tue Feb 1 09:21:30 2005 +0000 - Put "basedir" into a union "dir" and named it "root". The other member of the union is "depth". - Added members "low" and "high" to the file list structure (which are set when the list is cleaned). - Got rid of the flist_up() inline function. M rsync.h commit 2b1366635dc416420ed2617260aafe17d259ae0f Author: Wayne Davison Date: Tue Feb 1 09:21:28 2005 +0000 Refer to the old basedir variable as dir.root. M batch.c M log.c M sender.c commit 42f23f479d3e5beb8275d5dd8f4bb2f905f54f4d Author: Wayne Davison Date: Tue Feb 1 08:12:00 2005 +0000 Fixed a typo in a variable name. M flist.c commit 62bf783f061746262953f90cd214c2e3c4aa720c Author: Wayne Davison Date: Mon Jan 31 23:57:35 2005 +0000 Changed the "s" modifier to "w" for word-splitting tokens from a merge filter file. Also sprinkled some bf(...) macros into that section. M rsync.yo commit 0b2901b72da780044787b6ed510ab5c85b2d12af Author: Wayne Davison Date: Mon Jan 31 23:51:54 2005 +0000 Changed the "s" modifier to "w" for a word-splitting merge file. M exclude.c commit faa82484a5226534e9cf07880fc3a0874f9e9db5 Author: Wayne Davison Date: Mon Jan 31 23:41:08 2005 +0000 - Mark references to command-line switches with the bf(...) macro. - Changed some verb(...) macros to use other yodl idioms because yodl inserts way too much vertical whitespace surrounding the item. - Some items weren't indenting enough in the manpage, though they were indenting fine in the HTML version, so used some creative idioms to get things to render well in both. - Got rid of some empty lines in lists. - Made several quote(...) items also tt(...). M rsync.yo M rsyncd.conf.yo commit 4ccfd96cfee813f3855be5a902acc3d5cd0545a4 Author: Wayne Davison Date: Mon Jan 31 19:13:19 2005 +0000 Tweaked one or more warning messages. M clientserver.c M compat.c M flist.c M io.c M log.c M receiver.c M socket.c commit 408aa7b24c7ee02d530e05852fd8eb0f5abfc3fd Author: Wayne Davison Date: Mon Jan 31 18:09:23 2005 +0000 Improved the exclude tests to make sure that the filter files are interacting with --delete-during correctly. M testsuite/exclude.test commit 776b9d1c0084e7f1d9e26071540f349193ed534b Author: Wayne Davison Date: Sun Jan 30 20:24:11 2005 +0000 Added "need_first_push" logic to delete_in_dir(). M flist.c commit c93fad5ee084ba006af61beda417368c6740dff4 Author: Wayne Davison Date: Sun Jan 30 10:06:18 2005 +0000 The --delete-during processing only happens during the first phase (not the redo phase). We also call delete_in_dir(NULL, NULL) to make sure that all the local filter files get popped. M generator.c commit 19b2a5d9fdd54c37d90610ccec89e54eedd7b4ed Author: Wayne Davison Date: Sun Jan 30 10:01:21 2005 +0000 delete_in_dir() now mananges the push/pop levels of nested directories properly. M flist.c commit f1773e09ab4993014f9cae0b80a569c2670624da Author: Wayne Davison Date: Sun Jan 30 09:12:55 2005 +0000 - Now delete_in_dir() calls send_directory(), not send_file_name(). - Moved the local-list push/pop code out of send_directory() so that the callers (send_file_name() and delete_in_dir()) can call the push/pop functions themselves. This is in preparation for delete_in_dir() getting fully correct push/pop semantics (for its --delete-during handling of per-dir filter files). M flist.c commit 462c51d9a1ac30a92150f290cc5c4353e86118b8 Author: Wayne Davison Date: Sun Jan 30 07:35:13 2005 +0000 - Restored the io_error test to delete_files(). - Sanity check the dir_list value from send_file_list(). M receiver.c commit 2430e984121605daf010db3b79a2078a75f2594a Author: Wayne Davison Date: Sat Jan 29 22:35:53 2005 +0000 - Made delete_files() call send_file_list() and delete_missing() instead of delete_in_dir(). - Tweaked check in front of delete_files() call. M receiver.c commit 78fc60cd29eac3007f5fb02f4e963d3729879a5f Author: Wayne Davison Date: Sat Jan 29 22:35:50 2005 +0000 If --recurse wasn't specified, turn off all the --delete* options. M options.c commit 864146de58bec34fe8b0e61467907419628838b9 Author: Wayne Davison Date: Sat Jan 29 22:35:47 2005 +0000 Tweaked check in front of delete_files() call. M main.c commit 45478cc79b83a8a72ac59c86f9ef6ac75f28e7b7 Author: Wayne Davison Date: Sat Jan 29 22:35:44 2005 +0000 - Improved the handling of -x with -K. - Changed delete_in_dir() to only be used by the --delete-during option. - Added delete_missing() that is used by both delete_files() and delete_in_dir(). - delete_files() still uses send_file_list(), but delete_in_dir() now uses send_file_name(). M flist.c commit 5454d22ad8b63f00aa0b64d8568f2781e31a382b Author: Wayne Davison Date: Sat Jan 29 21:25:44 2005 +0000 The --dirs was sending -k instead of -d. M options.c commit dc1488ae47a33444372fa3adce0bb72c2b143f7e Author: Wayne Davison Date: Sat Jan 29 20:48:27 2005 +0000 - Document the new "/" modifier for -/+. - "=" is no longer a valid separator for a filter rule. M rsync.yo commit 0121a8ecad8dd27ad5c4f01e9322d8f13e1841c1 Author: Wayne Davison Date: Sat Jan 29 20:48:23 2005 +0000 Renamed XFLG_ABS_PATH XFLG_ANCHORED2ABS. M rsync.h commit 7bc90b3066d9e83ef81b6e5d5dbaa0b02f519673 Author: Wayne Davison Date: Sat Jan 29 20:48:20 2005 +0000 Moved the module_id define into clientserver.c. M options.c commit bf39270e0cc99787ea5232914dc99e25d4d79222 Author: Wayne Davison Date: Sat Jan 29 20:48:17 2005 +0000 - Renamed make_filter() to filter_rule(). - Added the "/" modifier to the -/+ filter rules to allow the rule to specify an absolute path (sets MATCHFLG_ABS_PATH). - Added the passing of the xflgags to filter_rule() and key off XFLG_ANCHORED2ABS to prepend the current dirbuf value (was keing off MATCHFLG_ABS_PATH). - We no longer allow a '=' to separate the filter rule from its arg (just a single space or an underscore). - For triple verbose levels, mention when we look for a filter file even if we don't find it (used to only mention the file when it was found). - A chrooted daemon process now includes /.cvsignore (inside the chrooted hierarchy) instead of $HOME/.cvsignore. M exclude.c commit 211bc43b6e22e55c7b39fe5773c78735a55d3998 Author: Wayne Davison Date: Sat Jan 29 20:48:14 2005 +0000 - Moved the module_id definition from options.c to here. - Use the new XFLG_ANCHORED2ABS name for the old XFLG_ABS_PATH define. M clientserver.c commit 91c5833bd093803fa7bb1e4f6614dca92f286085 Author: Wayne Davison Date: Sat Jan 29 20:29:06 2005 +0000 Change one call to add_cvs_excludes() to add_filter() to just add the per-dir .cvsignore rule for protocols < 29. M main.c commit 8311f1c11e22148d0528da42889d4d555d1e9b3b Author: Wayne Davison Date: Fri Jan 28 23:00:58 2005 +0000 A minor change to the HAVE_GETPGRP code. M progress.c commit ae2836325f77311fdaaf9f5a82d13fedfa3312bb Author: Wayne Davison Date: Fri Jan 28 22:01:02 2005 +0000 Fixed some typos. M rsync.yo M rsyncd.conf.yo commit a897af2cdeb9467e46133640c5feb0a83b57da8e Author: Wayne Davison Date: Fri Jan 28 21:48:32 2005 +0000 Mention a few more things. M NEWS commit cc80022e846cbf7e4801261de94961a4dd1f25ae Author: Wayne Davison Date: Fri Jan 28 21:32:20 2005 +0000 Pass an unsigned character to isdigit(). M options.c commit 5a016db9b6bbc811e569f85f59c55659fc821cb8 Author: Wayne Davison Date: Fri Jan 28 21:28:08 2005 +0000 Don't allow the user to specify a filter file that is excluded by a daemon's config options. M exclude.c commit 92e1aeede767fd0ab524fecb2a4586a3b2a52d0c Author: Wayne Davison Date: Fri Jan 28 21:07:05 2005 +0000 Got rid of an unreachable free() call. M socket.c commit f846a9bfe9d2d41272cfbc54c8faac3aa7f8981c Author: Wayne Davison Date: Fri Jan 28 21:05:50 2005 +0000 Cast each value referenced from the struct mallinfo to a long in order to print it. M main.c commit 3db859e8b55758f7e1b9c95b80d32b1d5e23355e Author: Wayne Davison Date: Fri Jan 28 21:03:50 2005 +0000 Don't set unsigned del_heir_name_len to -1 -- it's only used if in_del_hier is non-zero, so it doesn't need to take on an invalid value. M flist.c commit 0eeb1cf83ae21e57cd4fc90fb21febdfcfab328a Author: Wayne Davison Date: Fri Jan 28 21:02:15 2005 +0000 Case uchar pointer to a char pointer when calling strlen(). M exclude.c commit 5f238db203f4ba876cfa8949f87f3f93507c049f Author: Wayne Davison Date: Fri Jan 28 21:01:21 2005 +0000 - Use "uchar" instead of "unsigned char". - Tweaked an initializer to try to avoid a compiler warning. M lib/wildmatch.c commit 422696201acf424dc0c46558f993d27e86bddd1b Author: Wayne Davison Date: Fri Jan 28 20:43:09 2005 +0000 Call the right stat function based on USE_STAT64_FUNCS. M getfsdev.c commit 58fef0ac3850006697dca6478d57e75a168b0394 Author: Wayne Davison Date: Fri Jan 28 20:41:36 2005 +0000 Changed direct call to fstat() into a call to do_fstat(). M cleanup.c commit 25e1181466d46512b23d44eed7ba83ba2c721363 Author: Wayne Davison Date: Fri Jan 28 20:33:55 2005 +0000 Use new USE_STAT64_FUNCS define. M syscall.c commit 5b5f7e3b59ec2e2b45a35edf337cbed7fcd94f30 Author: Wayne Davison Date: Fri Jan 28 20:32:47 2005 +0000 - Use off_t if SIZEOF_OFF_T is 8. - Define USE_STAT64_FUNCS if we defined STRUCT_STAT as "struct stat64". M rsync.h commit dc3afaf6aa699c4b8a1318a48bc65b27e2eddb82 Author: Wayne Davison Date: Fri Jan 28 20:24:23 2005 +0000 Changed "char" to "uchar" in delayed_bits's new_array() call. M receiver.c commit 1164f67827291cc3eec74738cb2cdd12e287f815 Author: Wayne Davison Date: Fri Jan 28 20:15:08 2005 +0000 Make use of new HAVE_STRUCT_STAT64 define. M rsync.h M syscall.c commit c83a2c8ec58ce0bf2a41f6fdf9e1a17a186abbf1 Author: Wayne Davison Date: Fri Jan 28 20:15:06 2005 +0000 Added a check for "struct stat64". M configure.in commit 43d0f38b2474d864307d81d259c5874d01b8fbf8 Author: Wayne Davison Date: Fri Jan 28 19:03:16 2005 +0000 Do a better job defining an int32. Also define SIZEOF_INT32 instead of the (unused) LARGE_INT32 variable. M rsync.h commit e95538ca2c8fdecd66a112635aa30077419af685 Author: Wayne Davison Date: Fri Jan 28 18:50:54 2005 +0000 - Changed the main core of system include files to use the same "#if" idioms that configure uses. - Use "#if" (not "#ifdef") for configure-defined macros. - Use "#if !" (not "#ifndef") for configure-defined macros. M rsync.h commit 25ff04417e4b4fa0aeb44e0b1576a01021aa1650 Author: Wayne Davison Date: Fri Jan 28 18:50:49 2005 +0000 Use "#if" (not "#ifdef") for configure-defined macros. M access.c M clientname.c M clientserver.c M flist.c M getgroups.c M main.c M options.c M receiver.c M rsync.c M socket.c M uidlist.c M util.c commit 63ecee4d1ae76134d3ebd6272d2157f059b2cab6 Author: Wayne Davison Date: Fri Jan 28 17:42:21 2005 +0000 Made log_open() static and made it die with an error if the log-file can't be opened. M log.c commit 4c8f6b6a0606a67716435da707057d8fa5f2e12d Author: Wayne Davison Date: Fri Jan 28 17:33:57 2005 +0000 No need to call log_open() in start_accept_loop() because rsync_module() calls log_init() before it gives up its privileges. M socket.c commit 2161111900942f786a95984ac84167c540d0a45c Author: Wayne Davison Date: Fri Jan 28 17:11:48 2005 +0000 Document the "max verbosity" setting. M rsyncd.conf.yo commit 24b0922b0e70693013f6c99f9661fc1084712e8b Author: Wayne Davison Date: Fri Jan 28 17:10:58 2005 +0000 Document the --verbose (-v) option for the daemon. M rsync.yo commit 186387301f0a56f4fbd6bf495cdd5421947ada16 Author: Wayne Davison Date: Fri Jan 28 17:10:16 2005 +0000 - Moved read_only variable here from options.c - Set read_only to 1 if the module is read-only. - Make sure that the verbose level is 0 before we parse the client's options. M clientserver.c commit 1bd9db74ba614656d016e360cc780df11fc706fc Author: Wayne Davison Date: Fri Jan 28 17:07:54 2005 +0000 - Added --verbose option parsing to the daemon options. - Moved read_only into clientserver.c. M options.c commit df6933406f3aaf3c5d241b283efeb53111a7bfcd Author: Wayne Davison Date: Fri Jan 28 17:06:41 2005 +0000 Got rid of unused mmap section. M syscall.c commit d679c8390aa7579eb627837a0498c3981e745dad Author: Wayne Davison Date: Fri Jan 28 16:27:02 2005 +0000 Changed HAVE_OFF64_T to SIZEOF_OFF64_T. M rsync.h commit d4daa7b68c847ebbcecd19293a3afe24f6918b58 Author: Wayne Davison Date: Fri Jan 28 16:21:37 2005 +0000 Changed HAVE_OFF64_T to SIZEOF_OFF64_T. M syscall.c commit 44d98d6166ee27290dc4b9fd3c355d4176aa2979 Author: Wayne Davison Date: Fri Jan 28 09:55:36 2005 +0000 Improved the option summaries. M rsync.yo commit b3708acf27faa7d2385cca23c909a79c811e1820 Author: Wayne Davison Date: Fri Jan 28 09:55:18 2005 +0000 Improved the option-descriptions in the --help text. M options.c commit 2c0fa6c5dffe320dae80b388eec3d3dafef7b3f2 Author: Wayne Davison Date: Fri Jan 28 08:01:33 2005 +0000 More --delete-before improvements. M rsync.yo commit 57f74bd1c2da4cb1a5fb7a83f0ae978d210d3c2d Author: Wayne Davison Date: Fri Jan 28 07:50:00 2005 +0000 One minor tweak to the --delete-before option-passing code. M options.c commit 598c409e63cb1bfa5a17128e00d963c46775ad90 Author: Wayne Davison Date: Fri Jan 28 07:39:59 2005 +0000 Document --delete-before. M rsync.yo commit c6eb7fad68d5a96021ef8fe91695af15b38fb837 Author: Wayne Davison Date: Fri Jan 28 07:39:09 2005 +0000 Added back support for the --delete-before option so that future verions of rsync can more easily change the default that --delete implies and still support explicit --delete-before functionality when interacting with older versions. M options.c commit c561edaa729c655ab6980c43517bd8a864df6cc7 Author: Wayne Davison Date: Fri Jan 28 06:51:44 2005 +0000 Added a sanity check for the SIZEOF_INT64 define. M options.c commit 031fa9ad4d17da5759bade845985e24ef2d14c98 Author: Wayne Davison Date: Fri Jan 28 06:46:33 2005 +0000 Use the new SIZEOF_INT64 define instead of INT64_IS_OFF_T. M io.c M options.c commit d622d4bf30c3acd56bb6b3832643ef95d1cbd4cb Author: Wayne Davison Date: Fri Jan 28 06:45:16 2005 +0000 - Switched the int64 code over to using the improved SIZEOF_* macros. - Define SIZEOF_INT64 to a value that is useable at compile time. - Got rid of INT64_IS_OFF_T. M rsync.h commit e32db5c9aade691a13a200e867a812099bfdcdae Author: Wayne Davison Date: Fri Jan 28 06:43:48 2005 +0000 Switched the checks for "long long" and "off64_t" to use the AC_CHECK_SIZEOF() macro since it now fully supports cross- compiling. M configure.in commit 4a6c209a1307b0acbf0a9d18247aec62bc62c4a1 Author: Wayne Davison Date: Fri Jan 28 02:01:18 2005 +0000 Use SIGNED_CHAR_OK instead of HAVE_UNSIGNED_CHAR. M rsync.h commit 0d2aa5d9d7773bcd947718429a37812c6afc4f50 Author: Wayne Davison Date: Fri Jan 28 02:00:40 2005 +0000 - Made some of the tests work better when cross-compiling. - Added descriptions for all config.h variables that had none. - Changed HAVE_UNSIGNED_CHAR to SIGNED_CHAR_OK. - Got rid of (the unused) HAVE_SHORT_INO_T. - Changed version to 2.6.4cvs (long overdue). M configure.in commit e30b1fb8fd9fd5c560eaf3527702b027e257fa17 Author: Wayne Davison Date: Fri Jan 28 01:56:50 2005 +0000 Added a few more details of changes since 2.6.3. M NEWS commit da1b6eeaf2970757e19fa8df14ca6b0f50ffcdb7 Author: Wayne Davison Date: Fri Jan 28 00:01:54 2005 +0000 Mention the latest changes plus a few missed items. M NEWS commit 01b835c237a5583980aa81a9ccb0ed3b34be01f4 Author: Wayne Davison Date: Thu Jan 27 22:47:23 2005 +0000 Docment the new --delay-updates option. M rsync.yo commit 48e1c8c69d9af33fb11f849901150bd4f2ac3eb4 Author: Wayne Davison Date: Thu Jan 27 22:46:36 2005 +0000 Implement the new --delay-updates option. M receiver.c commit f06e7082820ff5d1af8f44be4e4d2384b7adce8b Author: Wayne Davison Date: Thu Jan 27 22:46:14 2005 +0000 Added the new --delay-updates option. M options.c commit f0f7e760ae03896c9856b2f389acf97c20aa67d1 Author: Wayne Davison Date: Thu Jan 27 22:23:30 2005 +0000 - Output the new flist time stats (when available). - For protocol 29 and above, send the flist time stats to the client side (as needed). M main.c commit 31b4d25d103c1b9b8621d49becc7ee6c65446eda Author: Wayne Davison Date: Thu Jan 27 22:21:45 2005 +0000 Set the new stats.flist_buildtime and stats.flist_xfertime values. M flist.c commit d41988232ed8f017fa6cc745fe855c54ede92171 Author: Wayne Davison Date: Thu Jan 27 21:55:11 2005 +0000 - Added a caveat to the definition of the int64 type. - Added two time values to the stats struct. M rsync.h commit 880570f2287326f4c4d3c65b1298af733a82de02 Author: Wayne Davison Date: Thu Jan 27 21:45:32 2005 +0000 Added a missing newline to an error message. M socket.c commit 72a90c750a01ce51a19a80b8b414bb44a8380865 Author: Wayne Davison Date: Thu Jan 27 21:42:56 2005 +0000 Bumped the copyright year to 2005. M options.c commit e1988bc744d2cb54f1be95f06f41db8b923c8103 Author: Wayne Davison Date: Tue Jan 25 18:16:34 2005 +0000 Added .rsync-filter. M .cvsignore commit d6a3e37b83d71d79d43396beb7da7643e08f4fa0 Author: Wayne Davison Date: Tue Jan 25 17:16:13 2005 +0000 If rsync is put in the background, output fewer progress-report lines. M progress.c commit 8261047b1e03208ce09a58684c06e775e7146878 Author: Wayne Davison Date: Tue Jan 25 12:13:53 2005 +0000 - Use the "--filter=._-" option instead of --exclude-from=- if the protocol being saved is >= 29. - Call the new get_rule_prefix() function to figure out the right rule prefix. - Strip out the --filter and -f options from the cached command-line. M batch.c commit 417b59997fd644131be64a97f4a9d186f182bf1e Author: Wayne Davison Date: Tue Jan 25 12:10:31 2005 +0000 - Moved the code that turns rule flags into chars into a new function called get_rule_prefix(). - Don't pass the per-dir .cvsignore rule from -C for protocols < 29. M exclude.c commit 4366d2c42853a88ce7cef62e2cb22d314607cf69 Author: Wayne Davison Date: Tue Jan 25 12:07:13 2005 +0000 In delete_files(), handle new DEL_NO_RECURSE flag (and use renamed DEL_FORCE_RECURSE flag. M rsync.c commit 217cc3b0459e0c4d3a01c2d6808750b94cba5a17 Author: Wayne Davison Date: Tue Jan 25 12:05:20 2005 +0000 - The call to delete_file() needs DEL_NO_RECURSE when handling delete_before or delete_after or --dry-run will report too many deletions. - Changed DEL_RECURSE to DEL_FORCE_RECURSE. M flist.c commit 757e0a544545fb2d77c80ce008c70696444cb130 Author: Wayne Davison Date: Tue Jan 25 12:02:08 2005 +0000 Added DEL_NO_RECURSE and changed DEL_RECURSE to DEL_FORCE_RECURSE. M rsync.h commit ddf64101306042c94eb3017c4d5a87f47d33caa1 Author: Wayne Davison Date: Tue Jan 25 11:55:03 2005 +0000 Needed to call add_cvs_excludes() from one more code path. M main.c commit 7842418b7b87c4c78ad8ad06fec44150c8aa0956 Author: Wayne Davison Date: Tue Jan 25 10:39:14 2005 +0000 Renamed several exclude-related functions/variables using new filter terminology. M backup.c M batch.c M clientserver.c M exclude.c M flist.c M generator.c M main.c M options.c M receiver.c M rsync.h M t_stub.c M util.c commit 9624b8642670a3bd79b90e1c2c0ebbc5bf1b635b Author: Wayne Davison Date: Tue Jan 25 04:00:31 2005 +0000 Mention the latest new options. M NEWS commit 201a2fe5ff2ba8410d49f2a0202e16c5dac176bd Author: Wayne Davison Date: Tue Jan 25 03:18:29 2005 +0000 Added testing for --filter and merge-file features. M testsuite/exclude.test commit ed032a88b87fe7e8b6bf0889ed0daae9bb3859d0 Author: Wayne Davison Date: Tue Jan 25 03:09:06 2005 +0000 Mention that --del is a popt alias for --delete-during, so there's no need to refuse "del" by name -- just refusing "delete-during" or "delete*" is sufficient. M rsyncd.conf.yo commit ae76a74043c0940fe4d1bfc3b68ceaca191e71b8 Author: Wayne Davison Date: Tue Jan 25 03:09:02 2005 +0000 Document the latest --delete options, including --delete-during. M rsync.yo commit 3359acb8cbd6f5d51baeb011118b0b7bc9c2d185 Author: Wayne Davison Date: Tue Jan 25 03:08:58 2005 +0000 - Changed --delete to go back to defaulting to the delete-before functionality. - Got rid of --delete-before. - Added --delete-during. - Added a popt alias for --delete-during: --del. - Fixed a bug in the generation of the proper --delete options for the server. - Generate an error if the user tries to specify both --delete-during and --delete-after. M options.c commit a2b371cd52a905c1daba161e2adf721a4a911c1d Author: Wayne Davison Date: Tue Jan 25 02:30:59 2005 +0000 Don't try to allocate zero bytes in push_local_excludes(). M exclude.c commit dd69b3976afde6909ce0db8f7d64f5980c16dc14 Author: Wayne Davison Date: Tue Jan 25 00:53:07 2005 +0000 Document the new "filter" parameter. M rsyncd.conf.yo commit 16e5de84dae4deb21832b801bf462a96b8bf645e Author: Wayne Davison Date: Tue Jan 25 00:53:03 2005 +0000 Document --filter (-f) and -F, with lots of changes to the include/exclude sections, including a little restructuring. M rsync.yo commit 46fa602530e36545facf0fdaa527896033686375 Author: Wayne Davison Date: Tue Jan 25 00:52:59 2005 +0000 Some changes to support the new --filter option: - Changed XFLG_WORDS_ONLY to XFLG_NO_PREFIXES. - Added XFLG_DEF_EXCLUDE and XFLG_ABS_PATH. - Added some new MATCHFLG_* values for the new merge-file support. - Put the "slash_cnt" var (in the exclude_struct) into a union with the new megelist pointer. M rsync.h commit aa4d3b4cc0b0a6f917cfa13db5943c9ac7abd309 Author: Wayne Davison Date: Tue Jan 25 00:52:56 2005 +0000 - Added parsing for --filter (-f) and -F. - Changed the include/exclude calls to work with the new XFLG_* values. M options.c commit 73ed23495e3fb93f2cb651c8ab61ed6d781f32ce Author: Wayne Davison Date: Tue Jan 25 00:52:53 2005 +0000 Added the "filter" parameter. M loadparm.c commit c7d970f782a901feb78e7d4897abc3cd599e8442 Author: Wayne Davison Date: Tue Jan 25 00:52:50 2005 +0000 The calls into the exclude system changed a little for the new --filter option: - The special handling for cvs_exclude went away. - Call push_local_excludes() and pop_local_excludes() instead of fiddling with the (no longer present) local_exclude_list var. M flist.c commit 6dfd07d0259d855fc7011b168b1897bb69f0c32b Author: Wayne Davison Date: Tue Jan 25 00:52:47 2005 +0000 Implemented the core of the merge-file and per-dir merge-file support for the --filter option. Some noteworthy changes: - Added push_local_excludes() and pop_local_excludes() to implement the changes needed as we go from directory to directory (this takes the place of the old local_exclude_list var that only handled the .cvsignore files). These per-dir excludes are linked into the same exclude list as the global excludes. - The exclude list is transferred as filter rules to an rsync that talks protocol 29 or above. It limits itself to just include/exclude rules for older rsyncs. M exclude.c commit e7bf7c01613fbd726720cb676bc47a743da06f2f Author: Wayne Davison Date: Tue Jan 25 00:52:44 2005 +0000 Some exclude changes for the new --filter option, including: - Added module_dirlen var. - Call set_excludes_dir() instead of setting exclude_path_prefix. - Use the newest XFLG_* options. M clientserver.c commit f5a7b9e71696a721ea466bbe40e00c6bfd75b040 Author: Wayne Davison Date: Tue Jan 25 00:47:35 2005 +0000 Improved the explanation for --omit-dir-times. M rsync.yo commit b951e023ec1c81ec1ad4d6f6f3508bf3e19165e8 Author: Wayne Davison Date: Mon Jan 24 17:19:04 2005 +0000 Moved the code that reads the extra byte for a modern inplace transfer up nearer the code that reads the index. M sender.c commit 3ea9bbd632de3a2fc3919165a51471a7654f0452 Author: Wayne Davison Date: Mon Jan 24 06:19:58 2005 +0000 Optimized away the post-transfer directory loop in certain circumstances. M generator.c commit aaca3daa27dfea906c173908aad06fee8e243859 Author: Wayne Davison Date: Mon Jan 24 01:41:57 2005 +0000 Document --delete-before and --delete's new "during" behavior. M rsync.yo commit a51b316824e0b955f827026310262c0af4ec32c5 Author: Wayne Davison Date: Mon Jan 24 01:41:54 2005 +0000 Added the delete-during handling (also selected with --delete) and added --delete-before for the old delete logic. M options.c commit 928a00c4746dafaec2181124a688006af3085551 Author: Wayne Davison Date: Mon Jan 24 01:41:51 2005 +0000 Moved a call to add_cvs_exclude() from the delete code to one code- path in this file. This avoids a potential duplication of the cvs-excludes that would occur in the old logic. M main.c commit fa13f396d555adbf0caa0b9d4c104915e4aa0168 Author: Wayne Davison Date: Mon Jan 24 01:41:48 2005 +0000 Added code to implement the delete-during handling. M generator.c commit 3ab56a20eef93b07da6229dbb7277d82a26d8009 Author: Wayne Davison Date: Mon Jan 24 01:41:45 2005 +0000 Moved some of the delete code into flist.c since the generator now calls it for the delete-during handling. M receiver.c commit 649f874292545c177b743657b1dbc7a2c2db03e8 Author: Wayne Davison Date: Mon Jan 24 01:41:42 2005 +0000 Moved some of the delete code from receiver.c to here and implemented the handling for delete_during (which is called from the generator). M flist.c commit 90fdd89a0b541a4466bd22abd7c7f7dee59b97d0 Author: Wayne Davison Date: Mon Jan 24 00:56:37 2005 +0000 Mention the --omit-dir-times option. M NEWS commit 54e66f1d5968b1dfb5c9cd352875960ccd544986 Author: Wayne Davison Date: Mon Jan 24 00:51:38 2005 +0000 Document --omit-dir-times. M rsync.yo commit 82471e68a8bb3da8ca95f2b6564c330c52ce891e Author: Wayne Davison Date: Mon Jan 24 00:51:34 2005 +0000 Honor the new omit_dir_times var. M rsync.c commit 20fb7b917572d9d7ee8d537946cafebd2e3633fa Author: Wayne Davison Date: Mon Jan 24 00:51:32 2005 +0000 Added --omit-dir-times (-O). M options.c commit 859fdaad45aa76afac8bee856dc7b5a6c0ba0e0b Author: Wayne Davison Date: Mon Jan 24 00:34:53 2005 +0000 Mentioned the --dirs and --list-only options. M NEWS commit 09ed309996859edb9cade46a67f57bc5c29ba673 Author: Wayne Davison Date: Mon Jan 24 00:17:42 2005 +0000 - Changed --keep-dirs (-k) into --dirs (-d). - Document --list-only. M rsync.yo commit 65e4cda05976751030ccf280c96edb627584a496 Author: Wayne Davison Date: Mon Jan 24 00:17:39 2005 +0000 - Changed --keep-dirs (-k) into --dirs (-d). - Renamed keep_dirs to xfer_dirs. - Mention --list-only in the --help. M options.c commit 7e037c422653e58b3901188718fe910bf21ac371 Author: Wayne Davison Date: Mon Jan 24 00:17:36 2005 +0000 Renamed keep_dirs, "xfer_dirs". M flist.c commit f636c384400a4f40f21be711c5b4943ffad30047 Author: Wayne Davison Date: Sun Jan 23 16:49:09 2005 +0000 Document the new --keep-dirs option. M rsync.yo commit b98f040ef25bc692ad3864244eed620611f79048 Author: Wayne Davison Date: Sun Jan 23 07:27:01 2005 +0000 Go back to requiring -r for deletes to happen. M main.c M receiver.c commit e57211c544a0171e54cb6e1ccf30355c060a68a3 Author: Wayne Davison Date: Sun Jan 23 01:25:36 2005 +0000 When an option defined with POPT_ARG_VAL is being refused, we must change it to POPT_ARG_NONE or it won't be refused. M options.c commit 48a1ff0d45dd8a1ba9330c6f4c4bc5bc9b25b30d Author: Wayne Davison Date: Sat Jan 22 22:48:40 2005 +0000 - Use the new delete_before var. - Check the "keep_dirs" var instead of "recurse" to decide if delete is appropriate. M main.c commit 032dcf74b0bdbdff0e0ce5c60bee7f79dfc394a8 Author: Wayne Davison Date: Sat Jan 22 22:48:37 2005 +0000 Check the "keep_dirs" var instead of "recurse" to decide if delete-after is appropriate. M receiver.c commit 51d4839861474ac5787f9540d99cecbaaf71aa1f Author: Wayne Davison Date: Sat Jan 22 22:48:34 2005 +0000 - We now set a delete_before variable for the --delete option. - Reordered some of the options in the --help list. - Made the popt-handling of the delete options simpler. - Parse the new --keep-dirs option. - Parse the new --list-only option. - Set recurse to -1 (infinite) for the -r and -a options. - Set keep_dirs for --list-only. M options.c commit 9f125ea7c1a55f8c86b2efe296ba750d7ccb9106 Author: Wayne Davison Date: Sat Jan 22 22:48:31 2005 +0000 - Implemented a new handling of the recurse variable: if it is < 0, it specifies infinite recursion, otherwise it contains a count of how many levels of recursion we will allow. - If the user is processing/listing a non-recursive directory/ arg, send the contents. M flist.c commit 9bcb25958de5e2b6a852f67122472cc66471525f Author: Wayne Davison Date: Sat Jan 22 22:48:27 2005 +0000 - Mustn't override a user-specified list_only value. - Moved the computing of the options for the server down until after we've figured out the protocol_version for the transfer. - If we're talking to a protocol-29 server in list-only mode, force the new --list-only mode (which avoids the -r with --exclude="/*/*" kluge). - Output the options we sent to the daemon if verbose > 1. M clientserver.c commit 866925bfb7408dd321247c27889f012c667a07d9 Author: Wayne Davison Date: Sat Jan 22 20:32:03 2005 +0000 Changed the order of a few of the options in the options summary. M rsync.yo commit f8b3c05311b591e45fce024665335b5d4787ebe4 Author: Wayne Davison Date: Sat Jan 22 20:28:17 2005 +0000 Mustn't override a user-specified list_only value. M main.c commit 353f272434cb7e2a9007ecdc5a9b234fe0f66325 Author: Wayne Davison Date: Sat Jan 22 20:27:22 2005 +0000 Changed a comment. M exclude.c commit 3d54c6ec464c7f192ac3377165cbc7068108edd5 Author: Wayne Davison Date: Sat Jan 22 08:11:43 2005 +0000 Moved the /proc/mounts literal string nearer to the top. M support/mnt-excl commit 71e27c463d286ebf75a63533ad3701d79b9ba1d3 Author: Wayne Davison Date: Fri Jan 21 00:34:37 2005 +0000 - Changed XMIT_TOP_DIR to XMIT_DEL_START. - Changed FLAG_TOP_DIR to FLAG_DEL_START. M flist.c M receiver.c M rsync.h commit 8c48382049712e11691ca99a4c7583510abf1a32 Author: Wayne Davison Date: Thu Jan 20 23:57:35 2005 +0000 Don't mention when the file-list is first allocated, just when it expands. M flist.c commit 11781089d1d487c663d6e5a479b96ca118c8a38b Author: Wayne Davison Date: Thu Jan 20 23:51:57 2005 +0000 In delete_file(): got rid of DEL_NO_RECURSE code and added DEL_RECURSE code. Improved the verbose output of a recursively deleted directory when --dry-run is specified. M rsync.c commit d97fd43a7233b083a06ae793620f12fe5751487f Author: Wayne Davison Date: Thu Jan 20 23:51:55 2005 +0000 Decided that delete_in_dir()'s call to delete_file() would be better using DEL_RECURSE. M receiver.c commit f5ea4b3b3944256a4d569191d3f6738690552d44 Author: Wayne Davison Date: Thu Jan 20 23:51:52 2005 +0000 Changed DEL_NO_RECURSE to DEL_RECURSE. M rsync.h commit f227ffe4b9d7decb5e59e7c1b0c7168ec9c671a6 Author: Wayne Davison Date: Thu Jan 20 23:01:34 2005 +0000 Moved the dry_run check in set_perms() so that it only triggers if we don't have a stat-buffer (and returns 1, not 0). M rsync.c commit 027428eb1d7524815d9b29f825033d7902258db5 Author: Wayne Davison Date: Thu Jan 20 22:59:54 2005 +0000 Got rid of the erroneous --dry-run short-circuit in the directory handling. M generator.c commit 15778afbdcd66d360219d24240751e9e256cbe6a Author: Wayne Davison Date: Thu Jan 20 22:58:30 2005 +0000 In set_modtime(), the verbose message should be output even if --dry-run was specified. M util.c commit d06f63287e3e6ebefb5586bf96a7f6776edfd4d5 Author: Wayne Davison Date: Thu Jan 20 22:43:32 2005 +0000 - Got rid of the uint64 typedef. - Changed the dev/inode vars to use int64. M rsync.h commit 1490812ab2b5a49996c75fbe608a49c853f19636 Author: Wayne Davison Date: Thu Jan 20 22:42:47 2005 +0000 Switched uint64 vars over to int64. M flist.c M generator.c M options.c commit 707415d4fcd0f8fd7d5688268b94a17490ecfbc6 Author: Wayne Davison Date: Thu Jan 20 22:37:38 2005 +0000 Use int64 instead of uint64. M lib/pool_alloc.c commit 9cea6ef1b64d0425afc09fe66bfbf96331c324ec Author: Wayne Davison Date: Thu Jan 20 19:31:42 2005 +0000 Improved a confusing sentence in the description of subcomponent include/exclude matching. M rsync.yo commit 48ea74bf018a0f52ce5871d3fb0560a8a98dabb2 Author: Wayne Davison Date: Thu Jan 20 00:53:15 2005 +0000 When outputting the file list created for the delete pass, identify it as such. M flist.c commit 026deaf75908b52c9dd5390fd88f3810ee2f161f Author: Wayne Davison Date: Wed Jan 19 21:07:09 2005 +0000 Added an example of running mnt-excl remotely via ssh for a pull. M support/mnt-excl commit 4c599711942edaad7c69f6e19387729586e8bbea Author: Wayne Davison Date: Wed Jan 19 21:00:26 2005 +0000 A perl script that outputs excludes for all mount points that affect the supplied source dir (or all mount points if the arg is omitted). The excludes are appropriately anchored relative to the supplied dir, and honor rsync's trailing-slash idiom. A support/mnt-excl commit fd8571c2c9620ea5e637e5da369c48fd5f664294 Author: Wayne Davison Date: Wed Jan 19 20:32:25 2005 +0000 Mention a change in the verbose output when deleting directories. M NEWS commit dd096ae080bbd67f928a5220e79b170946534efc Author: Wayne Davison Date: Wed Jan 19 20:11:03 2005 +0000 - Updated delete_file() to take a flag arg that makes it more flexible. Optimized away a stat() call since the caller knows if the item to delete is a directory or not. - Tweaked delete_file()'s "deleting ..." messages to include a trailing slash when we're deleting a directory. - No need for conditional code around do_lstat() anymore. M rsync.c commit eb1accaa9197bb157870601b208c8f35778f3c32 Author: Wayne Davison Date: Wed Jan 19 20:11:00 2005 +0000 Define the new DEL_* flags. M rsync.h commit 7e38410e47a05b2b97c58212d08a1d65c8c452b4 Author: Wayne Davison Date: Wed Jan 19 20:10:57 2005 +0000 - Moved write_sum_head() to io.c. - Use the new delete_file() calling syntax. M generator.c commit d336388403e89f9c3ce7f5e0db564fe9fd4e1952 Author: Wayne Davison Date: Wed Jan 19 20:10:53 2005 +0000 Got rid of delete_one() since we can (and do) use the updated delete_file() call now. M receiver.c commit c207d7ec625a74b4406934a88922108b4b993b28 Author: Wayne Davison Date: Wed Jan 19 20:10:50 2005 +0000 Moved write_sum_head() here from generator.c. M io.c commit 018b28328c7ac0f4f99739d7dff13aa2f32b853d Author: Wayne Davison Date: Wed Jan 19 19:30:29 2005 +0000 No need for conditional code around do_lstat() anymore. M backup.c M tls.c M util.c commit 0957a7463e6a69e75b52dacdb0455fbf7a01268c Author: Wayne Davison Date: Wed Jan 19 19:29:20 2005 +0000 When SUPPORT_LINKS is not defined, we now go ahead and provide the do_lstat() function and just have it call do_stat(). M syscall.c commit c72f5bd9c4e60584cf574fc677883b5df4fe098e Author: Wayne Davison Date: Wed Jan 19 00:34:13 2005 +0000 A slight simplification to the no-implied-dirs change. M options.c commit 0f57446da7a9725a31f121084f0b2c3179b76875 Author: Wayne Davison Date: Wed Jan 19 00:24:35 2005 +0000 Use the new "keep_dirs" var instead of separately checking the "recurse" and "files_from" vars. This also simplifies the case where the code wants to send the implied dirs without recursing. M flist.c commit 3a90ea0acdc1414904959e4629c9c255be792e29 Author: Wayne Davison Date: Wed Jan 19 00:23:32 2005 +0000 - Added new int, keep_dirs, which is set if either recurse or files_from was specified. - Pass the the sender the --no-implied-dirs option if --relative was specified (or implied) and the sender is not the client. M options.c commit 58af2f958cc9d66f09a58f24d4bfc153f63a6846 Author: Paul Green Date: Tue Jan 18 21:19:42 2005 +0000 Fix typo in handling of lchown when the host operating system does not implement it. It should get mapped to chown. M syscall.c commit a8fd4161bbb4b67f90ec53f2d718c044c9efab08 Author: Wayne Davison Date: Mon Jan 17 23:55:15 2005 +0000 Mention the latest changes. M NEWS commit 53f8519a383dc0ce8d9689eedf7580f3ad343d1a Author: Wayne Davison Date: Mon Jan 17 23:11:26 2005 +0000 For --inplace over protocol-version 29 or greater, read the type the type of basis file the generator is using from the socket and set the new updating_basis_file var. M sender.c commit eb162f3b0ad0fd9d7b2c93abf64a5dcc4316eb00 Author: Wayne Davison Date: Mon Jan 17 23:11:22 2005 +0000 Mention the change in restrictions for --inplace. Also talk about how --backup makes an --inplace transfer more optimal. M rsync.yo commit 4ce838e1f107239f1b18f3f8cd7c7fbab65e0bd5 Author: Wayne Davison Date: Mon Jan 17 23:11:18 2005 +0000 We don't need to complain about --inplace being combined with one of the --FOO-dest options anymore. M options.c commit a36ffd39109cd910a5102e83333d77641c1e6227 Author: Wayne Davison Date: Mon Jan 17 23:11:13 2005 +0000 Changed the checks for --inplace to use the new updating_basis_file variable. M match.c commit 17b5b32f75d4d00e00ff2664ca905c797f455bb1 Author: Wayne Davison Date: Mon Jan 17 23:11:05 2005 +0000 For --inplace over protocol-version 29 or greater, tell the sender what kind of a basis file we've selected. M generator.c commit 9b919d590a1e040c49b10072f97fe17d45eafda4 Author: Wayne Davison Date: Mon Jan 17 22:51:29 2005 +0000 - Moved read_sum_head() to io.c (because the generator uses it too). - Tweaked the read_size var (formerly map_size) that gets passed to map_file(). M sender.c commit 80264051d88a6d845fe6338372e036cdfc0e0414 Author: Wayne Davison Date: Mon Jan 17 22:51:27 2005 +0000 Tweaked the read_size var (formerly map_size) that gets passed to map_file(). M receiver.c commit 188fed9570d7a5cb5c28f259c3be85437bc10cc6 Author: Wayne Davison Date: Mon Jan 17 22:51:24 2005 +0000 Moved read_sum_head() here from sender.c (because the generator uses it too) and improved it with better error checking. M io.c commit eae7165c797a9546b50aed0efbc70bae7880bf0b Author: Wayne Davison Date: Mon Jan 17 22:51:21 2005 +0000 Make sure that we don't compute a block size larger than MAX_BLOCK_SIZE. M generator.c commit 54281fe73365df649520900e8562a286dd04a28d Author: Wayne Davison Date: Mon Jan 17 22:51:17 2005 +0000 - Changed the map_size parameter to map_file() to be an int32 named "read_size". - Changed some int vars in map_ptr() needed to be int32 vars. - All callers expect map_ptr() to return back the full "len" bytes, so we never shorten this value, even near EOF--the read will just get zero-padded, as needed. - Die with an error if someone calls map_ptr() with a len < 0, or if read_size is computed as a value < 0. M fileio.c commit 2b2ea368aad5770211f61f641ffb46c5f32810ac Author: Wayne Davison Date: Mon Jan 17 22:51:15 2005 +0000 - Incremented the PROTOCOL_VERSION to 29. - Added define for MAX_BLOCK_SIZE. - Reorder the variables in the structure defs to sort by size. - Some vars in map_struct needed to be int32 instead of int. M rsync.h commit 67a28eb2560121c413a4a00eb493dc0beb77c249 Author: Wayne Davison Date: Mon Jan 17 22:25:53 2005 +0000 Got rid of an unneeded assert(). M main.c commit f5d96a6f80a176710f9a93a491ef859152ee1ef4 Author: Wayne Davison Date: Mon Jan 17 22:24:08 2005 +0000 Added a commented-out RSYNC initialization that uses valgrind. M runtests.sh commit 44ac015598b61bf4a5d9c65da18bfe516f12674e Author: Wayne Davison Date: Mon Jan 17 22:23:09 2005 +0000 Put double-quotes around the --rsync-path arg. M testsuite/ssh-basic.test commit 89a9c0545ea57e0d5f2592ed16a210d9b2921630 Author: Wayne Davison Date: Mon Jan 17 06:00:44 2005 +0000 Collapsed two sed invocations into one. M runtests.sh commit 3b26bba0c44c38d33888f375385a8697adc56f7c Author: Wayne Davison Date: Sat Jan 15 21:23:04 2005 +0000 Fixed an off-by-one comparison against MAX_BASIS_DIRS. M options.c commit 2be2fb3ed37af204267e90be65e60250991cb6e1 Author: Wayne Davison Date: Sat Jan 15 21:17:39 2005 +0000 Use the new FNAMECMP_BASIS_DIR_HIGH to improve a compare-dest check. M generator.c commit e341588a8ab99ed14669782f839ff1807ab616e4 Author: Wayne Davison Date: Sat Jan 15 21:17:36 2005 +0000 Define FNAMECMP_BASIS_DIR_LOW and FNAMECMP_BASIS_DIR_HIGH instead of FNAMECMP_BASIS_DIR. M rsync.h commit c56595d7497121629c5a4a94786280bfa6074bc4 Author: Wayne Davison Date: Sat Jan 15 21:14:27 2005 +0000 Make sure that the generator sent us a valid index into basis_dir[]. M receiver.c commit ce0b384fa69a0b4dc3323cc3fef815a03bcaa555 Author: Wayne Davison Date: Sat Jan 15 21:12:58 2005 +0000 Made basis_dir_cnt non-static. M options.c commit dfd7d541b0bab0e4ead576ba0f459a522389ec22 Author: Wayne Davison Date: Sat Jan 15 20:54:25 2005 +0000 Made compare_dest non-static. M options.c commit ded4daf04910e15a9bafa523042ec02a2a745504 Author: Wayne Davison Date: Sat Jan 15 20:22:54 2005 +0000 Some inplace-checking code should have been inside the #ifdef that handles the case where --inplace cannot be supported. M options.c commit 361428213bcc29216d968ff7262e45a8a209907c Author: Wayne Davison Date: Sat Jan 15 20:06:48 2005 +0000 Simplified the logic in allow_access() and tweaked some whitespace. M access.c commit 12a79db2f618d0776c53c54d30149138f6aa1c0a Author: Wayne Davison Date: Sat Jan 15 04:40:06 2005 +0000 Simplified one "if" that checks if one of the --FOO-dest options was specified. M options.c commit e8b155a3bef9531f14b7fcca8b6e81fbdd3b9fba Author: Wayne Davison Date: Fri Jan 14 19:49:35 2005 +0000 Improved the docs on --delete and --delete-after. M rsync.yo commit 716b46c550d12c14dc198bebafcca8ec7ebc3c76 Author: Wayne Davison Date: Fri Jan 14 19:23:20 2005 +0000 - We now remove the DEST~old~ dir instead of renaming it to DEST~new~. - Improved the usage message and added an introductory comment. M support/atomic-rsync commit 9d954dca8c17732f4d4cdc48218d02c20795622a Author: Wayne Davison Date: Fri Jan 14 18:20:46 2005 +0000 Make sure that the presence of a partial-dir file is noted, even if --whole-file is in effect. Also needed to force statret to 0 when using a partial-dir file. M generator.c commit 7162c65df75c2cf20423e74776c9f6037518b6b0 Author: Wayne Davison Date: Fri Jan 14 18:18:31 2005 +0000 We also need the "name pipe" from the generator to the receiver when --partial-dir was specified. M main.c commit bd9fca47087cef1fc2d63f6f198d0d30da9ce6a4 Author: Wayne Davison Date: Fri Jan 14 18:17:32 2005 +0000 For the "unexpected tag" or "multiplexing overflow" messages, we now output who_am_i() so we know who had the problem. M io.c commit 14d496cc8b5dceffbb58b08bdac530def620eecc Author: Wayne Davison Date: Thu Jan 13 22:01:56 2005 +0000 Aid forward-compatibility in the include/exclude syntax by putting a "- " in front of any name that starts with a '+' or a '-' and would otherwise be unprefixed (the old code only did this if the '+' or '-' was followed by a space). M exclude.c commit 106a8ad918498850614791736f508dcb2244af56 Author: Wayne Davison Date: Wed Jan 12 19:20:07 2005 +0000 - Allow multiple source paths to be specified (and checked). - Allow spaces and a few other extra chars in file names. - For safety, disallow any option that takes an arg. This should be improved in the future because it blocks options such as --block-size=N, but without this rule the user could specify something like --files-from=FILE or --backup-dir=DIR and have it affect files outside the desired SUBDIR restriction. - Switched to SSH_CONNECTION from the deprecated SSH_CLIENT. - Strip "::ffff:" from the start of an IP from SSH_CONNECTION. M support/rrsync commit 44a82a175dbdb34fd2d944b5d21926e9f5348e55 Author: Wayne Davison Date: Wed Jan 12 18:48:26 2005 +0000 This is Joe Smith's rrsync (restricted rsync) perl script. A support/rrsync commit 99248631aaf80600a6b15fe3e0adc3847cbe6c0f Author: Wayne Davison Date: Tue Jan 11 18:37:37 2005 +0000 A simple Makefile. A support/Makefile commit 2836ee9b0261607dd9d3b6d7f605394386b0a93b Author: Wayne Davison Date: Tue Jan 11 18:36:31 2005 +0000 A debug program to help diagnose data-transfer corruption problems. A support/savetransfer.c commit d82773ffe927866fe0a32599fb4d22992bf1f1c6 Author: Wayne Davison Date: Mon Jan 10 20:52:08 2005 +0000 Fixed the file_checksum1() function that is compiled only when TEST_MDFOUR is defined: it did not have the fix that the main rsync code got back in protocol 27 to properly handle files that are a multiple of 64-bytes long. M lib/mdfour.c commit ec626b3f0ed6d85673d45f8f2afeb5e4946039f5 Author: Wayne Davison Date: Mon Jan 10 10:08:59 2005 +0000 Two more fixes. M NEWS commit 997d9ea67fea5bc3e0fb8d8ca8d742a0ae95b47e Author: Wayne Davison Date: Mon Jan 10 10:03:12 2005 +0000 Added a "overwriting_basis" arg to finish_transfer(). M rsync.c commit aec6b9f86f75a562768aeb8d3848fd5da6a675c0 Author: Wayne Davison Date: Mon Jan 10 10:03:10 2005 +0000 - Call finish_transfer() with its new arg. This ensures that we only create a backup file if we're about to overwrite the basis file. - Only clear make_backups for the redo phase if partial_dir isn't set. M receiver.c commit d45898df8028db0ae2112d3c4553860643a1717f Author: Wayne Davison Date: Mon Jan 10 10:03:06 2005 +0000 Call finish_transfer() with its new arg. M cleanup.c commit b0da4b23a0802fef22390ae21390968689e93033 Author: Wayne Davison Date: Mon Jan 10 00:31:55 2005 +0000 Moved the reading of the final MSG_DONE message here from main.c (this message comes from the receiver). This ensures that any redo-pass files and delete-after processing are known to be done prior to the start of our hard-link and dir-time-munging loops. M generator.c commit bf18b7ca671e877715c1b139ae3859de6858ad54 Author: Wayne Davison Date: Mon Jan 10 00:31:55 2005 +0000 Moved the reading of the final MSG_DONE message from here to generator.c (the message comes from the receiver). This ensures that any redo-pass files and delete-after processing are known to be done prior to the start of the hard-link and dir-time-munging loops. M main.c commit cc17fbfe7dbe8f603f53a3957e2369802f0bd81f Author: Wayne Davison Date: Thu Jan 6 17:15:36 2005 +0000 Mention new atomic-rsync script. M NEWS commit fa170b2e5a684891e6b31f7fcf31b545f5db2fcf Author: Wayne Davison Date: Thu Jan 6 17:13:31 2005 +0000 A perl script to effect an atomic transfer of a set of files. A support/atomic-rsync commit c61ba345f25c053377b42c49d84a535b0b1af393 Author: Wayne Davison Date: Mon Jan 3 23:01:19 2005 +0000 Decided that a cross-compling configure should default the chown-follows-symlinks check to "yes". M configure.in commit ae09fb1f9139fedd02680cceb953b4c96f52d468 Author: Wayne Davison Date: Mon Jan 3 22:49:14 2005 +0000 Improved the last addition. M NEWS commit 70a2c84cd2cdfa834edccf3a82cbe22618a3dd67 Author: Wayne Davison Date: Mon Jan 3 22:47:55 2005 +0000 If lchown() is not available, we only skip the call to chown() for a symlink if it will try to follow the symlink (as a normal OS should). M rsync.c commit 21524e30838f8bae37dd8679169c1cb5e4352e83 Author: Wayne Davison Date: Mon Jan 3 22:42:55 2005 +0000 - Added a test to see if chown() follows symlinks. - Check for getpgrp() and tcgetpgrp(). M configure.in commit fbe2aba2e7c0e9836f57617e259d354cf956c56a Author: Wayne Davison Date: Mon Jan 3 21:07:02 2005 +0000 Mention lchown() fix. M NEWS commit a41a1e87182410ec6c2eeaddb0cd961ec554c404 Author: Wayne Davison Date: Mon Jan 3 21:05:39 2005 +0000 If there is no lchown(), don't try to set the user & group of a symlink. M rsync.c commit 051547603a1f094b5e21cd955ed00a1711ebf1fb Author: Wayne Davison Date: Mon Jan 3 21:03:33 2005 +0000 Moved kluged (conditional) define of lchown from rsync.h to syscall.c. M rsync.h M syscall.c commit 80a25bb88076453bbd2a2e00d697fd6b03ad4a7b Author: Wayne Davison Date: Sun Jan 2 09:08:59 2005 +0000 Backed out changes to send_deflated_token() that surrounded the call to deflate(..., Z_INSERT_ONLY) -- the underlying bug was caused by the zlib code not handling Z_INSERT_ONLY in the case where the server has disabled compression. M token.c commit 0301b334c7a588a2f192b7eeb796156e8f5f8f0b Author: Wayne Davison Date: Sun Jan 2 09:03:44 2005 +0000 Fixed Z_INSERT_ONLY support in deflate_stored(). M zlib/deflate.c commit 1492b4b2b20d6dddc5eb22909a6853b0e96a50c5 Author: Wayne Davison Date: Sun Jan 2 08:49:47 2005 +0000 The deflate_stored() function needed to support Z_INSERT_ONLY. M zlib/deflate.c commit 5b7bcac26081ae72da6c5d2e6d8247de17f36b93 Author: Wayne Davison Date: Sun Jan 2 00:55:55 2005 +0000 In send_deflated_token(), the section that handles "token != -2" now breaks up the calls to deflate() into CHUNK_SIZE chunks, just like the other sections of the code. M token.c commit 7fcbf9e43e05c7c8fad4771b7cf8ac9c6ddc655a Author: Wayne Davison Date: Sat Jan 1 21:08:20 2005 +0000 - Use an int32 for the each block-size variable. - Fixed a problem in send_deflated_token() where the data we are compressing might not finish processing in one call. M token.c commit 6c495e0da4b74a43adb9344f77efbb41908401a1 Author: Wayne Davison Date: Sat Jan 1 21:08:17 2005 +0000 - Use an int32 for the each block-size variable. - Fixed a potential overflow in the map_size calculation. M receiver.c M sender.c commit a06b419d425294588bbc6ef943246e78ca16cd73 Author: Wayne Davison Date: Sat Jan 1 21:08:14 2005 +0000 Use an int32 for the each block-size variable. M match.c M options.c M rsync.h commit a255c592e8fa9e4570ebbf333e95a402f9e84a03 Author: Wayne Davison Date: Sat Jan 1 21:08:11 2005 +0000 - Use an int32 for the each block-size variable. - Improved the layout and error-checking of the code that calculates the block-size and the number of checksum bits. M generator.c commit 7aac6604c4642b93b619ac03c56e9877437bcce3 Author: Wayne Davison Date: Sat Jan 1 21:08:07 2005 +0000 - Use an int32 for the each block-size variable. - Renamed the local block_size arg to blk_size (to avoid confusion with the global block_size variable). M fileio.c commit deb5bf1dffcfc0507befb1c5fa61d16dea607048 Author: Wayne Davison Date: Sat Jan 1 21:08:05 2005 +0000 - Use an int32 for each checksum length variable. - Simplified some of the code, removing a useless memcpy(). M checksum.c commit 3dfe6e97a7e98c418479f5f0671f19c87f762697 Author: Wayne Davison Date: Fri Dec 31 09:41:04 2004 +0000 Since lp_bind_address() can't return NULL, we need to check if it is an empty string and ignore it when it is. M clientserver.c commit 43bab4035b1f6617bb951f053733fabf9f962c2d Author: Wayne Davison Date: Fri Dec 31 00:41:32 2004 +0000 A minor improvement to the just-committed code. M clientserver.c commit ef0c03ff700d19de29a797f0ab77963a6ac0beaa Author: Wayne Davison Date: Fri Dec 31 00:39:59 2004 +0000 The code that tries to read an error from the socket in an abnormal- exit situation was properly forcing the io_timeout value down to 30 seconds, but failing to set the select_timeout value. M io.c commit ad54dcc827451383222d1cf12d33038ba7f49447 Author: Wayne Davison Date: Fri Dec 31 00:35:03 2004 +0000 Set select_timeout if the per-module timeout value was lower than the default select_timeout value. M clientserver.c commit c0ab28d1d9bf3ba10822c50a480e4c27ee2af3da Author: Wayne Davison Date: Wed Dec 22 09:10:08 2004 +0000 If we send --files-from to the remote server and relative-paths are not enabled, we need to also send --no-relative. M options.c commit 5b2f48da274b077ed74ebc584854c7b2d88cbf40 Author: Wayne Davison Date: Thu Dec 16 22:48:31 2004 +0000 Mention latest fix. M NEWS commit 132fcf36b282b09de835df5fc8f3672bb21fea6f Author: Wayne Davison Date: Thu Dec 16 22:47:36 2004 +0000 The "ignore nonreadable" daemon parameter no longer affects symlinks that are being copied, even if they point nowhere. M flist.c commit 4571df58c6447337d564b409a866cad38a85a691 Author: Wayne Davison Date: Tue Dec 14 19:41:19 2004 +0000 Got rid of the rare failure caused by a directory-time mismatch. M testsuite/merge.test commit f6b384d41f056dea0ec9a0abe873be078fb09570 Author: Wayne Davison Date: Mon Dec 13 17:22:32 2004 +0000 Don't call do_lstat() unless SUPPORT_LINKS is defined. M tls.c commit c259892c3ad27c43f901133c1d7e8921b36eae0c Author: Wayne Davison Date: Wed Dec 8 17:30:40 2004 +0000 Document the client version of the --port option. M rsync.yo commit b4713295919e1f0c91c0e6bca7552b69dcccd05b Author: Wayne Davison Date: Wed Dec 8 17:29:54 2004 +0000 Allow --port to be used in client mode (as well as daemon mode). M options.c commit 3add5835db9692bd6e527e625f7114ac8ed0bdef Author: Wayne Davison Date: Wed Dec 8 17:11:15 2004 +0000 If rsync_port is 0, set it to RSYNC_PORT. M clientserver.c commit cf510ad2c545b04e689b5e0ad636de3efcedba75 Author: Wayne Davison Date: Wed Dec 8 17:09:59 2004 +0000 Switching to a better rsync_port fix. M main.c commit 696a8d6191ef14a39196ec7d6f284e6461cdb05d Author: Wayne Davison Date: Mon Dec 6 22:45:10 2004 +0000 Document the new "address" global option. M rsyncd.conf.yo commit 01f8a1155f4dbb6a3f2fdeabdf7b2a361d8bb237 Author: Wayne Davison Date: Mon Dec 6 22:45:07 2004 +0000 Made --port and --address point the user at the relevant global options in the rsyncd.conf manpage. M rsync.yo commit 986aaaaa4b8dad49b8574905fec4048c4f53f167 Author: Wayne Davison Date: Mon Dec 6 22:45:03 2004 +0000 Check the global option "address" if the user didn't specify an --address option when starting the daemon. M clientserver.c commit c96ee2310df43e88c8391f220dcad83187586dec Author: Wayne Davison Date: Mon Dec 6 22:45:00 2004 +0000 Added support for the "address" option. M loadparm.c commit 76cb2a3a4f2708c07e6ac81a23b2d39aad419bbe Author: Wayne Davison Date: Mon Dec 6 17:57:06 2004 +0000 Set default port value for a :: file-spec without a port number. M main.c commit 9bef934c760e181f62198326c091ea910bc9f39c Author: Wayne Davison Date: Fri Dec 3 01:31:24 2004 +0000 Improved the examples for the --relative option. M rsync.yo commit 85f14172dc8e0caeff77444e7621724d68b912b9 Author: Wayne Davison Date: Thu Dec 2 17:16:19 2004 +0000 Check the return value of flush_write_file() and report an error if it reports failure. M receiver.c commit 4539c0d79f19fde141824c60a58cc256724b4fed Author: Wayne Davison Date: Tue Nov 30 20:43:06 2004 +0000 Improved the description of the --update option. M rsync.yo commit c3131af90ae78cdb0250eb3a0ea6047ed26e2b61 Author: Wayne Davison Date: Tue Nov 30 06:07:50 2004 +0000 Improved some of the descriptions. M NEWS commit c2c14fa26e4fc325748bbad02b577e89f7d8038e Author: Wayne Davison Date: Mon Nov 29 17:09:31 2004 +0000 Removed some redundant words in a sentence. M rsync.yo commit e49f61f5fc5d43866aa442cde5309e7f6b33a44a Author: Wayne Davison Date: Sat Nov 27 22:09:33 2004 +0000 Make some of the --*-dest comments clearer and more complete. M rsync.yo commit 22f5bd5e35a0b148a8f9b0c0bb9d18827e6996b7 Author: Wayne Davison Date: Sat Nov 27 21:55:05 2004 +0000 Improved some of the items. M NEWS commit 7a1b73b9837c80b5d3fa65fc372864afa9b39fec Author: Wayne Davison Date: Sat Nov 27 18:26:30 2004 +0000 Mentioned the latest enhancements. M NEWS commit 0c56b1add7d171499ae60c03b2eee3615f50e8ff Author: Wayne Davison Date: Sat Nov 27 18:24:12 2004 +0000 Allow "port" to be specified in the rsyncd.conf file. M clientserver.c M loadparm.c M options.c M rsyncd.conf.yo commit 1e60969646e6b4fbdbcde834493289a634aca5f7 Author: Wayne Davison Date: Sat Nov 27 17:59:48 2004 +0000 Added tests for multiple --compare-dest options and --copy-dest. M testsuite/compare-dest.test commit ee297522170840710abacbde52fd1ad97d6ba1d4 Author: Wayne Davison Date: Sat Nov 27 17:56:58 2004 +0000 Added support for multiple --*-dest options. M receiver.c commit e012f858d6e8cbfdecc7863f7a3555e54dd04eee Author: Wayne Davison Date: Sat Nov 27 17:52:51 2004 +0000 - Added parsing for --copy-dest. - Added support for multiple --*-dest options. M options.c commit c3fad2e227be9d8a7636a9eb4f90ed22a3274e8c Author: Wayne Davison Date: Sat Nov 27 17:52:49 2004 +0000 The compare_dest variable changed. M main.c commit b7e8628c4bc66be139ae1a7efcb16034c146edb7 Author: Wayne Davison Date: Sat Nov 27 17:52:47 2004 +0000 - Added support for --copy-dest, which behaves like --link-dest, but it copies the identical files instead of hard-linking them. - Added support for multiple --*-dest options. M generator.c commit e4977b0b9f58ff54c34dea25a4a59f164fd6b6e5 Author: Wayne Davison Date: Sat Nov 27 17:52:45 2004 +0000 - Define MAX_BASIS_DIRS. - Renamed FNAMECMP_CMPDEST to FNAMECMP_BASIS_DIR. M rsync.h commit b127c1dc58aa90ac3dc132a31ea01a1ecdb63303 Author: Wayne Davison Date: Sat Nov 27 17:52:42 2004 +0000 Document --copy-dest and the support for multiple --*-dest options. M rsync.yo commit 07bff66fb5740d91fde22e733ca180f8e9acbb57 Author: Wayne Davison Date: Sat Nov 20 17:10:54 2004 +0000 Fixed a socket-data conflict when verbosity is >= 2 and the files-from list is coming from a remote receiver. M main.c commit 4a888ae6d4c688c737dcbb4635330db86bc6defd Author: Wayne Davison Date: Sat Nov 20 07:23:20 2004 +0000 Mention latest fix. M NEWS commit a0a33ee50659b6d67bfdeb593af9f8df216ce97b Author: Wayne Davison Date: Sat Nov 20 07:08:44 2004 +0000 Call set_msg_fd_in() during the early phase of being a client sender so that we monitor the socket for any messages that it might send to us (and thus avoid a potential hang when verbosity is high). M main.c commit 98f8c9a5e54d90043248f8c64228e15a2baeec30 Author: Wayne Davison Date: Sat Nov 20 07:07:37 2004 +0000 Some minor improvements to read_msg_fd() made it safe to use both set_msg_fd_in() and read_msg_fd() during the early phase of being a client sender (up through the sending of the file list). This makes sure that the sender monitors the socket from the receiver for any messages that it might send to us, and thus avoids a hang when verbosity is high. M io.c commit 1f69bec48061b42c6515bbd4e5fbd1b6e7544a1d Author: Wayne Davison Date: Wed Nov 17 19:41:09 2004 +0000 Mention that the --bwlimit may now be combined with --daemon. M rsync.yo commit 8f1b4f3642944d7ca052ae84223e14ea93f8c10b Author: Wayne Davison Date: Wed Nov 17 19:35:11 2004 +0000 - Mention the latest enhancements. - Aged the 2.6.3 news into OLDNEWS. M NEWS commit ca39ebf9fbf20baa367d7bc5a01f01d635ff4ef7 Author: Wayne Davison Date: Wed Nov 17 19:34:31 2004 +0000 Aged the 2.6.3 release news. M OLDNEWS commit 9fb08441009bdb338f1907e784d17f9c0ced8ccb Author: Wayne Davison Date: Wed Nov 17 19:29:20 2004 +0000 - Added the --bwlimit option to the options that are handled in combination with --daemon. This value is both a default bwlimit value and a maximum limit if the client asks for something larger. - Enabled popt support for option aliases. M options.c commit bdf278f7a57df11ceb61007cad5e999559688446 Author: Wayne Davison Date: Wed Nov 17 19:11:53 2004 +0000 Separate the daemon options from the normal client options. M rsync.yo commit c8f2f8572fd29a10a077e7f0840cfe0d9170ab02 Author: Wayne Davison Date: Sat Nov 13 22:32:34 2004 +0000 Tweaked the error code for a pipe() failure. M main.c commit 5d54f33962161618e8fdf250dc435b02224d7662 Author: Wayne Davison Date: Sat Nov 13 21:50:56 2004 +0000 Mentioned the new fork() check. M NEWS commit ba449e444b36aee2464b47f84469bb6db186e39c Author: Wayne Davison Date: Sat Nov 13 21:49:26 2004 +0000 Die with an appropriate error if do_fork() fails. M main.c commit 87ba7282f696e74d78d4ff5f1d7f80c98a5fb946 Author: Wayne Davison Date: Thu Nov 11 01:45:31 2004 +0000 Mention the new --max-size option. M NEWS commit 7d1bfaf7bea9b50f382315a1f925ea797e83aec8 Author: Wayne Davison Date: Thu Nov 11 01:45:28 2004 +0000 Obey the max_size setting. M generator.c commit 7d5acf1d4472af7a2f80c3b217e1cb8bdffc312d Author: Wayne Davison Date: Thu Nov 11 01:45:25 2004 +0000 Added the --max-size option. M options.c commit 3610c4583a6b187fa6fc98ad0025340c6f840d53 Author: Wayne Davison Date: Thu Nov 11 01:45:22 2004 +0000 Document --max-size. M rsync.yo commit 41cfde6be388364f9bf7dfa9a532625b1f660df7 Author: Wayne Davison Date: Wed Nov 3 20:30:31 2004 +0000 Checking in the g2r-basis-filename patch that ensures that the receiver uses the same basis file that the generator used (avoiding a duplicate check that could cause a hang if a compare-dest file was a named pipe). M generator.c M io.c M main.c M receiver.c M rsync.h commit 34bde8d54af97d339f3cb8d8343566bcdb2a1e5b Author: Wayne Davison Date: Tue Nov 2 16:47:15 2004 +0000 Always include lib/snprintf.o when we include lib/compat.o. M Makefile.in commit 1ed55e3e3e4750e895cb0157013f3d8e03df4242 Author: Wayne Davison Date: Wed Oct 27 06:35:50 2004 +0000 Mention latest fix. M NEWS commit f80a8520e81d07a24f0db8776b75d8438edf9fb3 Author: Wayne Davison Date: Wed Oct 27 06:34:13 2004 +0000 Don't ever call make_backup() if we're removing a destination directory (just remove it). M receiver.c commit 740bab942d222473c706918d77fe9851c9a51766 Author: Wayne Davison Date: Mon Oct 18 20:44:09 2004 +0000 Mention the latest bug-fix. M NEWS commit 08b1b4860f7354916c777fd8ef16caa3f547ec7e Author: Wayne Davison Date: Mon Oct 18 20:41:57 2004 +0000 Fixed an off-by-one error in the handling of --max-delete=N. M receiver.c commit 18ea5dc0d7fa5893b1edd3602ab77f0b09272342 Author: Wayne Davison Date: Thu Oct 14 17:11:28 2004 +0000 Mention new option parsing. M NEWS commit 3ac7f5d4c132301058ea0533468d6828f71cefcb Author: Wayne Davison Date: Thu Oct 14 17:08:15 2004 +0000 Separate the daemon options so that the user can't mix client options with daemon options and visa versa. M options.c commit ad71500818e0998fe59ffb6a1530eeea629c1700 Author: Wayne Davison Date: Thu Oct 14 09:11:12 2004 +0000 It seems that some popt releases don't define POPT_TABLEEND, so don't use it. M options.c commit b2ad840a6b63db79ed4a38bf94c685c0a1159dbf Author: Wayne Davison Date: Tue Oct 12 20:08:51 2004 +0000 Decided we don't need the build_gen target after all. M Makefile.in commit 8db7cc2cff41908db7b8f1e9c06300cc0299a9df Author: Wayne Davison Date: Mon Oct 11 10:43:25 2004 +0000 - Got rid of some awkward spacing in the long_options table. - Use the POPT_TABLEEND macro to end the long_options table. - Improved the count_args() function to accept a NULL pointer. - Simplified the code that sets *argc using count_args(). M options.c commit ac1541f4b780037a726ffc3f09db108fb970f194 Author: Wayne Davison Date: Sun Oct 10 20:33:07 2004 +0000 Mention the latest changes. M NEWS commit 09e2bbce8a300a65d34d8f74dffbaa34de1955c7 Author: Wayne Davison Date: Sun Oct 10 20:31:54 2004 +0000 Call flush_write_file() in _exit_cleanup() if we are keeping a partially-received file. M cleanup.c commit 73496a36a1907112da0415005462fa0bb11d5500 Author: Wayne Davison Date: Fri Oct 8 21:27:22 2004 +0000 Handle systems where the makedev() macro is named mkdev(). M rsync.h commit 8303cc10215e252837e133a443146b585c639da9 Author: Wayne Davison Date: Fri Oct 8 19:52:38 2004 +0000 A new target, build_gen, works like gen w/o man-page generation. M Makefile.in commit ab759cd27becb80df39eb1a90e88c74cd7e9be77 Author: Wayne Davison Date: Thu Oct 7 17:02:39 2004 +0000 Improved an error message by using rsyserr(). M main.c commit 64444de5825409c30f8006e6af15be00803e9dbe Author: Wayne Davison Date: Thu Oct 7 17:00:36 2004 +0000 Mention in -a's usage message that -H isn't implied. M options.c commit e425fbe85d718e43e284b0c45c55db76f627e4e0 Author: Wayne Davison Date: Wed Oct 6 00:10:08 2004 +0000 Re-enable the "!" token-handling in a .cvsignore file. M exclude.c commit 4f4b2f092728d305d82fb1ff7892796dc1487071 Author: Wayne Davison Date: Fri Oct 1 06:58:23 2004 +0000 The device-handling code is no longer omitted based on HAVE_MKNOD (this is because do_mknod() might be using a different function to handle fifos and sockets without the help of mknod(). M backup.c M generator.c commit da6eb9d123caf52640ae0cd6017fb0b657188c89 Author: Wayne Davison Date: Fri Oct 1 06:56:14 2004 +0000 Improved do_mknod() so that it handles creating a fifo file and a socket file when mknod() itself does not. M syscall.c commit 1b15e07e99bd50df0fb95b0678a19634cbe11da5 Author: Wayne Davison Date: Fri Oct 1 06:53:26 2004 +0000 Make sure that all programs that use syscall.o also include lib/compat.o so that we can use strlcpy(). M Makefile.in commit e49d720081d5875bc7d13121e919633293dedb8e Author: Wayne Davison Date: Fri Oct 1 06:51:34 2004 +0000 - Check if struct sockaddr_un has a sun_len member. - Check if mknod() can make a fifo file. - Check if mknod() can make a socket file. M configure.in commit 3267d6a9ceeefad438080b17c02daa7775820803 Author: Wayne Davison Date: Fri Oct 1 02:34:22 2004 +0000 Some systems need do_mkstemp() to use setmode() to set O_BINARY. M syscall.c commit 3ba2c330e1ba90a2ef11508b62d74be8967b0770 Author: Wayne Davison Date: Fri Oct 1 02:31:10 2004 +0000 Check for the setmode() function. M configure.in commit 618c8a73db4fdccf911ec3b55eb214f1c0e54fba Author: Wayne Davison Date: Thu Sep 30 16:36:42 2004 +0000 Preparing for release of 2.6.3 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit aa0ea373cd8a97fb5fdf2234f38666d75dfbf18f Author: Wayne Davison Date: Thu Sep 30 10:46:43 2004 +0000 Mention the enhancement that was made (quite a while ago) to the daemon's wildcard-expansion limit (formerly 1000 items, now memory limited). M NEWS commit 6c3fda83ba97e423018147366d1029b9c4ca611b Author: Wayne Davison Date: Thu Sep 30 09:58:39 2004 +0000 Refined the text of a few of the news items. M NEWS commit a3571c6cce4325ac7802b555637fd24a868fab27 Author: Wayne Davison Date: Thu Sep 30 09:37:38 2004 +0000 - Mention the fix for lost output with 2>&1. - Prepare the file for the 2.6.3 final release. M NEWS commit 6fcedb7dbe10667f4e8287c8416174c2859c4279 Author: Wayne Davison Date: Thu Sep 30 09:36:29 2004 +0000 Mention the (anticipated) 2.6.3 release date. M OLDNEWS commit 18882701d2f775869f3402b7f26c69246b5be212 Author: Wayne Davison Date: Wed Sep 29 17:58:07 2004 +0000 Set our stderr output to blocking I/O to avoid any loss of output. M main.c commit 30c041f9adc3468805e696753e21955d3c68b9e6 Author: Wayne Davison Date: Fri Sep 24 17:04:05 2004 +0000 Changed the errors concerning the secrets file to output with FLOG instead of FERROR. M authenticate.c commit be7cf82299004d803d985b5ec9bec26b2562ec85 Author: Wayne Davison Date: Fri Sep 24 16:50:07 2004 +0000 - Make sure that match_address() always restores the "tok" string, even on error. - Turned the various FERROR messages into (the more proper) FLOG. M access.c commit fde045cd778e6b1f6ecb6189ed869e2a34195593 Author: Wayne Davison Date: Fri Sep 24 16:39:41 2004 +0000 Turned the various FERROR messages into (the more proper) FLOG. M clientname.c commit 183150b741e8a1f88017cae503082bc61f0dc187 Author: Wayne Davison Date: Thu Sep 23 21:15:04 2004 +0000 Added some more --inplace info (i.e. it implies --partial and conflicts with 3 basis-file-affecting options). M rsync.yo commit a2570930e80535cf6c3018e331098c9c73ef03bd Author: Wayne Davison Date: Thu Sep 23 17:39:05 2004 +0000 Made the refused-option message clearer, like Paul suggested. M options.c commit fdb6716c0f4518557eaf932f166421f351193ae3 Author: Wayne Davison Date: Thu Sep 23 16:34:43 2004 +0000 Create a FIFO using mkfifo. M testsuite/devices.test commit a20a88d2351f50d4aff38ef3b9b32f6379eee719 Author: Wayne Davison Date: Thu Sep 23 16:00:44 2004 +0000 Assume that gettimeofday() takes two arguments when cross-compiling. M configure.in commit 48d3ff94c99983d40a33c4525fd9293be30596a5 Author: Wayne Davison Date: Thu Sep 23 05:33:48 2004 +0000 Only output major/minor info for a character/block device, not for a FIFO or a socket. M tls.c commit a33857da093f5f5c5b2273ee083c3e5b9109efad Author: Wayne Davison Date: Wed Sep 22 04:14:43 2004 +0000 Mention that --partial-dir now sets an exclude that helps to avoid losing the partial data when deleting, and avoid copying any partial data from the sender. M rsync.yo commit 13791b1eebe97fb345553c5d4de41778064bcdb4 Author: Wayne Davison Date: Wed Sep 22 04:12:13 2004 +0000 If the partial-dir value is relative, add a directory-exclude for it to the end of the user's exclude list. M options.c commit 9a5e37fca877b019ba595aa2e12e6a9332806255 Author: Wayne Davison Date: Wed Sep 22 04:11:15 2004 +0000 In get_exclude_tok(), if XFLG_DIRECTORY was passed in the xflags, set MATCHFLG_DIRECTORY in the mflags we return. M exclude.c commit 3e976df0fb667ea9b914cd088adca2721a5e4604 Author: Wayne Davison Date: Wed Sep 22 04:10:10 2004 +0000 Added XFLG_DIRECTORY define. M rsync.h commit 42afed9c1ac7e54a0dd233ba1b22faaafccb683b Author: Wayne Davison Date: Tue Sep 21 16:10:35 2004 +0000 Preparing for release of 2.6.3pre2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 37c36e2692e2f93689d8f7cfc87fa1a8a87d6a36 Author: Wayne Davison Date: Tue Sep 21 15:47:20 2004 +0000 Mention the daemon-socket-connection change. M NEWS commit 7fbc7031f431cedf09f26947d6ea14f922708254 Author: Wayne Davison Date: Tue Sep 21 15:31:33 2004 +0000 Mentioned a couple more changes. M NEWS commit 9f004a9ea97dd456dced1c4607da76924aa47870 Author: Wayne Davison Date: Tue Sep 21 09:24:06 2004 +0000 The delete_one() function no longer needs to handle the case where it thinks it is removing a directory and it is really removing a symlink. M receiver.c commit 23f4587f2b71f9ebb135d714a14e551ea494c8f9 Author: Wayne Davison Date: Tue Sep 21 09:24:02 2004 +0000 - Turned readlink_stat() into a static function. - Made readlink_stat() no longer honor keep_dirlinks. - The make_file() function now checks keep_dirlinks late in the function so that it only transforms a symlink to a local dir into a directory if the receiver also has a directory by that name. This makes the use of --delete with --keep-dirlinks work much better. M flist.c commit 4d8f5b0ae7360b2a92522bdba4bc6e9665f6cefb Author: Wayne Davison Date: Mon Sep 20 19:50:04 2004 +0000 - Fixed a problem with the $bakdir value. - Made the files have better contents to copy. - Also test --backup without --backup-dir. M testsuite/backup.test commit 89389a29ef3f124c799e65dfe95fa092717101a7 Author: Wayne Davison Date: Mon Sep 20 19:47:59 2004 +0000 Output a backup message when verbose > 1 and we did a copy prior to an --inplace update. M generator.c commit 29fe3961abc2dda69b967df7795bb0e6972cd9c4 Author: Wayne Davison Date: Mon Sep 20 19:46:45 2004 +0000 Output the same backup-message prefix when verbose > 1 regardless of the setting of --backup-dir. M backup.c commit 4e8a085ac98c4c89991e5da1daad24598bfcd0a9 Author: Wayne Davison Date: Mon Sep 20 05:17:57 2004 +0000 Use $diffopt instead of -u. M testsuite/backup.test commit fb22c2774d813e5603747937d5eb3c719de20be7 Author: Wayne Davison Date: Mon Sep 20 05:01:38 2004 +0000 Got rid of a superfluous static buffer. M backup.c commit 7d059d4c37e8b21260b8a76db4e1d4c3e08b9aa5 Author: Wayne Davison Date: Mon Sep 20 04:59:01 2004 +0000 A simple test of the backup functionality. A testsuite/backup.test commit 9715c5899ad2cbe27429976a7a99303b2aef0ecd Author: Wayne Davison Date: Mon Sep 20 04:17:42 2004 +0000 Improved a comment. M sender.c commit cc07f212114e388cd0c3171497dd41862f54780b Author: Wayne Davison Date: Sat Sep 18 17:37:54 2004 +0000 Mention the new RSYNC_PARTIAL_DIR environment variable. M NEWS commit b4d1e854ef72a2ff56e97be9aabc3e9880f3c0d7 Author: Wayne Davison Date: Sat Sep 18 17:35:20 2004 +0000 Document the new RSYNC_PARTIAL_DIR environment variable. M rsync.yo commit 075aa18fd48b6fec04d9c6c14e37c0ca3922ceb6 Author: Wayne Davison Date: Sat Sep 18 17:34:56 2004 +0000 Look for the RSYNC_PARTIAL_DIR environment variable when --partial was specified (and --partial-dir was not). M options.c commit e0204f56219972c1e9f8d93f5880dc74475a2a7c Author: Wayne Davison Date: Sat Sep 18 01:49:19 2004 +0000 Mention that older rsync versions had a problem with --link-dest and how to work around it. M rsync.yo commit a9ac4411e5943a277d53f7387e75580fc7027504 Author: Wayne Davison Date: Fri Sep 17 16:53:51 2004 +0000 Mention the latest changes. M NEWS commit 50b31539c26885ec2ff9d566e771f7a1ac2a1e20 Author: Wayne Davison Date: Fri Sep 17 16:50:53 2004 +0000 - Added the ability to parse a literal IPv6 address in an "rsync:" URL (e.g. rsync://[2001:638:500:101::21]:873/module/dir). - Improved a couple --files-from error messages. M main.c commit 56194bcd9591d2fa5ee75325ac69b93fb411d184 Author: Wayne Davison Date: Fri Sep 17 16:39:34 2004 +0000 When outputting the flist info (in a debug-level of verbosity) we now mention the UID of the file when we are the sender (as well as when we are root). M flist.c commit eb8ffa904005dace3611528f66cc42cbad624d7d Author: Wayne Davison Date: Thu Sep 16 17:22:31 2004 +0000 Actually, since the close calls shouldn't fail (now that listener is properly set to -1 on close), we don't really need to play the save-errno game after all. M socket.c commit a7a1cc2c75512623fa105c09570954afc4ef0b7f Author: Wayne Davison Date: Thu Sep 16 17:16:36 2004 +0000 Make sure that /etc and /bin actually are readable before we try to list them. M testsuite/rsync.fns commit ab217f7ffa8765887c2ed8c9a8c71d29cfe562ed Author: Wayne Davison Date: Thu Sep 16 17:09:46 2004 +0000 - Set "listener" to -1 after we close it so that the error-handler doesn't try to re-close it. - Set blocking I/O before the second (final) connect() call. M socket.c commit a20c9893e48771be31befbb1ef809e87a658db61 Author: Wayne Davison Date: Wed Sep 8 07:33:06 2004 +0000 Don't try to optimize-away the sending of the --delete option if --delete-after was specified (since we don't know what the protocol version will be yet). M options.c commit 3bb400ca14026463d1609a3ddd24357d4712e2d8 Author: Wayne Davison Date: Tue Sep 7 21:45:19 2004 +0000 If --backup was used with --inplace, we don't limit the basis-file matches (as we normally would) because the receiver is using the backup-file as the basis-file. M match.c commit cd6aa5b5c0a8bcffe76f3c83071d80d93b7be533 Author: Wayne Davison Date: Tue Sep 7 21:44:02 2004 +0000 When --backup is used with --inplace, we make a copy of the destination file into its backup spot while generating the checksums. M generator.c commit dc55d7bdabb5a5d5c8cc97794171b485e4f75f19 Author: Wayne Davison Date: Tue Sep 7 21:34:26 2004 +0000 If we're making backups with --inplace, use the backup file as the basis file while still updating the real destination file inplace. M receiver.c commit 8b115ac8dc8ddf15a54096f01ae17848033801d1 Author: Wayne Davison Date: Tue Sep 7 21:32:36 2004 +0000 Turn off make_backups during the redo phase, just like the receiver. M sender.c commit c94e4afbfacd735ea6d9769cc947f391a2f4457a Author: Wayne Davison Date: Tue Sep 7 21:29:26 2004 +0000 Moved the code that determines the backup filename into a new function named get_backup_name(). M backup.c commit 6566d205e282822a07b652eb2bdbbb86905d1877 Author: Wayne Davison Date: Tue Sep 7 21:26:26 2004 +0000 Made full_write() non-static. M util.c commit e484f0cc04d7ae5a92f3737d7dbebb40e70f74ff Author: Wayne Davison Date: Tue Sep 7 20:37:36 2004 +0000 W mustn't backup an inplace file in finish_transfer(). M rsync.c commit bd397b8cbaec1fb144e83c4e93047d50cd4759ee Author: Wayne Davison Date: Tue Sep 7 20:36:36 2004 +0000 Reject the use of --compare-dest or --link-dest with --inplace (it will take extra code to suppor this). M options.c commit f8c8ef9eacde65ae2e03512de734c6672d3f19f6 Author: Wayne Davison Date: Tue Sep 7 19:49:09 2004 +0000 When we say we're skipping a non-regular file, actually skip it. M backup.c commit 72c19bb3de47c40fcd8d950805ed22689064db7c Author: Wayne Davison Date: Tue Sep 7 17:03:51 2004 +0000 A minor optimization to the partial-dir code. M generator.c commit 89f7eff382de3b817d6dc34969d4b37a386aca6d Author: Wayne Davison Date: Tue Sep 7 16:50:07 2004 +0000 Fix the case where a partial-dir file exists but the destination file does not. M generator.c commit b90a6d9ff6c9455bcc726d0e9a1ffc9c8f7dddf1 Author: Wayne Davison Date: Tue Sep 7 16:49:10 2004 +0000 Mention that --whole-file interferes with the reuse of a --partial-dir file. M rsync.yo commit 584ba4ebae47c46fa8f6234fd7d32ea43a419dd6 Author: Wayne Davison Date: Sun Sep 5 21:30:00 2004 +0000 Fixed a typo Paul pointed out. M log.c commit ba3db4795ea258f9defc47fe7eeceb30c080b59a Author: Wayne Davison Date: Thu Aug 26 17:39:48 2004 +0000 Allow the use of the --exclude*/--include* options to a server process again, but make sure that the user didn't specify a server-excluded file for one of the --*-from options. M options.c commit 59d73bf3d237c962a1b2ce140a6f3680b8af4686 Author: Wayne Davison Date: Wed Aug 18 07:50:36 2004 +0000 Some fixes & clarifications for the BATCH MODE section. M rsync.yo commit 919ca3a3ccaebf2107304cb83e1ace296ce6ef98 Author: Wayne Davison Date: Wed Aug 18 07:49:03 2004 +0000 Few few more minor improvements to the existing change items. M NEWS commit 5886edfac2472187a99148df72d413539d353edc Author: Wayne Davison Date: Wed Aug 18 07:00:17 2004 +0000 Corrected/enhanced a comment. M util.c commit d414962af452efd08e63b22cdaf532fff4f932d1 Author: Wayne Davison Date: Thu Aug 12 21:02:13 2004 +0000 One more NEWS tweak. M NEWS commit 8fb7db245a93fbf606fba4121c3e4dbbc462f362 Author: Wayne Davison Date: Thu Aug 12 20:58:33 2004 +0000 Mention the security fix. M NEWS commit 6f0fc27e33d7d15d3a9f9fceddc87371dca57d6a Author: Wayne Davison Date: Thu Aug 12 20:48:05 2004 +0000 Got rid of one item. M NEWS commit 9c54ad58f841734c33ca3dc0a43367801624ca54 Author: Wayne Davison Date: Thu Aug 12 20:06:57 2004 +0000 Preparing for release of 2.6.3pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit f55c2dfc0310b0155af5b63d726a672a6e859536 Author: Wayne Davison Date: Thu Aug 12 20:04:47 2004 +0000 One last minor tweak to clean_fname(). M util.c commit 675ef1aa3aaf622f3b79cf5b57c6371831758a44 Author: Wayne Davison Date: Thu Aug 12 19:31:23 2004 +0000 Tweaked the USAGE section a tad and added an ADVANCED USAGE section that discusses how to request multiple names from a remote rsync. M rsync.yo commit ef57235623e1a268ae96fe7fe772c493e06b0e36 Author: Wayne Davison Date: Thu Aug 12 18:59:03 2004 +0000 Improved the build rule for getfsdev and added getfsdev.o to the files we cleanup. M Makefile.in commit d66d07e883f12ce2be36d02fdab212f38b9bb4e0 Author: Wayne Davison Date: Thu Aug 12 18:51:35 2004 +0000 If system won't let us set chmod bits, fall back to testing without them set. M testsuite/chmod-temp-dir.test M testsuite/chmod.test commit b92693daba3105b797aafb25bbb07ef2df727338 Author: Wayne Davison Date: Thu Aug 12 18:20:14 2004 +0000 - Made clean_flist()'s collapsing of ".." dirs optional by adding a "BOOL collapse_dot_dot" arg. - Improved some comments. M util.c commit 58b1999e086721ff77d8f3d5e0d29e1e58c70a94 Author: Wayne Davison Date: Thu Aug 12 18:20:07 2004 +0000 Call clean_flist() with its new "collapse_dot_dot" arg. M flist.c M log.c M options.c commit 8e5f029e02a691ff05e5f221e421d7a4939ba528 Author: Wayne Davison Date: Thu Aug 12 10:13:45 2004 +0000 One (hopefully) last change to the sanitize_path() code. M util.c commit 2d41264e9ef645be0337ea64a398de2e563a4287 Author: Wayne Davison Date: Thu Aug 12 09:32:16 2004 +0000 Simplified sanitize_path() logic a little. M util.c commit 82c6be7edfc5a5d198093b917ecb9fb5f7471406 Author: Wayne Davison Date: Thu Aug 12 01:27:26 2004 +0000 More improvements and a couple missing items. M NEWS commit 0219d4dfbacc660e97b357831ef6312e77d10387 Author: Wayne Davison Date: Thu Aug 12 00:58:01 2004 +0000 Improved a comment. M util.c commit 391516da51d9a3765b60d508dbe8fb18cb20b9a6 Author: Wayne Davison Date: Thu Aug 12 00:52:58 2004 +0000 Got rid of a comment that became inapplicable. M pipe.c commit 1d6b8f9ad296f06505b06a941df5cbe38c540e72 Author: Wayne Davison Date: Wed Aug 11 23:41:06 2004 +0000 - Call sanitize_path() with updated args. - Added count_dir_elements() function. - Changed the args for sanitize_path() so that the caller can request the value for the rootdir and so that the caller tells us the current subdir depth instead of sending us a string that we have to figure it out from. - Make sure that sanitize_path() doesn't mis-parse multiple adjacent slashes. M util.c commit 10796f4b6e52593c64ace935357d8782cb57d4ee Author: Wayne Davison Date: Wed Aug 11 23:41:03 2004 +0000 Call sanitize_path() with updated args. M options.c commit 33ffd7c37dd96da16e9341dc61ffcd79a62e4af7 Author: Wayne Davison Date: Wed Aug 11 23:41:00 2004 +0000 - Set the var lastdir_depth when setting lastdir. - Call sanitize_path() with updated args. M flist.c commit 21d1e929a047799207b650198b0d0e06c5886800 Author: Wayne Davison Date: Wed Aug 11 17:33:52 2004 +0000 Ignore new getfsdev executable. M .cvsignore commit d0bc3520de9ef1decf9ec1e41b7c64e2af034ec9 Author: Wayne Davison Date: Wed Aug 11 17:24:37 2004 +0000 Make the text of the --times (-t) option more correct on what happens if it is omitted. M rsync.yo commit 9f1865788951e236f114d7348c1ce64754982b12 Author: Wayne Davison Date: Tue Aug 10 18:15:33 2004 +0000 A minor improvement in check_one_exclude(). M exclude.c commit c16d69b2920711d687de4eacb4d38ece3af95973 Author: Wayne Davison Date: Mon Aug 9 20:58:26 2004 +0000 Mention the early-chmod change. M NEWS commit ebeacb36fb298218bf4195ba3bdddaf8752488bb Author: Wayne Davison Date: Mon Aug 9 20:57:10 2004 +0000 Set each file's permissions and modtime before it gets renamed. M rsync.c commit 6558854dbe14f62cb3713da897b55b9dbaac43eb Author: Wayne Davison Date: Mon Aug 9 20:52:35 2004 +0000 Do some simple tests with various read-only and set[ug]id files. A testsuite/chmod-temp-dir.test A testsuite/chmod.test commit 7d9d5d9478639b9d9a22cff432f6c35c14c35120 Author: Wayne Davison Date: Mon Aug 9 20:51:44 2004 +0000 Added a rule for building getfsdev and for requiring it to run "test". M Makefile.in commit 630f548ff4dbe6692045291f117a25f7371b567d Author: Wayne Davison Date: Mon Aug 9 20:48:38 2004 +0000 Made robust_rename() return a 1 if it had to copy the file. M util.c commit 100b62bb6936c3fb3eea0460885417277b979046 Author: Wayne Davison Date: Mon Aug 9 20:46:54 2004 +0000 Output a device string for each file given on the command-line. A getfsdev.c commit e012b94f21da5dcf2043b3dc967e4723c7ba4b35 Author: Wayne Davison Date: Sat Aug 7 20:56:41 2004 +0000 Fixed a bug in clean_fname() that could sometimes leave a "dir/.." sequence uncollapsed. M util.c commit 3104620cf0123eea8aa1089da44175e7d0dd51f3 Author: Wayne Davison Date: Fri Aug 6 22:36:55 2004 +0000 Made clean_fname() return the length of the string. M util.c commit ebdd24d6d08bc4ffd632a64b3781f48cc8a46eb0 Author: Wayne Davison Date: Fri Aug 6 21:24:14 2004 +0000 An improved clean_fname() routine that is more efficient and will also collapse ".." dirs that aren't at the start of the path. Care was taken to ensure that the cleaning of a name that goes over the socket is done in the same way as the old code (because both sides call clean_fname() on those file-list names). This ensures compatibility with older rsync versions. M util.c commit 7cd72c79ec1c7f803ca6859f53cf8d9a78d6abf2 Author: Wayne Davison Date: Thu Aug 5 22:58:17 2004 +0000 Set "eob" correctly in add_exclude_file(). M exclude.c commit 84a6379565735489e641877775cb00f592605eb0 Author: Wayne Davison Date: Thu Aug 5 21:57:11 2004 +0000 Merged alloc_sanitize_path() into sanitize_path(), adding an extra arg that indicates the destination dir for the resulting path (if the dest is NULL, a buffer will be allocated) and having it return a value. M util.c commit 0a5f12720e49bc6f64eec54e252d9ca3b1b3169e Author: Wayne Davison Date: Thu Aug 5 21:57:09 2004 +0000 Use the new sanitize_path() calling syntax. M flist.c M options.c commit 73f7af0e8873dc4b3393c0dba31968fdc4f8170d Author: Wayne Davison Date: Thu Aug 5 18:18:36 2004 +0000 If dry_run is > 1 then the destination directory was missing, so we set stat_errno to ENOENT and statret to -1 without calling stat(). M generator.c commit e5a96f0f5432843c0412b24550012e00fafe0da4 Author: Wayne Davison Date: Thu Aug 5 18:17:44 2004 +0000 In get_local_name(), if we would have created the destination dir but were prevented by dry_run being set, increment dry_run so that the generator knows that all the files are missing. M main.c commit d73e7f6eddb5a78d24a56852bc817c2a8f82fe89 Author: Wayne Davison Date: Wed Aug 4 21:20:34 2004 +0000 In set_refuse_options(): make sure we scan the whole list of options and avoid complaining about a wild-card spec that actually matches one or more options. M options.c commit 61542c41de55fc31c583d43651d99cc67846e232 Author: Wayne Davison Date: Tue Aug 3 15:41:16 2004 +0000 Decided that we don't need to limit the block size after all now that the map_file() code handles large block sizes better. M generator.c M options.c M rsync.h commit bd1a581beee5402379052df58164f57d99c7757a Author: Wayne Davison Date: Tue Aug 3 15:37:54 2004 +0000 Use MAX_MAP_SIZE in the args to map_file(). M checksum.c commit 6e8a1782ab7ed52c623038821b335fd25578dea5 Author: Wayne Davison Date: Tue Aug 3 08:05:29 2004 +0000 - Changed the calling syntax for map_file() so that it takes both a (possibly approximate) window size and an optional block size (which is used to round-up the window size if it is non-zero). - Don't set window_start behind the supplied offset in map_ptr(). M fileio.c commit 96d910c770b9443e204e183d3f3a8720c346a79c Author: Wayne Davison Date: Tue Aug 3 08:05:27 2004 +0000 Call map_file() with its new args, including a suggested window size. M checksum.c M generator.c M receiver.c M sender.c commit 7560c17adc73f1f1407f9453c00ddef185d1aad3 Author: Wayne Davison Date: Tue Aug 3 08:05:23 2004 +0000 We call map_ptr() with a data range than includes any unmatched data (which we might need to reference again) in addition to the current rolling-checksum block (this prevents the unmatched data from being lost when we slide the buffer and read more data). M match.c commit 9cd339eb39d4090a8b85f8dccd2a823ff563b93a Author: Wayne Davison Date: Tue Aug 3 08:05:20 2004 +0000 - Changed the description for --block-size in the --help text. - Use the new MAX_BLOCK_SIZE to limit the block_size value. M options.c commit f3100293873ad89d7ad360e1fc6ef5d79e4f0ac1 Author: Wayne Davison Date: Tue Aug 3 08:05:17 2004 +0000 - Added define for MAX_BLOCK_SIZE. - Increased the MAX_MAP_SIZE. M rsync.h commit 3ed8eb3f9ccd779b640dcd4fcc4554a626baa898 Author: Wayne Davison Date: Tue Aug 3 07:58:48 2004 +0000 Updated the description of the --block-size option. M rsync.yo commit 007351494dcd60990ef6ba3001c790388202ed32 Author: Wayne Davison Date: Mon Aug 2 22:06:17 2004 +0000 Mention the open64()/mkstemp64() configure change. M NEWS commit 6dcb93208d8f9047adb1a2b302c946752943edb2 Author: Wayne Davison Date: Mon Aug 2 21:56:07 2004 +0000 Don't use mkstemp() if the OS has open64() but not mkstemp64(). M syscall.c commit 84e1a698bfdc69f34204c36f95457cc2aeaaf096 Author: Wayne Davison Date: Mon Aug 2 21:54:49 2004 +0000 Test for functions open64() and mkstemp64(). M configure.in commit 0d7638eafd7b174ac534ba1dbb2361d9c9327071 Author: Wayne Davison Date: Mon Aug 2 16:49:20 2004 +0000 Got rid of trailing whitespace. M checksum.c commit 86e2f445f7febc3f7096e6c31d1be338fcceba4e Author: Wayne Davison Date: Mon Aug 2 07:41:04 2004 +0000 Mention the "refuse options" change. M NEWS commit 093e816c37f6d3e757bdfc63d7ba5aaf477e20ed Author: Wayne Davison Date: Mon Aug 2 07:40:34 2004 +0000 Allow better wildcard matching against the short-option letters in the "refuse options" handling. M options.c commit 1cb0a3edc67795a652be8bf476cda64493837144 Author: Wayne Davison Date: Mon Aug 2 05:01:36 2004 +0000 Document the improved "refuse options" syntax. M rsyncd.conf.yo commit 06a5054273b5d8f75ad47b9a6a087790c848ee62 Author: Wayne Davison Date: Mon Aug 2 05:00:30 2004 +0000 - Extended the "refuse options" daemon setting to allow wildcards and to allow single-letter option names. - No need to send the various --delete* options or the --force option from the receiver to the sender. M options.c commit acd029924380c8b00f58dabf35275d365c88fdde Author: Wayne Davison Date: Mon Aug 2 04:50:33 2004 +0000 Got rid of unused externs. M batch.c M receiver.c commit dca68b0aadbdc1471daac5b8796ed626e46e3128 Author: Wayne Davison Date: Mon Aug 2 02:43:54 2004 +0000 - Changed "read so far" to "received so far". - Output the who_am_i() information in the socket read/write errors to make it a little clearer who is complaining about what (for those familiar with rsync, at least -- e.g. it will help when users report errors). M io.c commit c3ea09906de8ab7b25b12032e1ed71d61f0bac16 Author: Wayne Davison Date: Sat Jul 31 20:09:54 2004 +0000 - Changed all the errors in parse_arguments() to use the err_buf so that a client talking to a daemon server actually gets the error. - If a daemon has a list of exclusions, apply that list to various options to ensure that an excluded file can't be affected. - Fixed an arg-checking problem when --files-from got passed to a daemon. M options.c commit bf4679e8a080ad6eb7cd7799ba09f8578da54c17 Author: Wayne Davison Date: Sat Jul 31 19:55:42 2004 +0000 If we need to return an error during the startup phase and the other side is expecting us to send them a files-from list, send the list terminator before sending the error. M clientserver.c commit c4054610c89693b650f811b6b40b53ec7b252bce Author: Wayne Davison Date: Sat Jul 31 18:13:20 2004 +0000 Don't allow a --partial-dir setting to overwrite a server-excluded file (affects a daemon receiver only). M util.c commit f6c0d3d70b497bbd323651725f4a3ca4e3cf5ebd Author: Wayne Davison Date: Sat Jul 31 16:20:28 2004 +0000 - Document the change to --copy-links. - Improved the "OUTPUT CHANGES" section. M NEWS commit ef855d198e1314036eb734b12a34962855f63186 Author: Wayne Davison Date: Sat Jul 31 16:19:14 2004 +0000 Document the old side-effect to --copy-links and that it no longer happens in a modern rsync w/o --keep-dirlinks. M rsync.yo commit 81b07870c8d1b69a594694898111f6c7af6ea419 Author: Wayne Davison Date: Sat Jul 31 16:15:41 2004 +0000 One call to link_stat() (in set_perms()) needed to honor the setting of keep_dirlinks if the current item is a directory. M rsync.c commit bb6721dce6bac8ff2374609bf5f99ea7e6fe2c70 Author: Wayne Davison Date: Sat Jul 31 16:14:27 2004 +0000 Reset copy_links in the receiver. M main.c commit 446a2987cdef8f2e77aa60cca38ca5d72bb956b5 Author: Wayne Davison Date: Sat Jul 31 03:33:05 2004 +0000 Prominently mention the changes to the text that gets output. M NEWS commit 4de2a1740983244221d66b22b983c36a174e3100 Author: Wayne Davison Date: Sat Jul 31 03:32:42 2004 +0000 Changed "wrote"/"written" to "sent" and "read" to "received" in the text that is output. M main.c commit 99d24f77ed2d6d87986d47e3559a45772c1cdf36 Author: Wayne Davison Date: Fri Jul 30 22:46:07 2004 +0000 - Mention the "list = no" change in error handling. - Improved a few of the NEWS items. M NEWS commit c0422cea9faa173bcd5ac4d86a456ae71bdda6c4 Author: Wayne Davison Date: Fri Jul 30 20:07:52 2004 +0000 If someone is denied access to a "list = no" module, lie and tell them that the module is "Unknown" (so the user can't probe to find unlisted modules). M clientserver.c commit 8b6ad0193d62ff7070f35cb6a3ecad7c34811c60 Author: Wayne Davison Date: Fri Jul 30 20:05:37 2004 +0000 Don't ignore case in lp_number() because the rest of the daemon code can't handle the case where the module name doesn't exactly match the string the user provided. M loadparm.c commit 33eff8bfd6c1fc221142c7afd5a7874976330db2 Author: Wayne Davison Date: Fri Jul 30 07:02:37 2004 +0000 If we reject a name due to a server-exclude, someone is trying to hack rsync (because the generator would not have included this file). Respond with an exit. M receiver.c commit 65af3dab0351a1e064784ac711641ebfbc06bafc Author: Wayne Davison Date: Thu Jul 29 18:08:16 2004 +0000 Document the latest changes. M NEWS commit 065a6052705d6a1f5405d863d1680b2201485908 Author: Wayne Davison Date: Thu Jul 29 16:45:48 2004 +0000 Got rid of bogus compare_dest scan in skip_file() -- it must checksum the same file that we used for the stat() (in the parent routine). M generator.c commit a7260c403733b10e3d25abf334441f3ed4cc3b91 Author: Wayne Davison Date: Thu Jul 29 16:06:38 2004 +0000 Added the new --partial-dir option. M cleanup.c M generator.c M options.c M receiver.c M rsync.h M t_stub.c M util.c commit 44cad59f2bc141af50de3583523a22ccbe73bd30 Author: Wayne Davison Date: Thu Jul 29 16:06:34 2004 +0000 Document the new --partial-dir option. M rsync.yo commit c52461f91136b5e073f150da3f3790699f438e57 Author: Wayne Davison Date: Thu Jul 29 07:37:27 2004 +0000 Check the error return of flush_write_file(). M receiver.c commit 7f459268d903c8647cfbfcc8ff0c9fda18733861 Author: Wayne Davison Date: Thu Jul 29 07:24:45 2004 +0000 Added close_multiplexing_in() and renamed io_multiplexing_close() to close_multiplexing_out(). M io.c commit 9eeb3b9c88d62bac0fed650fdbc310d5958cc541 Author: Wayne Davison Date: Thu Jul 29 07:24:00 2004 +0000 Call the new close_multiplexing_in() function in the generator. M main.c commit d1b31da71e426ba7f636430d1764ae76858363d9 Author: Wayne Davison Date: Thu Jul 29 07:09:46 2004 +0000 If we fail writing to the socket and we're receiving error messages from the other side via a multiplexed input, read the socket to see if we get some errors that would explain why they went away. M io.c commit 89e540e638b29473118535cf9c93da2fc82a43db Author: Wayne Davison Date: Thu Jul 29 06:59:30 2004 +0000 One more inplace code tweak. M receiver.c commit fab65a5bc2394afca598d9e12a6d06fad4a50fd0 Author: Wayne Davison Date: Thu Jul 29 06:40:26 2004 +0000 Some minor fixes and improvements for the inplace code. M receiver.c commit e7d13fe532814cc4741066b770a6182b07c2dcc4 Author: Wayne Davison Date: Wed Jul 28 10:04:06 2004 +0000 - Explicitly save the stat()'s errno so that we can be sure we're testing the right thing lower down (and so that future code doesn't always have to remember to save it off and restore it). - Improved a chunk of link_dest code. - Handle the removal of a non-regular file without so much duplicated code. M generator.c commit ecc81fce17f2e32fbe33c0050693899ce4d6c3cf Author: Wayne Davison Date: Mon Jul 26 16:36:59 2004 +0000 Use the new safe_fname() function. M generator.c M receiver.c M rsync.c M sender.c commit b4afd23c308ed2ef7df894cfb8be532fee521ad5 Author: Wayne Davison Date: Mon Jul 26 16:34:36 2004 +0000 Allow safe_fname() to tweak up to two name at a time. M util.c commit af1a3f9b6ec7e1a783c00529a109307d9102e589 Author: Wayne Davison Date: Mon Jul 26 15:59:51 2004 +0000 Use safe_fname() in full_fname(). M util.c commit 820b6c9aa0cf587fda363c2e473ca9c140f7866c Author: Wayne Davison Date: Mon Jul 26 15:52:25 2004 +0000 Added safe_fname() that converts any newlines in a name into '?'s. M util.c commit 3cb22c204c8f0383f187fc0b41a94b16844a2838 Author: Wayne Davison Date: Mon Jul 26 05:38:02 2004 +0000 Made a comment better. M backup.c commit 7432ccf4ed584b18d0cbed100901249b23819c6f Author: Wayne Davison Date: Sat Jul 24 16:51:58 2004 +0000 Some batch-mode changes. M rsync.yo commit 6a48e792c1c5d82c62498502e3f98f67acc716f0 Author: Wayne Davison Date: Sat Jul 24 16:51:16 2004 +0000 Made the new option-twiddling message only output when verbose. M batch.c commit 9459290ae798f52b34c569045af8b8655c31308e Author: Wayne Davison Date: Sat Jul 24 16:40:41 2004 +0000 Call read_stream_flags() as soon as we open the batch file for reading. M main.c commit 741d654495cf4a35bd92ddf0df14e56681454ec6 Author: Wayne Davison Date: Sat Jul 24 16:39:53 2004 +0000 Call write_stream_flags() from start_write_batch(). M io.c commit d3e182af0976f35cad31bd3aa08c8deaa20509b3 Author: Wayne Davison Date: Sat Jul 24 16:38:49 2004 +0000 Added write_stream_flags() to write the state of certain flags into the batchfile and read_stream_flags() to read and twiddle the same flags. This ensures that the batchfile reading doesn't get confused about what data to expect from the socket. M batch.c commit d9b4d267c703c9b5152ecaec9900c6a56ee908d0 Author: Wayne Davison Date: Fri Jul 23 16:59:38 2004 +0000 Tweaked a compound line. M generator.c commit 58c5c245555dee2e49fb8a1c21563e6e084177a2 Author: Wayne Davison Date: Fri Jul 23 16:59:22 2004 +0000 Added a comment. M main.c commit 341c9a137f2bf14d23896ec9e273f42a64d62198 Author: Wayne Davison Date: Fri Jul 23 02:13:34 2004 +0000 Some basic batch-mode tests. A testsuite/batch-mode.test commit 871446fc984eefa288279db5a1ad5019e7f8a84a Author: Wayne Davison Date: Fri Jul 23 01:40:22 2004 +0000 Chris added a missing "not" to a comment. M testsuite/README.testsuite commit 0abda1b176b0cb95f5a177d5206ddbada9f74787 Author: Wayne Davison Date: Fri Jul 23 01:39:19 2004 +0000 Fixed the opening comments. M testsuite/compare-dest.test commit 394bcdb5e34b3eb7d34f04ad2285a3b289d9f318 Author: Wayne Davison Date: Thu Jul 22 22:52:39 2004 +0000 If we sucessfully renamed a file that has multiple links to it, unlink() it to ensure that rename() didn't lie to us (which it does if you try to rename() a file over another link to the same file). M backup.c commit 28deecca55ff109d6eff7fc09bac7843559b7d5c Author: Wayne Davison Date: Thu Jul 22 19:28:45 2004 +0000 Changed NO_INT64 to INT64_IS_OFF_T because off_t might actually be 64 bits. The code now only complains if int64 is really too short. M io.c M options.c M rsync.h commit 4db88e5b8f73731d52f853d78fe7dffbb14a2ec4 Author: Wayne Davison Date: Thu Jul 22 15:43:28 2004 +0000 Some --help text fixes. M options.c commit 75b243a51decc0da36e13499d0e8c89c62e7bc6b Author: Wayne Davison Date: Thu Jul 22 15:41:09 2004 +0000 Some more --inplace improvements. M rsync.yo commit 9bccfc429c595ca7a47a95232db387c02be37745 Author: Wayne Davison Date: Thu Jul 22 15:31:06 2004 +0000 Should always call finish_transfer() for inplace handling, just like for keep_partial handling. M receiver.c commit 077e59b7696ae242548881b0a8ba53e02d2d62d5 Author: Wayne Davison Date: Thu Jul 22 15:30:04 2004 +0000 The inplace handling in finish_transfer() now passes PERMS_SKIP_MTIME to set_perms() if ok_to_set_time wasn't specified. M rsync.c commit 007e3c0e9a3e153e5c8c170ee508d5e2c86562a4 Author: Wayne Davison Date: Thu Jul 22 08:16:35 2004 +0000 Need to output the "failed verification" error before sending the MSG_REDO so that the output comes out in the right order. M receiver.c commit e2bc4126691bdbc8ab78e6e56c72bf1d8bc51168 Author: Wayne Davison Date: Thu Jul 22 04:15:18 2004 +0000 Added a warning message when a file fails to verify, letting the user know if we retained it or discarded it. Especially useful for batch- reading mode where the old code could look like it did the update when it really silently failed. M receiver.c commit e34420958218c7df1afd62c923e967d8fcb6b50a Author: Wayne Davison Date: Thu Jul 22 03:23:04 2004 +0000 Added even more double-quoting. M testsuite/rsync.fns commit e76ca1458cb78ff899a684deb190aa2bd36c11a7 Author: Wayne Davison Date: Thu Jul 22 02:52:57 2004 +0000 No need to check both delete_after and delete_mode since the former implies the latter. M receiver.c commit 16cc9ca2c956dc62f5312760cb420bf55d85364a Author: Wayne Davison Date: Wed Jul 21 23:59:37 2004 +0000 In read_batch mode, we read ints from the new batch_gen_fd pipe and only process the updates from the batch file when the generator has indicated that it is ready (which ensures that all the necessary dirs have been created). M receiver.c commit 8c90957ff59a6030160676208f6c89c5476cb30f Author: Wayne Davison Date: Wed Jul 21 23:59:33 2004 +0000 Got rid of read_batch special case. M pipe.c commit c0d8e84c9dd6e753f65448caa74e662ab070c0a0 Author: Wayne Davison Date: Wed Jul 21 23:59:31 2004 +0000 Setup for read_batch mode a little differently: - Avoid calling local_child(). - Create a pipe that lets the generator send us index values. - Set batch_gen_fd for the receiver to read the pipe. M main.c commit b0ad542928c6bde674f3dec96be446a2e2ed0548 Author: Wayne Davison Date: Wed Jul 21 23:59:28 2004 +0000 Added batch_gen_fd. M io.c commit 727b35f6659800b95d24d3955673f639298b655b Author: Wayne Davison Date: Wed Jul 21 23:59:25 2004 +0000 In read_batch mode, we now let the code write out the index value to the f_out pipe before we return from recv_generator(). This gives the receiver something to sync with so that it doesn't rush ahead of us (which could be bad if we didn't have a chance to create the destination dirs yet). M generator.c commit aa4343211f67bf77c46845f9f327b8a7d850b161 Author: Wayne Davison Date: Wed Jul 21 23:59:22 2004 +0000 Don't write out the protocol_version number in read_batch mode. M compat.c commit 361198935518a80e57e26f337c62c06d660dab6b Author: Wayne Davison Date: Wed Jul 21 22:50:11 2004 +0000 Complain if the user combines --read-batch with --files-from. M options.c commit 3381b77d712fc5b9627fec458eb7e4d1bc166d86 Author: Wayne Davison Date: Wed Jul 21 21:06:13 2004 +0000 Improved the test a little. M testsuite/compare-dest.test commit dce70db374f130fe001e0af478e07da3608384b8 Author: Wayne Davison Date: Wed Jul 21 20:58:32 2004 +0000 Adding a test for the --compare-dest option. A testsuite/compare-dest.test commit 2adbcdc7ea7e708a903ed904ee25d4cb27c97e2e Author: Wayne Davison Date: Wed Jul 21 20:17:02 2004 +0000 A couple am_sender checks (one negated) were not needed. M main.c commit 7e5fa372cf2464c1cb5cce2b9c50a3bbf03f4245 Author: Wayne Davison Date: Tue Jul 20 21:35:58 2004 +0000 Call map_file() with the new block_size arg (had to delay the call to map_file() until the block size was known). M receiver.c commit 6e45e1dd865180c6cb82f977698287daec6bffc6 Author: Wayne Davison Date: Tue Jul 20 21:35:55 2004 +0000 - Call map_file() with the new block_size arg (had to delay the call to map_file() until the block size was known). - Got rid of the setting of max_map_size. M generator.c commit 7f290d5c825e81f5e589af63f8e0d83f7eb498b0 Author: Wayne Davison Date: Tue Jul 20 21:35:52 2004 +0000 - Added a new block_size arg to map_file(). Use it to set the new def_window_size member variable. - Got rid of max_map_size global (we use def_window_size now). M fileio.c commit b6609cafae8188e083ab2ff4aac3b40651278e8f Author: Wayne Davison Date: Tue Jul 20 21:35:49 2004 +0000 - Got rid of cleanup_buf (map-file cleanup is not needed). - Renamed the cleanup_fd* vars. M cleanup.c commit efa95a184227e92bfde463483cc563e56aab5f09 Author: Wayne Davison Date: Tue Jul 20 21:35:46 2004 +0000 Call map_file() with its new block_size arg. M checksum.c M sender.c commit 51bd4f0f3a37fd91878fb207cce06de2dc887270 Author: Wayne Davison Date: Tue Jul 20 21:10:20 2004 +0000 Tweaked an error message. M options.c commit 562b61695ebbc7be90233acb4a589b08f77cff33 Author: Wayne Davison Date: Tue Jul 20 21:08:33 2004 +0000 Added a def_window_size variable to struct map_struct. M rsync.h commit 98f51bfb567c794959e41e101842e098f712eb92 Author: Wayne Davison Date: Tue Jul 20 18:12:50 2004 +0000 - More batch-file improvements. - A few spelling fixes. M rsync.yo commit 73f0ce69e7c138041a8ed66eef7fc4d217c0aedf Author: Wayne Davison Date: Tue Jul 20 17:07:55 2004 +0000 We now append the exclude list as a "here" document to the end of the BATCH.sh file. M batch.c commit cf338ab1be08818ce8f79af1c5501e13e4d199fb Author: Wayne Davison Date: Tue Jul 20 16:57:18 2004 +0000 Made write_sbuf() non-static. M io.c commit 66a9dc9639db9b86dd7218beda5ba1637651462d Author: Wayne Davison Date: Mon Jul 19 17:11:41 2004 +0000 Changed write_batch_argvs_file() to new write_batch_shell_file() call (with extra arg). M main.c commit 8ed9d849dca75679b3ba4c1a48655226cede2103 Author: Wayne Davison Date: Mon Jul 19 17:05:01 2004 +0000 Added new function discard_receive_data(). M receiver.c commit 5ebab6c10ce292e81eba0219db204d5bd949b1ef Author: Wayne Davison Date: Mon Jul 19 16:37:30 2004 +0000 - Don't allow some crafty user to try to force us to update a server-excluded file. - If get_tmpname() fails we need to discard the update using receive_data(). M receiver.c commit e7a69008e6d8b0750e74bcec85ac1ee92703fa42 Author: Wayne Davison Date: Mon Jul 19 08:27:17 2004 +0000 Do a better job of writing out the BATCH.sh file (i.e. quote special characters and spaces in args, omit all the source args, omit the include/exclude args if we can). M batch.c commit 73e015683cbfacbae3acaef75704c7376b74d505 Author: Wayne Davison Date: Mon Jul 19 03:59:35 2004 +0000 Changed batch.rsync_argvs to batch.sh. M rsync.yo commit b462781fd06838f95aa26ca7e868c87809483f05 Author: Wayne Davison Date: Mon Jul 19 00:53:49 2004 +0000 Fixed the argv munging to work properly regardless of whether the user specified a trailing '=VALUE' or put the value in a separate arg. M batch.c commit 93095cbe99154752c92c1d112cac139852b715a5 Author: Wayne Davison Date: Sat Jul 17 21:17:34 2004 +0000 A very minor optimization was made to read_sbuf(), read_byte(), write_sbuf(), and write_byte(). M io.c commit 399371e7b574687a853517a18aa4fdbe0f193b33 Author: Wayne Davison Date: Sat Jul 17 16:44:16 2004 +0000 - Improved the warning about --inplace. - Fixed the sentence describing how to read standard input with --read-batch. M rsync.yo commit d7142e2328cff84cf9d508988ba76cb4d19e36be Author: Wayne Davison Date: Sat Jul 17 16:29:10 2004 +0000 Moved the read_batch abort check below the code that handles the symlinks and devices. M generator.c commit 1f75bb10660e4708c3b857bab6e220f46bb276b8 Author: Wayne Davison Date: Sat Jul 17 15:20:00 2004 +0000 Revamped some of the io variables and calls to make the various I/O functions seemlessly work on fds that aren't for the main socket. This involved changing some fd-variable names (to make them clearer), adding io_set_sock_fds(), and making input buffering have a better enabled flag (via an allocated buffer, just like the output buffering). I also got rid of the fd arg to some functions where the fd arg could only specify the input or output fd for the socket (which we already know). M io.c commit 088adfacc1cae3313cf4fc92056aa0895e6c0880 Author: Wayne Davison Date: Sat Jul 17 15:19:57 2004 +0000 Got rid of the arg to io_start_multiplex_out(). M flist.c commit da3478b2a7b0a15f9815dbc3463b98e7249422cc Author: Wayne Davison Date: Sat Jul 17 15:19:54 2004 +0000 - Got rid of the arg to the io_start_multiplex_{in,out}() calls. - Call io_set_sock_fds(). M clientserver.c M main.c commit 5126ed1ef05aa7130c333ee74d7d00dbcb9a29db Author: Wayne Davison Date: Sat Jul 17 10:59:14 2004 +0000 Changed a MIN() to a MAX() when setting max_map_size. M generator.c commit 61fb21ad2898e8a4ad68c1a40e5ea75349817009 Author: Wayne Davison Date: Sat Jul 17 00:00:27 2004 +0000 Mention the new --inplace option. M NEWS commit a3221d2ac14255c31109a617c4d62b949cd910de Author: Wayne Davison Date: Fri Jul 16 20:06:24 2004 +0000 My version of Mark Curtis's --inplace option. M match.c M options.c M receiver.c M rsync.c M rsync.h M rsync.yo M sender.c commit 2c713fcdfa04eb7d58c67a4a51d4cbdc37f78536 Author: Wayne Davison Date: Fri Jul 16 20:04:20 2004 +0000 Added a check for ftruncate. M configure.in commit afd8bdb9073aaf28180eacb90fe14a473a76d132 Author: Wayne Davison Date: Fri Jul 16 18:08:52 2004 +0000 Avoid some useless memory copying. M checksum.c commit efd5ee57867a5de86692dff3ec0067c4113980fa Author: Wayne Davison Date: Fri Jul 16 18:04:23 2004 +0000 - Limit the maximum block size we compute for a file. - Set max_map_size based on the current file's block size (so that map_ptr() is more efficient with large blocks). M generator.c commit 510b4cd4d511ec3cd1480230d499f12fd1ca3f03 Author: Wayne Davison Date: Fri Jul 16 18:02:30 2004 +0000 Added a max_map_size variable, initialized to MAX_MAP_SIZE. M fileio.c commit de584c658cbb30f0fa7d2d9037c4ccb29bb71417 Author: Wayne Davison Date: Fri Jul 16 18:01:30 2004 +0000 Limit the block-size that the user can specify. M options.c commit 6eb770bbcc3115d8dac36fdb20a181e6ac6c9253 Author: Wayne Davison Date: Fri Jul 16 17:14:55 2004 +0000 Improved a sentence about --whole-file. M rsync.yo commit c7e11bfdc083507d6160fe1c4b03483e90c13394 Author: Wayne Davison Date: Fri Jul 16 01:32:02 2004 +0000 Make wf_writeBufSize based on a multiple of WRITE_SIZE instead of the unrelated MAX_MAP_SIZE. M fileio.c commit 94327ff0c2afd01f73c5e1c51f0babbb3a72cec9 Author: Wayne Davison Date: Thu Jul 15 19:06:32 2004 +0000 - Complain and die if --dry-run is used with a batch option. - Improved the warning if a batch option gets sent to the server. M options.c commit 4602eafa8768331e39202929938a1861d719a8d3 Author: Wayne Davison Date: Thu Jul 15 19:04:54 2004 +0000 Changed the batch examples to show how to do a remote read-batch without first transferring the batch file. M rsync.yo commit bb3edc3b47dd8cf300523c4cfddf58c6c47f4d1c Author: Wayne Davison Date: Thu Jul 15 19:03:50 2004 +0000 Expanded the comment on the new batch code. M NEWS commit c769702fe5ef2ed845fd595fc18103875dede5f6 Author: Wayne Davison Date: Thu Jul 15 17:56:11 2004 +0000 Mention that "-" can be used with --read-batch for reading from stdin. M rsync.yo commit dbbab0c4d2d185e0493c0185e9332e2247ff4df2 Author: Wayne Davison Date: Thu Jul 15 17:01:51 2004 +0000 Allow --read-batch=- to indicate stdin. M main.c commit 9b3318b0df79ce6e9490c744ef7ae0707bd91599 Author: Wayne Davison Date: Thu Jul 15 16:27:02 2004 +0000 We no longer refer to a batch "prefix". M batch.c M main.c M options.c commit 0fac7fe8b81783965dbadf88b2770b8050a189e6 Author: Wayne Davison Date: Thu Jul 15 03:13:09 2004 +0000 Mention new batch-mode changes. M NEWS commit b9f592fbf50b0dc9e3d1d33b8deb2bf9abad9ef6 Author: Wayne Davison Date: Thu Jul 15 02:20:08 2004 +0000 My modified version of Chris Shoemaker's improved batch-file handling. M batch.c M clientserver.c M compat.c M flist.c M generator.c M io.c M main.c M match.c M options.c M pipe.c M rsync.yo M sender.c M token.c commit c7b1a56b3d70fb91b20702f169ae1af9b68de8e9 Author: Wayne Davison Date: Wed Jul 14 17:11:53 2004 +0000 Mention recent changes. M NEWS commit 3896bca4d8b407a54471337692e68d0658e0efa7 Author: Wayne Davison Date: Wed Jul 14 16:41:10 2004 +0000 Tweaked some single-line ifs. M pipe.c commit 9774cc334494e12bd35197e7e1ab9fd6b0ef3023 Author: Wayne Davison Date: Wed Jul 14 16:40:08 2004 +0000 The "len" to generate_and_send_sums() is supposed to be an OFF_T. M generator.c commit d3979b025d205faff466172000dd94dfdc46f032 Author: Wayne Davison Date: Wed Jul 14 16:39:08 2004 +0000 Committed a space-tweak from Chris Shoemaker. M receiver.c commit 01966df4f73616d6d66a8d5277606bdc48ee5b8e Author: Wayne Davison Date: Wed Jul 14 07:20:18 2004 +0000 Improved the write_batch_argvs_file() routine so that it doesn't need the character buffers and so that it properly removes the hostname from the destination arg. M batch.c commit f38bd4a07235e63dbfa02a8d72850556ae8810fb Author: Wayne Davison Date: Tue Jul 13 01:45:51 2004 +0000 Got rid of the disable_deltas_p() function (the whole_file value is now fully set before the generator forks). M generator.c commit b1df18d76f4dcd3b8b8a3ee3599d6494a438487d Author: Wayne Davison Date: Tue Jul 13 01:44:03 2004 +0000 We now conditionally turn on whole_file in do_cmd() right before calling local_child(). M main.c commit 7daccb8e72d650229062a1622c9551893feef9b3 Author: Wayne Davison Date: Mon Jul 12 20:42:48 2004 +0000 In generate_files(), changed arg "f" to "f_out", as Chris Shoemaker suggested. M generator.c commit bb91a624f1f38f4e06ce61901dda54c2ffc52705 Author: Wayne Davison Date: Mon Jul 12 07:03:28 2004 +0000 Made hard_link_check() compile when SUPPORT_HARD_LINKS isn't enabled. M hlink.c commit a04d77bcbcabb93fbd893ae472d7b5d901b16da4 Author: Wayne Davison Date: Wed Jul 7 08:38:40 2004 +0000 Use want_i instead of last_i+1. M match.c commit 25bd99451c2620e2c3b50a7d2043774b43c93aaa Author: Wayne Davison Date: Wed Jul 7 08:25:13 2004 +0000 Make the GID_NONE define a little safer. M rsync.h commit ed43d0a76dc9d0f187b0ffd32b96caa40e7c263b Author: Wayne Davison Date: Sun Jul 4 08:56:31 2004 +0000 Added some missing $(srcdir) references. M Makefile.in commit 066a844c4e51b1a2c6528dfd2deed283292a68b5 Author: Wayne Davison Date: Sun Jul 4 08:07:23 2004 +0000 Changed a "for" loop into a "do ... while" loop. M match.c commit 5e252dea4b2d310dbbb3a57337199836aff8f086 Author: Wayne Davison Date: Fri Jul 2 23:35:30 2004 +0000 Optimized away a loop in hash_search(). M match.c commit d2a918b4544d476b777c2cc69494659328f50987 Author: Wayne Davison Date: Fri Jul 2 18:23:57 2004 +0000 Some formatting tweaks. M receiver.c commit da38e779eaec59640aeec468ea94a0610a9fa200 Author: Wayne Davison Date: Fri Jul 2 18:13:53 2004 +0000 Moved the verbose message about renaming the finished file down into finish_transfer() so that it only gets output when we're actually going to rename the file. M receiver.c M rsync.c commit 8186ae6bc043ff4d265734cc34e86d9b2a5b5232 Author: Wayne Davison Date: Fri Jul 2 18:12:24 2004 +0000 Tweaked some formatting. M cleanup.c commit e1f67417d7af01cc51dc4391d2bc7228ca42f73a Author: Wayne Davison Date: Wed Jun 30 07:27:30 2004 +0000 Some simple whitespace tweaks. M generator.c M main.c M receiver.c commit fd322eef82eaeec22300d66a49aeb4c179fea6f5 Author: Wayne Davison Date: Tue Jun 29 19:19:00 2004 +0000 Made recv_generator static. M generator.c commit d3a4375f78be4a784abc0c95fc8c99f979decc3f Author: Wayne Davison Date: Tue Jun 29 16:22:54 2004 +0000 Optimized away a call to cmp_modtime() for a compare-dest file. M generator.c commit 78112d305b68d7f9f53d0953656fabff1fa218fa Author: Wayne Davison Date: Tue Jun 29 15:13:18 2004 +0000 Mention the extended argv-overflow checking. M NEWS commit f7c3ee993269fae3cf9c2add93870c183c0f3fc1 Author: Wayne Davison Date: Tue Jun 29 15:12:01 2004 +0000 Tweaked an overly-long line. M receiver.c commit e7a392c77cb322925a4663562c94c7dc5f74f674 Author: Wayne Davison Date: Mon Jun 28 17:45:40 2004 +0000 A few more improvements to the anti-overflow args[] checking. M main.c commit 887e553f0503e45e5273b5c1d7fa71d5554bc542 Author: Wayne Davison Date: Mon Jun 28 17:25:14 2004 +0000 Make sure that do_cmd() doesn't overflow its arg-pointer array (which was also made larger). M main.c commit beb227ddf1ea8392703430816e4d2ee6223edf83 Author: Wayne Davison Date: Thu Jun 24 04:46:02 2004 +0000 Got rid of a couple unneeded assignments. M testsuite/rsync.fns commit 84acca07aeff796f9d0324f382e3eca66b660ffe Author: Wayne Davison Date: Wed Jun 23 21:21:19 2004 +0000 Restoring correct skip_file() return semantics. M generator.c commit cc1e997dcdf69d5346a6aed7b8ef10f5309202f8 Author: Wayne Davison Date: Wed Jun 23 16:51:21 2004 +0000 Thought skip_file() wasn't returning 1 for "skip" and 0 or "keep" so I reversed the return. M generator.c commit a7026ba90ac1e4a87cd57e9a02dd342d00410f52 Author: Wayne Davison Date: Wed Jun 23 01:13:09 2004 +0000 Fixed a newly-introduced problem in read_timeout() where FD_ZERO(&w_fds) wasn't always called before w_fds was used. M io.c commit 3a69fad0f64978e9bea91b825c9773e4cb4447c0 Author: Wayne Davison Date: Sun Jun 20 21:48:06 2004 +0000 Some trivial format tweaks. M main.c commit 40564811ee6c9c67bb3a0852ff2f031ed6d879c3 Author: Wayne Davison Date: Sun Jun 20 20:37:06 2004 +0000 Mentioned the latest socket change and fixed a few typos. M NEWS commit dcd08dc51cb77e9ab796d1bdb5739436c90a6ad4 Author: Wayne Davison Date: Sun Jun 20 19:51:19 2004 +0000 Restored the code in the IPV6_V6ONLY section that checks the return value from setsockopt() with one improvement: if the user has used --ipv6 (-6) we don't discard the IPv6 socket. This should help people using older Linux kernels that don't implement IPv6 support quite right. M socket.c commit fdf57ede8c1cd60ee07f6f8eab5fbfac1224a431 Author: Wayne Davison Date: Sun Jun 20 19:47:05 2004 +0000 Tweaked a comment. M options.c commit bd717af8ab588cd9d05825ff8adfbe5dc91049ca Author: Wayne Davison Date: Sat Jun 19 07:09:57 2004 +0000 Must not call check_timeout() before checking the errno value. M io.c commit c54f5170bf2469c1f10749931eb82282eb2d4e33 Author: Wayne Davison Date: Sat Jun 19 06:55:58 2004 +0000 Added some missing changes. M NEWS commit eae4e1f9f0a50863ec4d9279fafaefca4643722d Author: Wayne Davison Date: Sat Jun 19 05:52:45 2004 +0000 Some minor improved sentences. M NEWS commit 9c513d678d24deee4ab912980e2520e2f09ccc9c Author: Wayne Davison Date: Fri Jun 18 16:55:12 2004 +0000 Tweaked some comments. M sender.c commit d16c245fc4094d79d13b77ae6a5153836407cd89 Author: Wayne Davison Date: Fri Jun 18 16:50:20 2004 +0000 Some helpful comments from Chris Shoemaker. M main.c commit ec8290c89749e96ef88dec6b1673c861260c3561 Author: Wayne Davison Date: Fri Jun 18 16:30:24 2004 +0000 Fixed some typos in a comment, moved an extern, and made a few minor format tweaks. M generator.c commit b293a7f62c8954050712534947e6567b18568691 Author: Wayne Davison Date: Fri Jun 18 16:29:21 2004 +0000 Improved a comment. M flist.c commit d67c8bdfc3007f3ae66c2383ccdec7ed3a58d1ce Author: Wayne Davison Date: Fri Jun 18 16:22:14 2004 +0000 Moved the externs to the top and made a few trivial format tweaks. M token.c commit e2ccd3578c37d918be84b729422735376a7045a2 Author: Wayne Davison Date: Fri Jun 18 16:00:33 2004 +0000 Got rid of some trailing whitespace. M pipe.c commit 4e834af1400713ad564f7d6fc35912921a262467 Author: Wayne Davison Date: Mon Jun 14 15:09:36 2004 +0000 If --partial was specified, make sure that make_backup is turned off during the second (retry) phase of the transfer to avoid making a second backup of a file (which would lose the original). M receiver.c commit 7e5614383d07df443ca1170360277205d1721137 Author: Wayne Davison Date: Sun Jun 13 14:18:48 2004 +0000 Added a short msleep() after option_error() before we exit. This ensures that the remote client has time to read our error message while it is trying to write data to us before it gets a socket error. M clientserver.c commit eb84a83b47dc68b862acef86a2680331d8d4313b Author: Wayne Davison Date: Sat Jun 12 21:30:07 2004 +0000 Changed the new code in delete_one() so that some compilers don't complain about returning a value from a void function. M receiver.c commit 2c2898a38861329d22c273e3cc90c2c327aa4fbe Author: Wayne Davison Date: Sat Jun 12 18:27:04 2004 +0000 Mention the bugfix in option-parsing error-reporting from a daemon. M NEWS commit 1732b6c03711f9584666b93bf2184bbc79ff6a3a Author: Wayne Davison Date: Sat Jun 12 18:22:39 2004 +0000 - Changed some FERROR log calls to FLOG. - Improved the option-error-reporting to actually get the error back to the user (by getting I/O multiplexing started). M clientserver.c commit 314f45916144bbb39f9d7c0a0c166bda0784a132 Author: Wayne Davison Date: Fri Jun 11 07:40:57 2004 +0000 - Made readlink_stat() and link_stat() optionally follow a symlink to a dir. This fixes deletions inside "kept" symlinked dirs. - Call link_stat() with its new arg (for --keep-dirlinks support). M flist.c commit 83926d3cae227bd2a46886af0320fa761cf6b6a0 Author: Wayne Davison Date: Fri Jun 11 07:40:54 2004 +0000 Make sure that keep_dirlinks is turned off for the sender. M main.c commit 6218c7bf4201de3e188b2365cb917f34b832992c Author: Wayne Davison Date: Fri Jun 11 07:40:51 2004 +0000 - Moved --keep-dirlinks code over to flist.c. - Call link_stat() with its new arg (for --keep-dirlinks support). M generator.c commit 566fce323799d3ff6111e0cc06a2381f5345f7fc Author: Wayne Davison Date: Fri Jun 11 07:40:48 2004 +0000 Made delete_one() handle a failed rmdir on a symlink when --keep-dirlinks was specified. M receiver.c commit 373ef1601079db3a26591a3b9089b4bcb366ee82 Author: Wayne Davison Date: Fri Jun 11 07:40:45 2004 +0000 Call link_stat() with its new arg (for --keep-dirlinks support). M hlink.c M rsync.c commit ea76e761048fcc61ab26cdda31fa0c975446e1fa Author: Wayne Davison Date: Fri Jun 11 05:02:59 2004 +0000 In set_filesystem(), call do_stat(), not link_stat() to ensure that we get the directory behind it all. M flist.c commit 9fd62d15880b94c8353e1d1728fa85ee6ff9f6cf Author: Wayne Davison Date: Thu Jun 10 16:43:52 2004 +0000 The mkdir code should be using do_stat(), not do_lstat() to copy each existing dir's mode & owner info. M backup.c commit b7061c82b47bf624b916df87d7813c4fbdb48c18 Author: Wayne Davison Date: Wed Jun 9 21:51:07 2004 +0000 Allow the argv list the daemon uses for globbing its args to grow. M clientserver.c M util.c commit 6fb812f747e0613a1a33436d34c0db4752ea5f70 Author: Wayne Davison Date: Wed Jun 9 21:43:28 2004 +0000 Removed some excessive parens. M main.c commit 40e8d11e64408476452bc7106dddbb289ce94b86 Author: Wayne Davison Date: Wed Jun 9 21:42:33 2004 +0000 Mentioned a couple more bugfixes. M NEWS commit 73042aae5b0ba34286a425d313806def79d891d7 Author: Wayne Davison Date: Wed Jun 9 21:41:21 2004 +0000 Restore UNUSED() macro (the prior problems that prompted me to remove it appear to have been a build-farm bug). M popt/popt.c M popt/poptconfig.c M popt/popthelp.c M popt/system.h commit e5ce3bcf2c4d26d70c245a4f3a4a87da2b254321 Author: Wayne Davison Date: Wed Jun 9 19:23:56 2004 +0000 Needed to enclose the new symlink-warning code in an "#if SUPPORT_LINKS" conditional. M flist.c commit c399d22a197c68c60f7ceaad5237f8a112b24abf Author: Wayne Davison Date: Wed Jun 9 03:07:50 2004 +0000 Renamed read_unbuffered() to readfd_unbuffered() so that it matches writefd_unbuffered(). M io.c commit 1ea087a794addcb6c0b69db22197a60fc2abe446 Author: Wayne Davison Date: Tue Jun 8 22:18:04 2004 +0000 - Made the maximum-fd computation prior to a select() use the same idiom in both the read and write code (also use a better variable name). - Made the bytes-available code at the end of the select() loop use the same flow of control in the read and the write code. M io.c commit 00bdf899770c5e7bfaba1ac0bc3db45d447acf35 Author: Wayne Davison Date: Tue Jun 8 16:23:54 2004 +0000 Improved a comment in read_msg_fd() and made the byte-reading code in read_timeout() a little better. M io.c commit 0bb4d17634d41ad49043bbb9c2dc156dae2eb39a Author: Wayne Davison Date: Mon Jun 7 22:51:14 2004 +0000 Improved rwrite() in two ways: - We no longer assume that the buffer is null terminated (daemon mode would ignore the len when logging a message). - Errors in daemon mode are now sent to both the log and the user. M log.c commit f9c6b3e7d622d6e3960faec80a382bbef99d7a8c Author: Wayne Davison Date: Mon Jun 7 22:47:01 2004 +0000 Increase the size of the message-receving buffer for error messages sent from the receiver to the generator. M io.c commit 9e5a5ddb4c4a66109fa3871ccccd479a72590d79 Author: Wayne Davison Date: Mon Jun 7 22:33:01 2004 +0000 Changed a few FINFO messages to FLOG. M clientserver.c commit 8c0d6a8432ffced11dadfb7ea6216c42806e5366 Author: Wayne Davison Date: Mon Jun 7 22:05:22 2004 +0000 Got rid of some am_daemon games in option_error(). M options.c commit 553f93758afa55cb9cc38102013d4751cc601a4a Author: Wayne Davison Date: Mon Jun 7 21:40:11 2004 +0000 Updated some exclude information that has changed. M rsyncd.conf.yo commit a4a7e64c19b42baa7140395e1c1a1f1d125d9970 Author: Wayne Davison Date: Mon Jun 7 19:59:20 2004 +0000 Don't report a "file vanished" error if a symlink points to nowhere and -L was specified. M flist.c commit 22832c30a0387f2432ab96f602ec4db1ffc4f76f Author: Wayne Davison Date: Sun Jun 6 20:41:01 2004 +0000 Updated a couple things. M TODO commit 1a21666286c8d3a6ad5e0bdba92a7530f1bda68e Author: Wayne Davison Date: Sun Jun 6 20:36:56 2004 +0000 Tell folks to go to the bug-tracking page to report bugs. M README commit 4033b80b51c05ad86eb1d4584c247932d4f77f0f Author: Wayne Davison Date: Sun Jun 6 19:15:58 2004 +0000 - Got rid of some useless calls to msg_list_push(). - Added a couple checks to ensure that the receiver doesn't mix two clashing kinds of writes on the msg_fd_out pipe. - Made sure that the read code in the receiver flushes the msg_fd_out pipe, if needed. M io.c commit 99218d821bd814dbb10646bd0298274c947ae471 Author: Wayne Davison Date: Sun Jun 6 19:02:40 2004 +0000 If the user specifies a small io_timeout value, lower select_timeout. M options.c commit e626b29e1024348054863a9f92355a32dfec6b13 Author: Wayne Davison Date: Sun Jun 6 19:02:09 2004 +0000 Make sure our select calls don't sleep for over one minute at a time, even when io_timeout is a longer value (though the code in options.c might set it to a shorter value if io_timeout is small). M io.c commit f89b936801420f84f0639d718149106a622befc0 Author: Wayne Davison Date: Sun Jun 6 18:36:22 2004 +0000 Don't use single-line "if (condition) statement;" idiom. M io.c commit 17f59e818d595d28b0185b1572e284a8f6ef4771 Author: Wayne Davison Date: Sat Jun 5 21:23:59 2004 +0000 Mention changes to the patches dir. M NEWS commit b5bd5542eb99f97561848113887d100b83e9bc43 Author: Wayne Davison Date: Sat Jun 5 20:26:56 2004 +0000 Neatened up some of the glob-expand code and made a few other minor tweaks. M util.c commit 2e94e70e2b138075fa5ea3a137a370621a38acc7 Author: Wayne Davison Date: Sat Jun 5 19:59:03 2004 +0000 Some superficial code tweaks. M clientserver.c commit 4e1f385711a5c5703eb1c3bbf21cc83c95fe3a6e Author: Wayne Davison Date: Sat Jun 5 16:19:02 2004 +0000 Mentioned new --keep-dirlinks option. M NEWS commit 716e73d483d33a1457be8f4b0e72bb39c11ca171 Author: Wayne Davison Date: Sat Jun 5 16:16:30 2004 +0000 New --keep-dirlinks option. M generator.c M options.c M rsync.yo commit 5b36173d11398362d867d5a7fc50d5f9207f5396 Author: Wayne Davison Date: Thu Jun 3 17:20:33 2004 +0000 Mention new SSH_* vars. M NEWS commit b2ef4f6134d06b7dbf15b8b3589e021e1333674b Author: Wayne Davison Date: Thu Jun 3 17:20:21 2004 +0000 The daemon-over-ssh code now looks for $SSH_CONNECTION and $SSH2_CLIENT as well as $SSH_CLIENT to figure out the remote IP address. M clientname.c commit c7be6dec11266005b6c4501327809956583078d7 Author: Wayne Davison Date: Tue Jun 1 21:27:52 2004 +0000 - Added older news from NEWS file. - Added missing releases from the Partial Protocol History section. M OLDNEWS commit bd1574b2084d846e46a3ed2ae31c032bb4edfb93 Author: Wayne Davison Date: Tue Jun 1 21:27:12 2004 +0000 Moved older news to OLDNEWS. M NEWS commit f376e67420cc738aa4952e6b55c60cf63adf6e88 Author: Wayne Davison Date: Sat May 29 21:21:17 2004 +0000 Got rid of an unneeded character pointer in send_file_entry(). M flist.c commit ef0bc0abffbea5b6a4eba172cf2c78f65fd0353b Author: Wayne Davison Date: Fri May 28 19:42:06 2004 +0000 Mention the --bwlimit change. M NEWS commit 71e586304be0fcd63313212e30125ff0df56029b Author: Wayne Davison Date: Thu May 27 22:09:31 2004 +0000 Improvements to make --bwlimit work better. M io.c commit 3c74c3a35873faf2308efe93eeb361c693026bd2 Author: Wayne Davison Date: Thu May 27 21:51:53 2004 +0000 Set a new variable, bwlimit_writemax, based on the value of the bwlimit option. M options.c commit edad5898f2c221ee869b14d5e16c4a8cf8c4e4bb Author: Wayne Davison Date: Mon May 24 22:59:16 2004 +0000 Got rid of a superfluous call to gettimeofday(). M util.c commit fa0c1939ed2d8563e3e8bb4ff0a8513c64cd1812 Author: Wayne Davison Date: Mon May 24 18:38:05 2004 +0000 The various include/exclude options are not used on the server side, so if someone is trying something funny, just quit. M options.c commit 9a5ade185cc2ac20f16c95b6d28fea85b0d358de Author: Wayne Davison Date: Mon May 24 08:10:22 2004 +0000 Made full_fname()'s char-pointer arg const. M util.c commit f1dd0f27cb31df79f99b611f1222b388c0d64151 Author: Wayne Davison Date: Mon May 24 00:16:07 2004 +0000 - Properly quote the $excl references. - Moved the creation of our .cvsignore exclude file. M testsuite/exclude.test commit f9e5a0cde204b56a4dc77eae156c162a72f6d5a9 Author: Wayne Davison Date: Sun May 23 23:46:56 2004 +0000 Improved the depth calculation in sanitize_path() so that it properly handles a trailing slash, a leading slash, and an empty string. M util.c commit ead751c62b8b1fe733fcf8c7402912519844bb2a Author: Wayne Davison Date: Sat May 22 19:29:53 2004 +0000 Moved a couple lines. M testsuite/exclude.test commit 0058c58edde4ed8c3829894218b5a595a26dea2f Author: Wayne Davison Date: Sat May 22 19:24:24 2004 +0000 A few minor improvements to the existing items. M NEWS commit 221ddb945658d0a77b19242bfb93b55e9f86b4aa Author: Wayne Davison Date: Sat May 22 06:09:22 2004 +0000 Fixed a typo in the sending of the --checksum-seed option to the server. M options.c commit 65e248709676a2633d1c7beb52b31eaeba174312 Author: Wayne Davison Date: Sat May 22 05:32:20 2004 +0000 Fixed the comment for get_exclude_tok(). M exclude.c commit 0501f36390db003456145cf28997e77639667caa Author: Wayne Davison Date: Fri May 21 23:22:14 2004 +0000 Tweaked the alloc/realloc code in flist_expand(). M flist.c commit 96981b9cff1fb158ff435e674a02f554c916c509 Author: Wayne Davison Date: Fri May 21 10:06:09 2004 +0000 Tell rsync to preserve permissions. M testsuite/chgrp.test commit f51e87f5adac281b2a0491cc4a29510206bac88f Author: Wayne Davison Date: Fri May 21 10:00:21 2004 +0000 Another new option. M NEWS commit cb213f1c1b0c9682bc5318e6e2ca3017036e4fb4 Author: Wayne Davison Date: Fri May 21 09:59:49 2004 +0000 Got rid of a compiler warning (which was only output by certain compilers). M exclude.c commit c8d895de26a920d8ff8cdde82bde72ea4b20633f Author: Wayne Davison Date: Fri May 21 09:44:32 2004 +0000 Added the --checksum-seed option. M options.c M rsync.yo commit e51094b7210fc31fa67cc218c1bd30de841a426e Author: Wayne Davison Date: Fri May 21 09:41:38 2004 +0000 - Improved option_error() to make sure that the user sees the error in daemon mode. - Got rid of some repetitious outputting of the same error-message. M options.c commit b03bded70b155676de79b68e477c20ecb1377d8a Author: Wayne Davison Date: Fri May 21 09:29:17 2004 +0000 Document a couple more changes. M NEWS commit ee1df1ccae77a2820b223088b017a4f86a77a279 Author: Wayne Davison Date: Fri May 21 08:43:03 2004 +0000 If --backup was specified without a --backup-dir, don't preserve the directory timestamps. M rsync.c commit bc6ebcd24804445590b8e20fd547fe25f3d140f5 Author: Wayne Davison Date: Fri May 21 08:40:25 2004 +0000 Moved a few externs. M util.c commit ba582f753a4c3eb2dd793904fb6a378ed8ffd90a Author: Wayne Davison Date: Fri May 21 08:27:04 2004 +0000 Changed sum_init() to take a seed value as an arg instead of always using checksum_init. This fixes an authentication problem in server mode (as pointed out by Craig Barratt). M authenticate.c M checksum.c M match.c M receiver.c commit cbd85b472ec8c79449613e821c0952cd7e179deb Author: Wayne Davison Date: Wed May 19 22:20:56 2004 +0000 - Mention the change to the daemon-mode's exclude handling. - Mention the new "write only" daemon-config option. - Fixed another entry to refer to the right files. M NEWS commit 7a92ded39a3f278dc31323ccddb680748db5b7ab Author: Wayne Davison Date: Wed May 19 22:19:19 2004 +0000 Added the "write only" option to the daemon config file. M loadparm.c M main.c M rsyncd.conf.yo commit 831f05df51e6f29ca0b71b81326d7d877ec8b91c Author: Wayne Davison Date: Tue May 18 09:54:52 2004 +0000 A few minor text improvements. M NEWS commit 0d94a6a66cb54c8eb118c101ae92f064dfd252ec Author: Wayne Davison Date: Tue May 18 09:47:42 2004 +0000 Added a little more quoting. M testsuite/longdir.test commit 3e35c34b6b496763799153bff6d4b082628752a1 Author: Wayne Davison Date: Tue May 18 08:50:17 2004 +0000 Output a message when we skip a server-excluded file. M generator.c commit 03a9ca0a976f6aca61af1a3b7630e7026d1444ad Author: Wayne Davison Date: Tue May 18 01:13:14 2004 +0000 Document the latest changes. M NEWS commit 6f481bb0e043271da3bc5683e0fbda4830546ac4 Author: Wayne Davison Date: Tue May 18 00:41:55 2004 +0000 - Use fromdir, todir, and tmpdir instead of FROM, TO, and TMP. - Added chkdir. - Quote the dir expansions to avoid problems with spaces. - Added "exclude = foobar.baz" the the rsync.conf file we create. M testsuite/rsync.fns commit f98cc5685d5b396fd58733bb14e7a6292ca14c00 Author: Wayne Davison Date: Tue May 18 00:41:51 2004 +0000 Test that a config-file-specified exclude works right. M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test commit 9135621ff9733130d48dfaabb961a7869948a9ef Author: Wayne Davison Date: Tue May 18 00:41:49 2004 +0000 Quote the dir expansions to avoid problems with spaces. M testsuite/longdir.test commit 8624daa7f8fb07bd09a3c2106cb0e420ee3da09c Author: Wayne Davison Date: Tue May 18 00:41:46 2004 +0000 - Use fromdir and todir instead of FROM and TO. - Quote the dir expansions to avoid problems with spaces. M testsuite/hands.test M testsuite/ssh-basic.test commit 3051c46dc31d6e754da0b695a071ccac04f297ee Author: Wayne Davison Date: Tue May 18 00:41:43 2004 +0000 - Use $suitedir to find rsync.fns. - Use tmpdir instead of TMP. M testsuite/unsafe-links.test commit e920830ec58994a4a0dff6a699e85ff303962904 Author: Wayne Davison Date: Tue May 18 00:41:40 2004 +0000 Use $suitedir to find rsync.fns. M testsuite/hardlinks.test M testsuite/symlink-ignore.test M testsuite/trimslash.test M testsuite/unsafe-byname.test M testsuite/wildmatch.test commit 7892e5ac776e06391b903a9da62972cb37cb4a47 Author: Wayne Davison Date: Tue May 18 00:41:38 2004 +0000 - Use $suitedir to find rsync.fns. - The values of fromdir, todir, and chkdir are already set. M testsuite/exclude.test M testsuite/merge.test commit b0e9bafc78e066b1d67c07c8f9c022a4c900ed27 Author: Wayne Davison Date: Tue May 18 00:41:35 2004 +0000 - Use $suitedir to find rsync.fns. - The values of fromdir and todir are already set. M testsuite/chgrp.test M testsuite/chown.test M testsuite/devices.test M testsuite/duplicates.test commit 44aa0707703181bbba49c4be057e6ba59478ec4e Author: Wayne Davison Date: Tue May 18 00:32:36 2004 +0000 Removing obsoleted test.sh file (we used the runtests.sh framework for some time now). D test.sh commit 97f9dcae6a08f2ff2d06ace8ee204a52bd5ee960 Author: Wayne Davison Date: Tue May 18 00:14:10 2004 +0000 If the server has excluded a file, we now exclude it from being uploaded as well as downloaded. M generator.c commit 8cbf495a57ac1bb80f8923922b3f1ffdd09905c9 Author: Wayne Davison Date: Sun May 16 23:54:12 2004 +0000 Renamed free_exclude_list() to clear_exclude_list(). M exclude.c M flist.c commit c1b29492c551f43aa2b5385e60f8b6461e483f91 Author: Wayne Davison Date: Sun May 16 14:08:34 2004 +0000 Moved the setting of ret->match_flags up a little in make_exclude(). M exclude.c commit 669a31924ec8491774a737cf99920fdf78e03ab4 Author: Wayne Davison Date: Sun May 16 07:28:24 2004 +0000 - Save some memory in each exclude_struct item by dumping the "include" and "directory" ints and using bits in the match_flags value instead. - Added defines for the new match-flag values, including a new one that lets get_exclude_tok() properly return an indication that it parsed the list-clearing token. M rsync.h commit 5e972dcf34df59af1ba5ffd91b6ca278de22b847 Author: Wayne Davison Date: Sun May 16 07:28:21 2004 +0000 - Switched the "include" and "directory" ints into bits in match_flags. - Made some length vars unsigned. M exclude.c commit 8fcdc444dfebb21fd535ef567f0900026cc4756d Author: Wayne Davison Date: Sat May 15 19:31:16 2004 +0000 - Improved rsyserr() to prefix RSYNC_NAME (as the TODO requested), to construct the string in a better manner, and to have a buffer big enough to hold a full MAXPATHLEN filename plus some error text. - Fixed some comments referring to vsprintf() returning -1 -- our configuration process now ensures that we replace such a function with our own lib version. M log.c commit 619d21ffc99dca4afab4d422d610167ae05af0a4 Author: Wayne Davison Date: Sat May 15 19:31:13 2004 +0000 - Complain about an exclude that was too long and then dump it (used to be silently truncated). - Include extra space in our exclude-reading buffers so that we can fit a 2-char prefix and a trailing slash and still handle a MAXPATHLEN name. M exclude.c commit d62bcc17f303f30d1e3df1051b1390202a21cf9c Author: Wayne Davison Date: Sat May 15 19:31:10 2004 +0000 Changed rprintf() calls that included strerror() to use rsyserr(). M backup.c M batch.c M clientname.c M clientserver.c M flist.c M generator.c M hlink.c M io.c M params.c M pipe.c M receiver.c M rsync.c M sender.c M socket.c M util.c commit 982e05bbd578c15664a94751ee71e263481143da Author: Wayne Davison Date: Sat May 15 19:31:10 2004 +0000 Changed rprintf() calls that included strerror() to use rsyserr(). M main.c commit a3c8b368633d511bc9433be2de133626038e2c47 Author: Wayne Davison Date: Sat May 15 19:31:05 2004 +0000 Added rsyserr(). M t_stub.c commit 630e3c408b32b94bfca0420fc9f00be11b685a00 Author: Wayne Davison Date: Sat May 15 19:09:42 2004 +0000 Whitespace tweaks. M tls.c commit 1082b52bd4fbe567b75b6fb15eeefbf7a34c769a Author: Wayne Davison Date: Sat May 15 18:51:21 2004 +0000 Changing if (!write_batch) in front of send_exclude_list() to if (!read_batch) -- fixes hang. M main.c commit 914f3066bb0fa068a4e34e574ae853210f02ae20 Author: Wayne Davison Date: Sat May 15 00:48:11 2004 +0000 Added a "gen" rule to remake various generated files: configure, config.h.in, proto.h, rsync.1, and rsyncd.conf.5 . M Makefile.in commit de91e757244a51006bdc1297df16f26782e3e5d2 Author: Wayne Davison Date: Fri May 14 21:23:41 2004 +0000 In the debug output, distinguish between a user-requested clearing of the exclude list and the popping of the local exclude list that occurs when we finish each subdir. M exclude.c M flist.c commit 384431886a70c745beb72a4196a0231a658f4745 Author: Wayne Davison Date: Thu May 13 18:51:22 2004 +0000 Changed PERMS_SKIP_TIME to PERMS_SKIP_MTIME. M rsync.c M rsync.h commit 82b302d928b50cf3fc96a9d59af6d4155e5d0aaf Author: Wayne Davison Date: Thu May 13 18:41:17 2004 +0000 Got rid of some useless externs. M rsync.c commit 4ecc9e6b64f568f5ca6e98448c953d95c68bb3a3 Author: Wayne Davison Date: Thu May 13 07:08:25 2004 +0000 The finish_transfer() call takes an arg that specifies if we should set the modtime or not on the finished file. It calls set_perms(), which now takes a flag arg that allows us to specify if we want to skip the modtime modification. M rsync.c commit 55e50d890b6bfab9e75f2d72fe877dabd721cf49 Author: Wayne Davison Date: Thu May 13 07:08:22 2004 +0000 If the file did not transfer correctly, only save it if --partial was specified. We also skip the setting of the modtime too on a partial copy (that way the partial file won't be confused with an up-to-date copy of the original). M receiver.c commit 6e86c951d72ab394acebd4ca835c751dd2f22d7c Author: Wayne Davison Date: Thu May 13 07:08:18 2004 +0000 Call finish_transfer() with its new arg. Also put the externs at the top and got rid of some trailing whitespace. M cleanup.c commit c41b52c487e6fc37462e5a5951d7fc0b782690c5 Author: Wayne Davison Date: Thu May 13 06:55:01 2004 +0000 Use the new PERMS_REPORT flag when calling set_perms(). M generator.c commit 5c6fc4a6a3328d9995377efdc05a90987b96d9a2 Author: Wayne Davison Date: Thu May 13 06:53:23 2004 +0000 Added PERMS_REPORT and PERMS_SKIP_TIME. M rsync.h commit edecdad54de4c47609319d469ec41fbd36c0ab35 Author: Wayne Davison Date: Thu May 13 06:46:20 2004 +0000 If we got a read-error on a file, make sure that the whole-file checksum we send to the receiver is wrong (so they won't save the bogus file). M match.c commit 5291364f1d0e54a1a61fdc4f038d0420200b8971 Author: Wayne Davison Date: Thu May 13 06:34:03 2004 +0000 Don't force the modtime on our backup dirs -- the dirs in the backup hierarchy should have their own timestamps. M backup.c commit 41cc97ae64617cf5e1cb5c35a7b63852a92d4d1a Author: Wayne Davison Date: Tue May 11 19:53:16 2004 +0000 In send_files(), changed the name of the map_struct variable from "buf" to "mbuf" (so that it wouldn't be so similar to the "buff" variable nor use a name that is more typically a char* buffer). M sender.c commit bf2b7ddfc56b69808748d15aea7fd04d5b720b10 Author: Wayne Davison Date: Tue May 11 19:46:56 2004 +0000 Use memset() to initialize a new map_struct. M fileio.c commit eb0cbdaa90087abb4f17bd86cee359a8fe5cad3d Author: Wayne Davison Date: Tue May 11 17:25:16 2004 +0000 Got rid of an unused extern. M flist.c commit 0d0142e812747cc341605792e7d577ce44f956f7 Author: Wayne Davison Date: Tue May 11 17:25:01 2004 +0000 Got rid of unused externs. M compat.c commit a43e21e05c5cf9e3525b3dd5480e4ee5945ffab1 Author: Wayne Davison Date: Sat May 8 22:49:58 2004 +0000 Let's just remove all the UNUSED() macros for now. M popt/popt.c M popt/poptconfig.c M popt/popthelp.c M popt/system.h commit 4135d091a6751f6b209a8600720ab6ec183cd909 Author: Wayne Davison Date: Sat May 8 20:03:39 2004 +0000 Changed the non-globbing version of glob_expand_one() so that it checks the maxargs argument instead of leaving it unused. M util.c commit 534407b1f43c9daab67f7f9effc1d881674c5537 Author: Wayne Davison Date: Sat May 8 19:50:22 2004 +0000 One more attempt to get HP-UX's cc to build popt successfully. M popt/popt.c commit 18cc8c7ef150f8216149b4513039a837db24cc62 Author: Wayne Davison Date: Sat May 8 19:37:28 2004 +0000 Improved a comment and got rid of some trailing whitespace. M authenticate.c commit 58c9b4b7f61d49408c87d7f7b40bc2d3eef92906 Author: Wayne Davison Date: Sat May 8 19:26:53 2004 +0000 Tweaked the sizeof syntax and some multi-statement lines. M authenticate.c commit cde719f49f9152b7fa746759b59e331f93d579a2 Author: Wayne Davison Date: Sat May 8 18:48:09 2004 +0000 Changed the order of the msgcode enum so that new items now get added at the start (which avoids the need for trailing-comma changes on old entries when new ones are added). M rsync.h commit 38cab94d9a62d16ed410e51af114fccf43eb049b Author: Wayne Davison Date: Sat May 8 18:18:42 2004 +0000 - Improved the get_secret()'s function comments, made it accept a line that doesn't end with a newline, and optimized it a bit. - Improved getpassf() to work if the line does not end with a newline. M authenticate.c commit 6ed6d7f5a8703d1d8702015c6a46d2ea4ee6be07 Author: Wayne Davison Date: Sat May 8 18:03:43 2004 +0000 Improved the function comments for read_line() and slightly tweaked its code. Also changed "IO" to "I/O" in various comments. M io.c commit e40a46de71e09d753160cc503b005d11208b22ab Author: Wayne Davison Date: Fri May 7 00:18:37 2004 +0000 Document the -4, -6, --ipv4, --ipv6 options. M rsync.yo commit c5bf99a1c27d4f0223558f68012a490069dbc76f Author: Wayne Davison Date: Thu May 6 21:29:36 2004 +0000 Correct a typo. M socket.c commit 2c7d63c76592751427f805020cfe8878bbc72f1f Author: Wayne Davison Date: Thu May 6 21:26:46 2004 +0000 - Updated the comments for open_socket_in(). - Changed open_socket_in() to return an array of ints with a trailing -1 value to indicate the end of the list. - Use the out_of_memory() routine to complain about no memory. - Undid the recent IPV6_V6ONLY change, as I think it would prevent the use of IPv6 sockets on some older systems. - If we get an EADDRINUSE error and this is not the first socket in the list, suggest that the user try --ipv4 or --ipv6. - When forking, the child now closes all the open bound sockets, not just one of them (I'm not talking about the fd from accept(), obviously). M socket.c commit 3dd22903ac6df765f6525f53fe98d9dfdd4ac5c4 Author: Wayne Davison Date: Thu May 6 21:08:01 2004 +0000 Introduced long-option names for -4 and -6. M options.c commit d8d36af4521e77ed284f7be91f95d53d972914b4 Author: Wayne Davison Date: Wed May 5 22:17:48 2004 +0000 If we need to set IPV6_V6ONLY but setsockopt() fails, close the socket and skip it. M socket.c commit e610e50f9c3b8d10a3c96674b007eee125ed55bc Author: Wayne Davison Date: Wed May 5 17:15:03 2004 +0000 Added missing extern for read_batch. M generator.c commit 935c64173fb9ee9b4f09f5114561190ef43969e4 Author: Wayne Davison Date: Wed May 5 16:23:49 2004 +0000 Don't force the whole-file option when using read-batch. M generator.c commit 377dbd207556fe8e0bca2387205b4e06d9ed23e1 Author: Wayne Davison Date: Tue May 4 03:10:45 2004 +0000 Calls to make_bak_dir() should only happen when we fail to create a file/dir/etc. with errno == ENOENT. M backup.c commit 93272700d2eb85320ddf67f3bc1281dbe402f9f9 Author: Wayne Davison Date: Mon May 3 01:24:10 2004 +0000 A slight refinement to my last patch. M flist.c commit d508258ad81346389881c6b672e705103b3c762e Author: Wayne Davison Date: Mon May 3 01:18:07 2004 +0000 Fixed crash bug that can affect --delete in certain circumstances. M flist.c commit f57b2e6150af146c87e7d51a45e98118c60a510b Author: Wayne Davison Date: Sun May 2 17:04:14 2004 +0000 Got rid of a TODO comment that was fixed long ago. M Makefile.in commit af45f9e27e71b8ea5aca226f39a44eb88f83ce92 Author: Wayne Davison Date: Sun May 2 16:52:52 2004 +0000 Renamed variable STRIP to INSTALL_STRIP to avoid an accidental match with an environment variable in OpenBSD. M Makefile.in commit 4c4d61b0468f000d7c028da773d38783e20249aa Author: Wayne Davison Date: Sun May 2 16:34:33 2004 +0000 Got rid of trailing comma in an enum. M rsync.h commit 7561c3e132027283a4bb2b647271a61370bbcb85 Author: Wayne Davison Date: Fri Apr 30 21:10:58 2004 +0000 Moved some news items under new headings. M NEWS commit 1514ad2a803f0ce4d73601da7837a97d7b17e6c5 Author: Wayne Davison Date: Fri Apr 30 20:39:29 2004 +0000 Changed the order that ssh and rsh are mentioned. M README commit d8195637d4f1a0f7526030014c8054761b6563db Author: Wayne Davison Date: Fri Apr 30 19:14:52 2004 +0000 Additional testing confirmed the limited scope of the sources affected by the -R sorting bug. M NEWS commit c8d771a0fb76fcdfc09f7f78f357e24a080dbdc2 Author: Wayne Davison Date: Fri Apr 30 18:03:33 2004 +0000 Preparing for release of 2.6.2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 9130776c4e8ba0944ad7c3ccd9e2d24acb828fac Author: Wayne Davison Date: Fri Apr 30 17:53:51 2004 +0000 Mention the last few tweaks that made it into 2.6.2. M NEWS commit 9eac94a4ddd70b5afb37f71cc7fb36fcb46e2e44 Author: Wayne Davison Date: Fri Apr 30 17:38:22 2004 +0000 Improved the program that checks for broken large-file locking. M configure.in commit 6e06d2f31a25c615503f4ab5903fe02d60988634 Author: Wayne Davison Date: Fri Apr 30 17:24:49 2004 +0000 Don't rely on the local shell's wildcard expansion to make the test work right -- it might not be quite as compatible as we need. M testsuite/merge.test commit 6a6d21136ac7c1f5700ad439ca9ec2c21c5f9b18 Author: Wayne Davison Date: Fri Apr 30 16:10:45 2004 +0000 Only refer to AI_NUMERICHOST if it is defined. M clientname.c commit f28bd8334687751b6634db96d61607cd93669959 Author: Wayne Davison Date: Fri Apr 30 15:46:41 2004 +0000 Fixed a few typos. M rsync.yo commit 96fb478eae2b147ebda7e4fa7754c9653a0d5688 Author: Wayne Davison Date: Thu Apr 29 21:12:46 2004 +0000 Mention the desire to improve how a daemon returns errors. M TODO commit 8752b3fcd8986aaa2852488fda94277c4f84ed1e Author: Wayne Davison Date: Thu Apr 29 21:09:33 2004 +0000 Describe the changes for 2.6.2. M NEWS commit 55ffed7e42c46db2420c682f34299cf81dd0fac7 Author: Wayne Davison Date: Thu Apr 29 20:36:22 2004 +0000 Preparing for release of 2.6.2pre1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit e00df64bae38dd1beb021f7b2ff7da99987d154b Author: Wayne Davison Date: Thu Apr 29 19:40:17 2004 +0000 Got rid of unused check for sys/sysctl.h. M configure.in commit 080ddf58aeb4fdf161459576068048486e624f4f Author: Wayne Davison Date: Thu Apr 29 19:37:15 2004 +0000 Fixed a sorting problem when an entry has an empty (but not NULL) dirname (which I had thought impossible, but it appears to occur with --relative in some instances). M flist.c commit 4ce48a5bfdc975546dd4b0f17d029a7f5be9cad7 Author: Wayne Davison Date: Thu Apr 29 19:34:31 2004 +0000 Restore old behavior of logging most daemon errors instead of sending them to the user. This should eventually be improved to duplicate some of these messages to the user to keep them informed about what went wrong. M log.c commit 20bf7f847fdc79d4b823a3da1285809f711776c0 Author: Wayne Davison Date: Wed Apr 28 17:35:08 2004 +0000 Undefined __attribute__ in some circumstances. M popt/system.h commit b66d00853b71bf852a2dcdecb97348a9ec1818ad Author: Wayne Davison Date: Wed Apr 28 17:31:31 2004 +0000 Fixed the use of an uninitialized variable in map_uid() and map_gid(). M uidlist.c commit 8b602edda4fecabfc9734707210e3d30f8e8c3f1 Author: Wayne Davison Date: Tue Apr 27 19:59:37 2004 +0000 In copy_file(), check len < 0 before checking the close() return values. M util.c commit 9f27cd8ca6ccbf1ab4cd8b0b66445535e2573d59 Author: Wayne Davison Date: Tue Apr 27 19:51:33 2004 +0000 Check the return code from close() and output an error if it fails. M receiver.c M util.c commit b084f9e092159b03c955312b0c90fe95eb490b2f Author: Wayne Davison Date: Tue Apr 27 16:41:33 2004 +0000 Got rid of a debug-output statement. M util.c commit 4220e1098e4db02e069562ccc834730417e4edd1 Author: Wayne Davison Date: Tue Apr 27 03:55:37 2004 +0000 Preparing for release of 2.6.1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit c30468169adcfe3b75801ce24c8aed78ed7eb712 Author: Wayne Davison Date: Tue Apr 27 03:53:28 2004 +0000 - Tweaked the bullet char so that vim can auto-format the items more easily (and then used vim to re-flow the items). - Added a mention about the daemon security fix. - Added the 2.6.1 release date. M NEWS commit c0d9e8c76b6a7aa6a4fa77a342ceb59be9444b1e Author: Wayne Davison Date: Tue Apr 27 01:36:16 2004 +0000 - Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. - Got rid of HP-UX kludge (since it didn't help). M rsync.h commit 90a973fe8ae1ff16198271be561bbc6068cafb40 Author: Wayne Davison Date: Tue Apr 27 01:36:10 2004 +0000 Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. M flist.c commit 7f0feb4dd678cd9a9147d0ea5c3cc107aefb07d1 Author: Wayne Davison Date: Tue Apr 27 01:36:06 2004 +0000 - Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY. - Don't parse comment lines in add_exclude_file() when XFLG_WORD_SPLIT is set. M exclude.c commit 33a5432ea6d8a3cf2851efac616e4bc3b7042fce Author: Wayne Davison Date: Tue Apr 27 01:36:00 2004 +0000 Got rid of HP-UX kludge (since it didn't help). M popt/system.h commit 968ff560d219f4faef3ddcff75db7308f2eaa3c2 Author: Wayne Davison Date: Tue Apr 27 01:00:58 2004 +0000 Made a comment clearer. M exclude.c commit cd59be1d5ebfd0dfd07db5d87caacd5164776675 Author: Wayne Davison Date: Sun Apr 25 20:36:41 2004 +0000 One more try at getting the HP-UX system in the build farm to compile popt. M popt/system.h commit 8b2869c0d248af7658d90d79aea3ce81b3ccdf62 Author: Wayne Davison Date: Sun Apr 25 16:10:09 2004 +0000 Don't use __attribute__((__unused__)) on HP-UX w/o gcc. M popt/system.h commit 82a51ea53d967d95878b6c4a2dbc9636b117165f Author: Wayne Davison Date: Sat Apr 24 08:00:39 2004 +0000 Improved the debug string for the local_exclude_list. M exclude.c commit 20af605ebab5358f890b0a1916604a4f457a0759 Author: Wayne Davison Date: Sat Apr 24 06:16:04 2004 +0000 Improved the EXCLUDE PATTERNS section some more. M rsync.yo commit a6536635e3680d53d9a370b8c7f122d5d94a98fa Author: Wayne Davison Date: Fri Apr 23 08:09:13 2004 +0000 Fixed a comment. M exclude.c commit adddd075eb60cc540790e48f82c000c383abe043 Author: Wayne Davison Date: Fri Apr 23 05:14:39 2004 +0000 Mention how --update behaves when the type of the file differs on the source and destination systems. M rsync.yo commit a0c823b22b81d5ecb01058e4a14186f6252f959e Author: Wayne Davison Date: Fri Apr 23 01:33:35 2004 +0000 Recently added caveat is no longer true. M rsync.yo commit 9fdb334e8518d80914aa33282d718d9ee6809b30 Author: Wayne Davison Date: Thu Apr 22 22:17:15 2004 +0000 Restore the old include behavior where a command-line include could override a .cvsignore exclude. M exclude.c M flist.c M util.c commit f89e890b87f1283a10069f2970820bbbe5ccfd5f Author: Wayne Davison Date: Thu Apr 22 21:35:45 2004 +0000 Got rid of a wrong paragraph. M rsync.yo commit 1c666c3fcbb293d08ed1138e03e8bbed6d099ae1 Author: Wayne Davison Date: Thu Apr 22 21:17:58 2004 +0000 Got rid of a bunch of cruft. M lib/.cvsignore commit 2a383be0f11d693fc8890b0f56374de75b7743ab Author: Wayne Davison Date: Thu Apr 22 18:17:30 2004 +0000 Updated the default list of cvs-excluded files and added some extra info on how the option interacts with other include/exclude rules. M rsync.yo commit ac1d2d338450eb005abf03002f5784097caf7e19 Author: Wayne Davison Date: Thu Apr 22 09:58:24 2004 +0000 Added "debug_type" to the exclude_list_struct. M rsync.h commit acfcfa70538df76cfa7f95082a9d0231fcf669dd Author: Wayne Davison Date: Thu Apr 22 09:58:21 2004 +0000 No need to pass a debug string to check_exclude() anymore. M util.c commit 8ef81dd45257e27275baff9421af8d78b64b6752 Author: Wayne Davison Date: Thu Apr 22 09:58:18 2004 +0000 No need to pass a debug string to check_exclude() anymore. When we free an exclude list, make sure we don't clear the debug_type string. M flist.c commit 67340e95238ad48202977210389bb7a54e65bbe3 Author: Wayne Davison Date: Thu Apr 22 09:58:15 2004 +0000 Initialize the new debug_type string in each exclude list and output it in a couple extra debug messages. When we free an exclude list, make sure we don't clear the debug_type string. M exclude.c commit a7ceddae3404768a6b42cc725199dcf9b7ce1c31 Author: Wayne Davison Date: Thu Apr 22 09:58:11 2004 +0000 Changed check_exclude()'s prototype. M t_stub.c commit 24e1569f8b6cbd072e986502111bac2773e920e8 Author: Wayne Davison Date: Thu Apr 22 08:41:03 2004 +0000 The debug output for add_exclude() now needs to limit the pattern to print only "pat_len" chars. M exclude.c commit de31639fffcb303ae41aa727e0633d488863d1de Author: Wayne Davison Date: Mon Apr 19 17:52:39 2004 +0000 A couple minor text improvements. M NEWS commit 8b46340924320180ee838bc1ff67c4d6dd3fbc30 Author: Wayne Davison Date: Sun Apr 18 06:29:06 2004 +0000 Mentioned the better handling of option paths when a daemon is not running with chroot enabled. M NEWS commit d008bcb5cd794799e11354c0529f27bee4223ec0 Author: Wayne Davison Date: Sat Apr 17 19:58:12 2004 +0000 Made the device-changes section agree with the latest code. M NEWS commit 0484b5b0b70dca6b99057833460b648787a47a70 Author: Wayne Davison Date: Sat Apr 17 18:40:16 2004 +0000 Preparing for release of 2.6.1pre-2 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit f01b6368a50ebcb5a78750d8b2aff612359b5735 Author: Wayne Davison Date: Sat Apr 17 18:12:33 2004 +0000 Mention that --from0 does not affect --cvs-exclude's reading of the .cvsignore files. M rsync.yo commit 40d38dc0be7b1b5ef6d0ea4445b67f370d3d0f20 Author: Wayne Davison Date: Sat Apr 17 17:55:45 2004 +0000 In add_exclude_file(), if we're word-splitting, stop reading a "line" at any whitespace (so that we don't overflow the line buffer). M exclude.c commit 33a2361cc243cc4206acfbf1a33153c408e04340 Author: Wayne Davison Date: Sat Apr 17 17:14:16 2004 +0000 The inode and dev values in the idev struct are now uint64. M rsync.h commit 4124540d61405c0de67a5c0f53c96eeae29fcaae Author: Wayne Davison Date: Sat Apr 17 17:14:12 2004 +0000 Changed the dev handling for -H back to using an opaque 64-bit integer instead of trying to transfer it as separate major & minor values. Since the value is not interpreted by the receiving side (just compared for equality), this is a safer way to go. M flist.c commit 5f3812681730713d0616badec608f632ebacb2ed Author: Wayne Davison Date: Sat Apr 17 17:07:23 2004 +0000 Use "uint64" instead of INO64_T (which is now gone). M options.c commit b05b3c9b4846b705b15b98b2c29d5d4364de5139 Author: Wayne Davison Date: Sat Apr 17 17:06:03 2004 +0000 Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the old code would generate a string that started with "//" instead of "/"). M util.c commit a03a9f4efe1ae11f0f26cb94f988c13a2043f24a Author: Wayne Davison Date: Thu Apr 15 18:32:24 2004 +0000 Don't say "skipped" if the file is just not being transferred (i.e. when other updates, such as owner/permissions/etc. might be made). M rsync.yo commit 3e550303722ab2c8aa2b7b03aa36de5700bce6a0 Author: Wayne Davison Date: Thu Apr 15 18:23:52 2004 +0000 Mention exclude improvements. M NEWS commit 273c0420d0a30a5bfaa0f7e380e5ab30c388b37b Author: Wayne Davison Date: Thu Apr 15 18:22:56 2004 +0000 Got rid of a couple useless lines. M popt/.cvsignore commit 5774786fa595fe1db3e2a420da3c8eabb63b8653 Author: Wayne Davison Date: Thu Apr 15 16:55:23 2004 +0000 Moved some externs. M generator.c commit 1a9ec1fd1c144e5f578ee3746bc1ea4a3c73a7cc Author: Wayne Davison Date: Thu Apr 15 06:54:14 2004 +0000 Got rid of zlib/dummy ("dummy" is in the zlib .cvsignore, where it should be). M .cvsignore commit b2aa573b1c1fdc9f019d55ce5350a5b1dad59383 Author: Wayne Davison Date: Wed Apr 14 23:33:40 2004 +0000 Our exclude lists are now comprised of a base structure with a head and a tail pointer pointing to a linked list of items (rather than an array of pointers that has to be reallocated all the time). M exclude.c commit 63d0331991702d3570078551acf266f0e405faa4 Author: Wayne Davison Date: Wed Apr 14 23:33:37 2004 +0000 Added a "next" pointer to "exclude_struct" and added a new structure for exclude lists, exclude_list_struct, that holds the head/tail pointers for the list. M rsync.h commit bf6dcd17133e4e29e09420e3252a4184be3b04b6 Author: Wayne Davison Date: Wed Apr 14 23:33:34 2004 +0000 Updated the exclude-list code to handle the new linked-list structure format. M flist.c M options.c M t_stub.c M util.c commit 495723bb26632d78c7693799491fb3b9c3b326be Author: Wayne Davison Date: Wed Apr 14 23:33:34 2004 +0000 Updated the exclude-list code to handle the new linked-list structure format. M clientserver.c commit 911cb0662c18941b6936456486d9de62cc1edaa5 Author: Wayne Davison Date: Wed Apr 14 22:49:54 2004 +0000 Updated stub version of check_exclude(). M t_stub.c commit 5387514eaf499a0f6388c44aec9002cedbbec210 Author: Wayne Davison Date: Wed Apr 14 21:59:45 2004 +0000 Added a description arg to check_exclude(). M flist.c M util.c commit 61414c83cea20894b8799a9ebfdfd9383afe0e36 Author: Wayne Davison Date: Wed Apr 14 21:59:41 2004 +0000 The check_exclude() and report_exclude_result() functions now take a description string that describes what kind of an include/exclude is happening (which only gets output when verbose is set to 2 or more). M exclude.c commit 43a9d0e7c22d79861eead8dbee35513b02310314 Author: Wayne Davison Date: Wed Apr 14 20:50:32 2004 +0000 Improved the exclude testing by adding tests that exercise --cvs-exclude and --delete-excluded. M testsuite/exclude.test commit df5cd107a57a592b196add0aac7642b89ac261b0 Author: Wayne Davison Date: Wed Apr 14 16:51:48 2004 +0000 Moved (and expanded) a verbose message from clientserver.c to socket.c to solve an old FIXME comment. M clientserver.c M socket.c commit abca4eba6776164c2a848575ecd03caa5f85e1b3 Author: Wayne Davison Date: Tue Apr 13 19:07:21 2004 +0000 Fixed a potential problem parsing the "!" token from a word-split string. M exclude.c commit 96d3590a08439cf2338939f5f5606ff3a4bc5f7d Author: Wayne Davison Date: Tue Apr 13 18:35:08 2004 +0000 A few more improvements to get_exclude_tok() and add_exclude(). M exclude.c commit 8429aa9e0e89ae8310dcb070dcf1912369f83dd1 Author: Wayne Davison Date: Tue Apr 13 00:32:58 2004 +0000 Added an example for --link-dest. M rsync.yo commit 79d4053048af42d954c814a1bd60f61190e8035f Author: Wayne Davison Date: Mon Apr 12 18:03:08 2004 +0000 Updated with latest news and some spelling mistakes corrected. M NEWS commit 753b6b4692b381d64f192abdbea01114f41be86d Author: Wayne Davison Date: Mon Apr 12 17:42:35 2004 +0000 Replaced MISSING_OK, MISSING_FATAL, ADD_INCLUDE, and ADD_EXCLUDE with some new XFLG_* values (for the add_exclude*() function). M rsync.h commit f8f726449bb174935ac9306b7d3b354b5056423d Author: Wayne Davison Date: Mon Apr 12 17:42:32 2004 +0000 - add_exclude() now takes a flag int and can optionally word-split items and/or ignore +/- prefixes. - add_exclude_file() changed to take the same flags as add_exclude(). - add_exclude_line() was removed since add_exclude() can now do its job. - make_exclude() now takes a size-limited string without a +/- prefix. - add_cvs_excludes() was changed to word-split the items that come from a .cvsignore file, and to ignore all +/- prefixes in all the ignore sources. Since CVS doesn't check if its ignore items are directories, the dir-names (e.g. SCCS, CVS, etc.) no longer have a trailing slash (making our excludes match CVS's ignores more exactly). M exclude.c commit 357406ecb202e40c7c7e68ce5fd3307b1dbb6fa2 Author: Wayne Davison Date: Mon Apr 12 17:42:29 2004 +0000 Use the new XFLG_* flags to call the add_exclude*() functions. M clientserver.c M flist.c M options.c commit 3915fd7583799712e7956f8034ace529f6d87da0 Author: Wayne Davison Date: Mon Apr 12 16:52:43 2004 +0000 No need to cast st.st_rdev to DEV64_T anymore. M generator.c commit 9c5e91f8484a4815d589d3fa81777c59559bc2dd Author: Wayne Davison Date: Mon Apr 12 16:52:40 2004 +0000 - Use dev_t instead of DEV64_T. - Changed rdev_high to rdev_major. - Use major(), minor(), and makedev() to manipulate device numbers. - Send the major and minor values separately in protocol 28 and beyond. M flist.c commit af107f6c08d011ea6810de9a1e087b6ecf918ad6 Author: Wayne Davison Date: Mon Apr 12 16:52:37 2004 +0000 - Got rid of DEV64_T and changed the internal device variables to dev_t. - Changed XMIT_SAME_HIGH_RDEV to XMIT_SAME_RDEV_MAJOR. - Added XMIT_RDEV_MINOR_IS_SMALL. M rsync.h commit a3dbb20a0e136662b1b93349357d0b18972d928a Author: Wayne Davison Date: Sat Apr 10 10:31:11 2004 +0000 Fixed a bug where an exclude name that got sent over the wire could get an extra "- " or "+ " parsed off the start of the name (i.e. we have to quote excluded names that start with those strings with an extra "- " at the start). M exclude.c commit a3779426b693a90a79aa872dc2e02ddaf45cfcf0 Author: Wayne Davison Date: Fri Apr 9 22:25:33 2004 +0000 UNUSED() misbehaves on HP-UX, not AIX. M rsync.h commit 2f5ca63d928fa751f348aecd4afcf586c1d0c1cf Author: Wayne Davison Date: Fri Apr 9 21:51:34 2004 +0000 AIX doesn't like our UNUSED() macro, so let's eliminate it for them. M rsync.h commit 0e1d98ae921697d9a44114a59123dc141ffe6afd Author: Wayne Davison Date: Fri Apr 9 20:22:44 2004 +0000 Silence compiler warnings on Solaris. M tls.c commit 04575bcab50c688b26560928e7c0bcd3b6ee32e8 Author: Wayne Davison Date: Fri Apr 9 20:17:01 2004 +0000 Missed one void-pointer-arithmetic case. M lib/pool_alloc.c commit 71b291d71b70cd09865882235fca3a8d35edc6b3 Author: Wayne Davison Date: Fri Apr 9 19:53:50 2004 +0000 AIX's cc was complaining about the void* arithmetic. M lib/pool_alloc.c commit decba3ae733cffef86ead3a22eac6e717eaed90d Author: Wayne Davison Date: Fri Apr 9 19:18:34 2004 +0000 Removed debug code. M tls.c commit f8ed564c9f74993ebccb5832473c6ab777e27e7f Author: Wayne Davison Date: Fri Apr 9 19:04:03 2004 +0000 Changed sysmacros.h to sys/sysmacros.h. M rsync.h commit 47ba39bef6d69f9bf8107da9c97bdffc3e02476b Author: Wayne Davison Date: Fri Apr 9 18:36:01 2004 +0000 Added some test code to assist in the remote debugging of the build farm's Solaris machines. M tls.c commit 71f70514890a7751ea0712c329c5ac20fdfe5feb Author: Wayne Davison Date: Fri Apr 9 18:10:03 2004 +0000 Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS. M rsync.h commit 3c3791e8be94dc75a1fa2167ce1ac8d5e724ebc8 Author: Wayne Davison Date: Fri Apr 9 18:09:16 2004 +0000 Use AC_HEADER_MAJOR for better makedev/major/minor determination. M configure.in commit c39d6514ab197d7daca4fbf08408b45c99b1a7ec Author: Wayne Davison Date: Fri Apr 9 17:59:50 2004 +0000 Include if it exists. M rsync.h commit 1cb6f3bf4d1082ec59720e8018bf825baf63223a Author: Wayne Davison Date: Fri Apr 9 17:56:58 2004 +0000 Added sys/mkdev.h to the searched-for headers. M configure.in commit f09dc86ab65bec2f40bd5651a8bf08dd4d00803f Author: Wayne Davison Date: Fri Apr 9 00:36:45 2004 +0000 Added a couple extra character devices to be copied. M testsuite/devices.test commit f26ac1e8cb06e6e0c3f655b41ac5685fe0c0eccc Author: Wayne Davison Date: Fri Apr 9 00:33:34 2004 +0000 If we're listing a device, output the major and minor device numbers. M tls.c commit 84a3efa0abf63d0e30909722f5b8331aa4052b4b Author: Wayne Davison Date: Thu Apr 8 23:15:39 2004 +0000 Simplify the setting of rdev & rdev_high in send_file_entry(). M flist.c commit 00ed4b5bf3e0980b62327c88445d11cc60fb164e Author: Wayne Davison Date: Thu Apr 8 23:05:36 2004 +0000 Fixed a bug in the sending of rdev when the high-bits match. M flist.c commit e2e053bbd78582a34e9252202423ca26e9267320 Author: Wayne Davison Date: Thu Apr 8 21:51:49 2004 +0000 Explicitly cast our ~0xFF mask using ~(DEV64_T)0xFF, just to be sure (sign-extention would have probably made the former work OK). M flist.c commit f8b33ab379f0105023d901c5c9fbf5f0db3683ce Author: Wayne Davison Date: Wed Apr 7 23:13:02 2004 +0000 Mention the rsync-daemon fix for --sufix=''. M NEWS commit 5df1fcf2452b92a48cd520c8363064892334f0d2 Author: Wayne Davison Date: Wed Apr 7 23:09:14 2004 +0000 If --daemon was specified, exit the option-parsing code before adjusting various default values (the real defaults will get set when the client's options arrive). M options.c commit b1ad6a3260b92d66266700f866564444c2582ea8 Author: Wayne Davison Date: Mon Apr 5 15:05:46 2004 +0000 Added a couple missing items. M NEWS commit 6442ccc606503d061ca788c54098d9502c334056 Author: Wayne Davison Date: Sat Apr 3 20:47:54 2004 +0000 Decided against "Source root" in the exclude/include examples. M rsync.yo commit b21813060cb85191b71b2ceeaa3167af9bcb791f Author: Wayne Davison Date: Sat Apr 3 18:13:51 2004 +0000 Mentioned the CoW improvement and got rid of a bug-fix mention that was for a bug introduced during the 2.6.1 developement. M NEWS commit 706c75307a456bd5f7ee03089d3969b428775c69 Author: Wayne Davison Date: Thu Apr 1 21:39:35 2004 +0000 Use getaddrinfo() to figure out if a numeric address is IPv4 or IPv6. M clientname.c commit 2b284ee33d97c4414c49c45720a3566a58a93a18 Author: Wayne Davison Date: Thu Apr 1 21:08:24 2004 +0000 Last of the cleanup before the patching starts. M clientname.c commit 4cfa6156e37d9c3b75ea4be11b766a1246370481 Author: Wayne Davison Date: Thu Apr 1 20:56:50 2004 +0000 A couple more minor twiddles. M clientname.c commit c1e7217fcbe1bac57408b4880737ae593f5d40b4 Author: Wayne Davison Date: Thu Apr 1 20:53:39 2004 +0000 Updated the sizeof syntax and trimmed some trailing whitespace. M clientname.c commit 4b2f6a7c377d4c52046a3147bcf326751486fd28 Author: Wayne Davison Date: Thu Apr 1 18:05:40 2004 +0000 Decided to use "nobody" instead of "guest". M authenticate.c M rsync.yo commit a8726d2a0695073a6321ec030eebb2af8709a21d Author: Wayne Davison Date: Thu Apr 1 18:04:59 2004 +0000 Some more IOERR_VANISHED support. M flist.c commit b5ebe6d9c7dd30916791cc27e3bccc0c59a34ef0 Author: Wayne Davison Date: Wed Mar 31 18:53:57 2004 +0000 Improved the include/exclude example section some more. Document the new username default of "guest" if neither USER or LOGNAME is set in the environment. M rsync.yo commit ef383c0d3295f65e555441c416f59d1f0a8588f8 Author: Wayne Davison Date: Wed Mar 31 18:52:38 2004 +0000 The auth_client function must not return without outputting something on the socket, so a NULL or empty username now defaults to "guest". M authenticate.c commit 8dcf93356e23556b1441d4df195c11aeaa35ab6e Author: Wayne Davison Date: Wed Mar 31 17:02:22 2004 +0000 Don't complain about a null --suffix if we're the server/sender (since we might not have received the --backup-dir path from the client). M options.c commit ce5f2732e4fe3abf60ce22bfe972ed5ffd3288a9 Author: Martin Pool Date: Wed Mar 31 02:48:47 2004 +0000 I'm no longer maintaining this. Tell people to use the lists instead. M rsync.yo commit 3e89da86dfb4a37aa00dcb55a1c9af46cff4b80f Author: Wayne Davison Date: Tue Mar 30 02:08:07 2004 +0000 The --files-from option needs to allow a server-sender to sometimes have just 1 arg on the command-line. M options.c commit f5450e791da9495f8af4c2e27886f037db657b4b Author: Wayne Davison Date: Mon Mar 29 17:02:31 2004 +0000 Try to avoid running on a system that allows us to create devices without being root (like cygwin) because rsync won't copy the devices if it is not root. M testsuite/devices.test commit cb984e620e446d879d69a147be1e01f8496dc5c5 Author: Wayne Davison Date: Mon Mar 29 16:30:53 2004 +0000 In sigchild_handler(), finish with waitpid() before reinitializing the SIGCHLD handling. M socket.c commit be92ac6c36086f0cf04c85ec7021266b4be20b04 Author: Wayne Davison Date: Sat Mar 27 20:04:04 2004 +0000 Added one more example to the new include/exclude section to show how --relative works with a non-absolute path. M rsync.yo commit 5dc6e9c9ca1b7c82980156143edf5d0858fec9f7 Author: Wayne Davison Date: Sat Mar 27 19:47:27 2004 +0000 Mention that certain options treat an absolute path as relative to the module's "path" dir, even when chroot is off. M rsyncd.conf.yo commit 0b79c324ca32a08a82cad88e91729071a7342937 Author: Wayne Davison Date: Sat Mar 27 19:46:28 2004 +0000 Improved the "relative to the destination dir" description for several options. M rsync.yo commit f39b6638f682b76289c6399de6f8660086a8fda9 Author: Wayne Davison Date: Sat Mar 27 19:42:13 2004 +0000 Got rid of debug-output statement. M options.c commit a4b6f30579bc46d88525b153e314aee6f5cbde79 Author: Wayne Davison Date: Sat Mar 27 18:25:41 2004 +0000 Try to make the complexities of includes/excludes a little more clear. M rsync.yo commit 7be73df4e7c9978b619c7e849b3f8ac2987cb667 Author: Wayne Davison Date: Sat Mar 27 09:46:42 2004 +0000 Optionally sanitize the args in parse_arguments() using the new alloc_sanitize_path() function. M options.c commit 14b61c63f00785c36e769142d98253229bde7354 Author: Wayne Davison Date: Sat Mar 27 09:44:49 2004 +0000 Added alloc_sanitize_path(). M util.c commit 75a64762c247a5a9a0375836bbda35984d792317 Author: Wayne Davison Date: Sat Mar 27 09:44:01 2004 +0000 The args are now sanitized in parse_arguments() instead of here. M clientserver.c commit 028fdddb497b6ac2bdccd270bdd1997704621f3a Author: Wayne Davison Date: Fri Mar 26 16:46:20 2004 +0000 Fixed a crash bug when hlink_list is NULL and a link_u.links pointer in one of the file_struct nodes is not. M hlink.c commit f86b0f2e7b1b7dcc00509e88880943e83993fe85 Author: Wayne Davison Date: Fri Mar 26 15:51:51 2004 +0000 Fixed a typo and made a sentence read better. M NEWS commit 285fba07592e243a5b433c75aceeb8c1254d7649 Author: Wayne Davison Date: Wed Mar 24 21:59:07 2004 +0000 Preparing for release of 2.6.1pre-1 M configure.in M packaging/lsb/rsync.spec M rsync.yo M rsyncd.conf.yo commit 92b9eb978e1f8707ce5787b933291570b0b1973f Author: Wayne Davison Date: Tue Mar 23 16:50:40 2004 +0000 Moved a few externs and made a couple formatting tweaks. M receiver.c commit 1e82e2cea6b34a658a91257d53aabc46f5791a89 Author: Wayne Davison Date: Tue Mar 23 16:36:00 2004 +0000 Got rid of an ancient (and no longer relevant) comment. M receiver.c commit a7ed6ca6183fd36a3a77ac9a13223168feba4406 Author: Wayne Davison Date: Tue Mar 23 16:16:15 2004 +0000 A few formatting tweaks in delete_file(). M rsync.c commit b4b90120ff1cf999b9f41d47dcc52958cca23cc0 Author: Wayne Davison Date: Tue Mar 16 01:26:39 2004 +0000 Fixed the test for sin_len as noted by Shinichi Maruyama. Changed the define name generated for this test and the sa_len test. M configure.in commit 16f72adc49774fe39021ba998abbb7eabd82cd2c Author: Wayne Davison Date: Tue Mar 16 01:26:31 2004 +0000 Changed HAVE_SOCKADDR_SIN_LEN to HAVE_SOCKADDR_IN_LEN. M clientname.c M socket.c commit 3d061653890e25fd95186d521a2d1dc5ea4d76e7 Author: Wayne Davison Date: Sat Mar 13 20:18:03 2004 +0000 Check robust_rename()'s return value using < 0. M backup.c M rsync.c commit fd4893155d5226d32f350d15cc3e29beec677f39 Author: Wayne Davison Date: Wed Mar 10 08:32:38 2004 +0000 Mention the changes in the "patches" dir. M NEWS commit 67e78a823130ebe176d5a1887f72bc200712c88c Author: Wayne Davison Date: Sun Mar 7 20:29:59 2004 +0000 Use CHMOD_BITS instead of ~_S_IFMT. M generator.c commit 6b320e40456ff0830d428d0f9c4a938e57845101 Author: Wayne Davison Date: Sat Mar 6 20:07:24 2004 +0000 Improved an entry. M NEWS commit 7e5cb90983c90b57b683277b2e21639456e42932 Author: Wayne Davison Date: Sat Mar 6 07:45:52 2004 +0000 Other files use S_IWUSR instead of S_IWRITE, so use S_IWUSR and S_IRUSR. M batch.c commit 8120a98f47d1dd8a583abe1cfe11aa8366d04e6b Author: Wayne Davison Date: Sat Mar 6 07:43:55 2004 +0000 Define S_IRUSR if it doesn't already exist. M rsync.h commit 8f3f8eec08624e538e98f43a3157f3d9a0c41c79 Author: Wayne Davison Date: Sat Mar 6 07:00:47 2004 +0000 Updated to version from autoconf 2.59 (2003-10-03). M config.guess commit 386b93dc609a4595a00c0512ff3349ec90e84389 Author: Wayne Davison Date: Sat Mar 6 07:00:16 2004 +0000 Updated to version from autoconf 2.59 (2003-08-18). M config.sub commit b3bc31102cbe14224206898ae2736656205b3485 Author: Wayne Davison Date: Thu Mar 4 19:36:28 2004 +0000 Moved out the old news and improved the new. M NEWS commit 0f1aa0d3e51a403e62dbed0a1bf652ffb9ab0276 Author: Wayne Davison Date: Thu Mar 4 19:35:57 2004 +0000 Moved the previous release's NEWS here. M OLDNEWS commit 7a08ae31d2b4681534a2cd732103fc2a6d817e20 Author: Wayne Davison Date: Sat Feb 28 02:02:37 2004 +0000 Progress improvement. M NEWS commit 304f127f561d1ac3e2211fadc84e5a4c085b53c1 Author: Wayne Davison Date: Sat Feb 28 02:00:57 2004 +0000 Improved the progress reporting/E.T.A. using a (slightly modifed) patch from Timo Sirainen. M progress.c commit c338460d6660c4529c49a68fd2d129c8b4a9d4bb Author: Wayne Davison Date: Fri Feb 27 08:03:49 2004 +0000 Got rid of some superfluous parens. M generator.c M receiver.c commit 48d704af5220f9e24133a1567d6c85db31792ca7 Author: Wayne Davison Date: Fri Feb 27 07:37:43 2004 +0000 Tru64 fix. M NEWS commit ac7aa92290cf67c4e9541c02e10b9f232928c588 Author: Wayne Davison Date: Fri Feb 27 07:22:40 2004 +0000 Use new HAVE_SOCKADDR_SIN_LEN define (replaces HAVE_SOCKADDR_LEN). M clientname.c M socket.c commit 0042f81894b84a15cea2d49968b5fc5d32f0a181 Author: Wayne Davison Date: Fri Feb 27 07:22:39 2004 +0000 We now set HAVE_SOCKADDR_SA_LEN and HAVE_SOCKADDR_SIN_LEN based on sockaddr.sa_len and sockaddr.sin_len, respectively (replacing HAVE_SOCKADDR_LEN). M configure.in commit 2c836acb379f14a505d35c3fccfba4b2ce9bec55 Author: Wayne Davison Date: Thu Feb 26 04:03:44 2004 +0000 No longer needed. D acconfig.h commit a1d8f29a3d123a2426cf4a22c37c58e6ac6e7739 Author: Wayne Davison Date: Thu Feb 26 04:03:35 2004 +0000 A couple AC_DEFINE() changes so that we can do without acconfig.h. M configure.in commit a174e1ed0fa38aa556f07988b330af3692a639e8 Author: Wayne Davison Date: Wed Feb 25 21:20:59 2004 +0000 Tweaked some comments and some whitespace. M rsync.c commit 530adb762573d9f37be07eb38d0ffc7b5c401e6a Author: Wayne Davison Date: Mon Feb 23 20:09:14 2004 +0000 Configure addition. M NEWS commit cd3fe9fb03065b0284eaac4069ffde5cad5081f6 Author: Wayne Davison Date: Mon Feb 23 20:00:20 2004 +0000 Allow the default (system) rsyncd.conf file to be specified via configure. M configure.in M rsync.h commit a8edfd53d1fe456e045a339452a83c7d4c835e03 Author: Wayne Davison Date: Mon Feb 23 19:23:53 2004 +0000 Trivial whitespace tweak. M exclude.c commit dbb665180c5b1b20901411f2c3fae4cd39dfa8a4 Author: Wayne Davison Date: Mon Feb 23 18:19:13 2004 +0000 Shouldn't ignore .cvsignore. M lib/.cvsignore commit 9d78ed31a7a384406bb45ad704842c9a22642685 Author: Wayne Davison Date: Mon Feb 23 07:03:03 2004 +0000 A couple fixes from Shinichi Maruyama. M backup.c commit 89afe532d7fbc50a07696c3c49dd2746d0520457 Author: Wayne Davison Date: Mon Feb 23 02:28:04 2004 +0000 Mentioned the recent change in slash handling. M NEWS commit c67d13866b48d214b7a141da9ee92935599e4668 Author: Wayne Davison Date: Sun Feb 22 08:56:43 2004 +0000 Changed the literal 9000 into "OPT_REFUSED_BASE". M options.c commit 3b98b08c4d3ef5faf1d1d044f74bd3961a36482b Author: Wayne Davison Date: Sat Feb 21 21:39:54 2004 +0000 Another bug fix. M NEWS commit 9c155345116f7d252482175839b1922f9e72f10b Author: Wayne Davison Date: Sat Feb 21 21:37:14 2004 +0000 Got rid of the "refuse options" section. M TODO commit 55afbb522c3eccdfb5174a42e9f98b3279a4e0e8 Author: Wayne Davison Date: Sat Feb 21 21:36:55 2004 +0000 Complain in the daemon log file if there is an unknown option in the "refuse options" value. Also changed the idiom used to mark refused options in the popt struct. M options.c commit 27ed20f7a086fa62e84d4cdac278555e70b207eb Author: Wayne Davison Date: Sat Feb 21 21:12:49 2004 +0000 Fixed the "refuse options" setting in the daemon after Fabrice Bellet identified what was wrong. M options.c commit f567e9b3d7e4e2c5a4dfa35a2ecbb973aa46ce73 Author: Wayne Davison Date: Fri Feb 20 17:09:30 2004 +0000 - Guard against and out-of-memory condition. - Don't use the NGROUPS_MAX define. M uidlist.c commit 40ae4f93a079ed71e491e6d51914d6d663ea3f10 Author: Wayne Davison Date: Fri Feb 20 17:01:33 2004 +0000 Don't use NGROUPS_MAX define. M getgroups.c commit 7a27e9b599a48f4b0ab6e6ade69a99a120c042fe Author: Wayne Davison Date: Wed Feb 18 22:33:21 2004 +0000 Don't use ENOMSG -- it's not portable. M syscall.c commit 62c9e6b3a54f147629497a2bc791acac60b5668b Author: Wayne Davison Date: Tue Feb 17 23:13:10 2004 +0000 Moved the EXDEV handling into robust_rename(). M backup.c M rsync.c M util.c commit cfeed4da95fd8c38eadab32c9d897302e73d5a91 Author: Wayne Davison Date: Tue Feb 17 23:00:00 2004 +0000 - If we return an error because of dry_run being set, we now set errno. - The do_mkstemp() routine now preserves the errno value from fchmod() if that call fails. - Improved the CHECK_RO macro stuff. M syscall.c commit 4068d8617dd301f7e1590b0419c9d2e24103b1b4 Author: Wayne Davison Date: Tue Feb 17 22:49:19 2004 +0000 We no longer munge a double-leading slash in do_open() because we shouldn't generate a path with a double-leading slash anymore. M syscall.c commit 421c2a24485f78a1f2f549f5f19e358148a77b78 Author: Wayne Davison Date: Tue Feb 17 21:57:44 2004 +0000 Don't create a pathname that has two leading slashes (which we used to do when the root of the transfer was "/"). M sender.c commit d1e7726460456cb58fa2ab89d2a66d18652cc2bb Author: J.W. Schultz Date: Sat Feb 14 01:43:24 2004 +0000 Remove "Conditional -z for old protocols" because those old protocols are no longer supported. M TODO commit 0596df00b3dc0ad31365514ab55ab191e27a3ad4 Author: Wayne Davison Date: Wed Feb 11 08:01:21 2004 +0000 Reordered the items inside the file_struct so that alignment padding should be minimized. M rsync.h commit 417c99f6373076931b66f9d5986cd6ededcbb197 Author: Wayne Davison Date: Wed Feb 11 05:03:04 2004 +0000 If --backup was specified, the links we remove are backed up. M hlink.c commit de0e225076c97a15cabceb0de7ab9bc636a483f4 Author: Wayne Davison Date: Wed Feb 11 05:02:21 2004 +0000 - Revised and optimized the directory-making code. - Optimized the keep_backup() code. M backup.c commit e0391f8149c1dfe9bfa8660c7825e94fe7c4228a Author: Wayne Davison Date: Wed Feb 11 04:30:41 2004 +0000 Added backup_dir_buf and backup_dir_remainder. M options.c commit 7de2483fbd439a635f2004b9f564dc669fd99584 Author: Wayne Davison Date: Wed Feb 11 02:48:58 2004 +0000 Fixed a crash bug when keep_backup() calls make_file() and the lastdir pointer is no longer valid. M flist.c commit 65d6212d03fff0bc5a9b9c9c0fbaa7bc7ffd2c7c Author: Wayne Davison Date: Wed Feb 11 02:33:17 2004 +0000 Got rid of hard-link message (since I don't think it was ever output in older rsync versions). M backup.c commit 4d4df3cd2b640e7d3f60d5c3438afea8a8cf5de5 Author: Wayne Davison Date: Tue Feb 10 23:35:12 2004 +0000 Another attempt at measuring the minimum alignment for a system. M lib/pool_alloc.c commit 62125b10c92883c168d6efc1be6b3331035f8bfa Author: J.W. Schultz Date: Tue Feb 10 23:23:09 2004 +0000 Simplified test for hardlink in make_backup debug message to avoid core-dump. M backup.c commit 81c3a3a86e47acad6b277531cb6153a95488665d Author: Wayne Davison Date: Tue Feb 10 22:56:16 2004 +0000 Got rid of useless extern. M flist.c M generator.c commit 61d35e1844d468a295e271a4935b5eae6035a54f Author: Wayne Davison Date: Tue Feb 10 22:28:36 2004 +0000 Trying a different MINALIGN because of core dumps on the sparc-64 build-farm machines. M lib/pool_alloc.c commit 15f85b1f63435a659aeee44784a86bb34c5c43c2 Author: J.W. Schultz Date: Tue Feb 10 21:11:24 2004 +0000 Revert pool_alloc's use of bomb if pool == NULL. M lib/pool_alloc.c commit 5bf63a11f47c8b45af4ac8fa7ef940bade0a1db9 Author: J.W. Schultz Date: Tue Feb 10 21:11:24 2004 +0000 Keep in sync with protocol if idev data on stream but no hlink_pool. M flist.c commit 97a67bdfa9050ee0a55fe37d42181b5524cbef10 Author: Wayne Davison Date: Tue Feb 10 17:53:52 2004 +0000 If XMIT_HAS_IDEV_DATA is set in receive_file_entry(), we now bomb out if flist->hlink_pool isn't set (instead of neglecting to read the idev info). M flist.c commit aa0b9ca174023a4f9b0cfc830a76b6e170982203 Author: Wayne Davison Date: Tue Feb 10 17:52:31 2004 +0000 If we call pool_alloc() on a NULL pool, bomb out with an error. M lib/pool_alloc.c commit b96efc2f67c66ba12b7c78228bdcd1cec3f31f5a Author: Wayne Davison Date: Tue Feb 10 17:35:04 2004 +0000 Empty-line tweaks. M rsync.h commit be20dc34488ed1b40f85b7ddf89aed98eee993ab Author: Wayne Davison Date: Tue Feb 10 17:34:05 2004 +0000 Changed a while loop to a for loop. M lib/pool_alloc.c commit cb869c26d9936f74ad70b2496aa99a4ea3158219 Author: Wayne Davison Date: Tue Feb 10 17:28:59 2004 +0000 Tweaked an if. M receiver.c commit 7cf8e8d05da57806a784d8d26932731fd5b9d195 Author: Wayne Davison Date: Tue Feb 10 17:28:31 2004 +0000 Changed flist_init() to use offsetof(). M flist.c commit 54fd3e50206e282407634a78027585fcf0a7ded5 Author: Wayne Davison Date: Tue Feb 10 17:06:11 2004 +0000 Added lib/pool_alloc.h to the HEADERS. M Makefile.in commit 3e4916822d35de3886f04ac4dc6d86ee29f177af Author: J.W. Schultz Date: Tue Feb 10 03:54:47 2004 +0000 Dropped support for protocol versions less than 20 (2.3.0 released 15 Mar 1999) and activated warnings for protocols less than 25 (2.5.0 released 23 Aug 2001) M NEWS M flist.c M main.c M rsync.h commit 7efdcf3218fe580476608f3b3c53bce35fc5a2a9 Author: J.W. Schultz Date: Tue Feb 10 03:26:41 2004 +0000 Added allocation pool code. A lib/pool_alloc.3 A lib/pool_alloc.c A lib/pool_alloc.h commit 9935066b704bcf2e6e48dac85cb1b4047d8f439d Author: J.W. Schultz Date: Tue Feb 10 03:23:37 2004 +0000 Make idev, hlink and file_struct + strings use allocation pools. M Makefile.in M NEWS M backup.c M batch.c M flist.c M hlink.c M receiver.c M rsync.h commit 6c2e5b56e49b494b33b3b63fc797f83d4c05a203 Author: Wayne Davison Date: Mon Feb 9 21:22:59 2004 +0000 Die if we overflowed the args[] array when building up the remote command in do_cmd(). M main.c commit 2289bf64cc7461a282e064f1717d4906e28c2903 Author: Wayne Davison Date: Mon Feb 9 18:32:54 2004 +0000 The batch-options now set checksum_seed to the appropriate fixed value. M options.c commit b1bf649cbaaf72cdd3104dec9429eb3915030fb4 Author: Wayne Davison Date: Mon Feb 9 18:32:53 2004 +0000 Set checksum_seed only if it is still zero. M compat.c commit 8ee6eb71345072c5e05b367e339bd7a8a18b10ca Author: Wayne Davison Date: Mon Feb 9 18:32:52 2004 +0000 Made checksum_seed an extern. M checksum.c commit f98c60bfa8c755b59b0299d7e656bbb298b083c5 Author: Wayne Davison Date: Mon Feb 9 18:10:57 2004 +0000 Use asprintf() in server_options() (plus a few more whitespace tweaks). M options.c commit a5c11139717c41030c9d33617f3b255481afd3fa Author: Wayne Davison Date: Mon Feb 9 17:45:22 2004 +0000 Updated the sizeof syntax and tweaked some whitespace. M options.c commit 736f46d1d94f44141f57c428dacfecbfca872dd9 Author: Wayne Davison Date: Sat Feb 7 18:40:52 2004 +0000 Got rid of unused true/false defines. M wildtest.c commit a8f7e4b835a39b180ee728bfe8c44650096f99c0 Author: Wayne Davison Date: Sat Feb 7 00:12:40 2004 +0000 Made a couple comments a little clearer. M util.c commit 9352b0649b8d6aa21d9d567c1d819a0fa26c7b01 Author: Wayne Davison Date: Fri Feb 6 15:33:15 2004 +0000 Got rid of unused string_area struct. M rsync.h commit a85906c75683de95a8a999552822fd86870ab2b7 Author: J.W. Schultz Date: Fri Feb 6 10:00:33 2004 +0000 Start flist with a more reasonable size, grow it linearly once it reaches a largish size (16 million files) and make it actually match the comments so it may be used to initialize flists of known size (create_flist_from_batch()). M batch.c M flist.c M rsync.h commit 8aa81e06e644bb1632e07e041e409c7149fd13d5 Author: J.W. Schultz Date: Fri Feb 6 07:26:15 2004 +0000 Update TODO to reflect recent changes. Hardlink handling is improved. String area code is gone for other reasons. M TODO commit 1f9ae80a3e0e4efd36264f3d484a366ac8cb90a2 Author: Wayne Davison Date: Fri Feb 6 07:19:57 2004 +0000 Fixed the indentation in init_flist(). M flist.c commit 71020fc3aafc1cea58188b261b0f9f5b0c29b5f8 Author: J.W. Schultz Date: Fri Feb 6 04:51:09 2004 +0000 Correct sizeof usage and other whitespace. M batch.c commit 7b74bba15e4d92f3f13fb4b36f3e99a9008a3a7d Author: J.W. Schultz Date: Fri Feb 6 01:56:25 2004 +0000 Added a total memory allocated (allmem) line to show_malloc_stats. M main.c commit e5fbaa713ac75fb07907934483d7945a7b7ac2cd Author: J.W. Schultz Date: Thu Feb 5 03:27:54 2004 +0000 Cause all three processes to report memory stats when -vv --stats M main.c commit 6609a9f17ec1025d76a20573db701f2433f68f4d Author: Wayne Davison Date: Thu Feb 5 02:56:57 2004 +0000 Mention a couple more changes. M NEWS commit 5204e853e154b40681b01fa873916dc389fe695b Author: Wayne Davison Date: Thu Feb 5 01:37:08 2004 +0000 Now that the long-standing chgrp bug is fixed, go back to -vvv from -vvvv. M testsuite/chgrp.test commit 01363a24e20dc0aefc381681f6aeab51cbf8f2a5 Author: Wayne Davison Date: Thu Feb 5 01:32:38 2004 +0000 Fixed a problem handling GID_NONE in match_gid(). M uidlist.c commit d49def483253155f969ad04f32752196b00faa96 Author: Wayne Davison Date: Thu Feb 5 01:07:23 2004 +0000 - Fixed a bug using --numeric-ids as non-root when the receiver does not have permissions to set one or more of the gids. - If the add_[ug]id() routine couldn't find a name for an ID, we still note the ID in our list of IDs so that we don't try to look it up again (and again). (The name-less IDs are stripped when sending the IDs from the sender to the receiver.) - Created a better add_to_list() function that handles the linking of the new node into the list (rather than the caller doing it). - Added new internal functions for some receiver-side work that needed to be done in multiple places (the recv_add_[ug]id() functions). - We output debug info even for ID mappings that have no names. This make the list complete and also notes which gids get mapped to -1 (GID_NONE). - Turned several while loops into for loops. M uidlist.c commit 4836c3eece276abc14a4574b350f68d8f1e429c0 Author: Wayne Davison Date: Thu Feb 5 00:46:32 2004 +0000 Added new extern. M flist.c commit 9f7b8c3b8f96c8f273af11258b92e0b03adc602a Author: Wayne Davison Date: Thu Feb 5 00:44:11 2004 +0000 Only call add_uid() or add_gid() if numeric_ids is not set. M flist.c commit ade7292aeea55eb7e9d59fe36cdba85ae020782f Author: Wayne Davison Date: Wed Feb 4 20:09:21 2004 +0000 Moved a function. M uidlist.c commit dbd8811b85ad43507dd04b31812322596e59f3b4 Author: Wayne Davison Date: Wed Feb 4 19:25:11 2004 +0000 If a gid doesn't have a name on the originating system, the receiver won't see it in the list of IDs to remap. That means that we need to call the is_in_group() function from inside match_gid() to know if we can set the group or not (if we're not root). M uidlist.c commit 05118158f4f59a5f512e5bab640f253332a6e181 Author: Wayne Davison Date: Wed Feb 4 18:24:41 2004 +0000 Improved the trailing comment. M testsuite/chgrp.test M testsuite/chown.test M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test M testsuite/devices.test M testsuite/duplicates.test M testsuite/exclude.test M testsuite/hands.test M testsuite/hardlinks.test M testsuite/longdir.test M testsuite/merge.test M testsuite/symlink-ignore.test M testsuite/trimslash.test M testsuite/wildmatch.test commit 1df395f7c211698420488a3f6600fd5cf50b7785 Author: Wayne Davison Date: Wed Feb 4 17:49:36 2004 +0000 Use the new HAVE_GETGROUPS define. M getgroups.c M uidlist.c commit 5fdf2e706396803f1738f54b7fd65723d39a0fcf Author: Wayne Davison Date: Wed Feb 4 17:21:48 2004 +0000 Added function check for getgroups. M configure.in commit 6fe05820ff8597107d6e57b624f0e8417ba8fc05 Author: Wayne Davison Date: Wed Feb 4 17:06:07 2004 +0000 Use MY_UID() instead of getuid(). M clientserver.c M main.c commit 670d8abf801d534578751876c796ef893ec2075a Author: Wayne Davison Date: Wed Feb 4 17:05:44 2004 +0000 Use MY_GID() instead of getgid(). M getgroups.c M uidlist.c commit b2bffbb2ca73c65175d6ceb4303a59ccc38c0307 Author: Wayne Davison Date: Wed Feb 4 17:04:58 2004 +0000 Added two defines: MY_UID() and MY_GID(). M rsync.h commit 13a6d667d254ecda3538b0be3911c904d07293ec Author: Wayne Davison Date: Wed Feb 4 16:45:26 2004 +0000 Added getegid to the functions we check. M configure.in commit 1be77f8336cdaf138fb7a9b7e9d38ee3cc69257c Author: Wayne Davison Date: Wed Feb 4 16:33:34 2004 +0000 Added geteuid to the functions to check. M configure.in commit 187e9c24f1cf93cc8ef2a5dd50a43bc894db6779 Author: Wayne Davison Date: Wed Feb 4 16:27:47 2004 +0000 Another improvement to the debug info we output. M uidlist.c commit eddeaf76f8df1344b3918f17ac8e9639b63f94f2 Author: Wayne Davison Date: Wed Feb 4 07:32:48 2004 +0000 Set the "max verbosity" global to 9. M testsuite/rsync.fns commit 33e9d10d2a69a625be4746a166f3fe319b05b757 Author: Wayne Davison Date: Wed Feb 4 07:32:12 2004 +0000 Use the new lp_max_verbosity() value to limit the server's "verbose" value. M clientserver.c commit 46f7dc3bf6614811b7e64e462a23e2aa9ac93992 Author: Wayne Davison Date: Wed Feb 4 07:31:29 2004 +0000 Added "max verbosity" global parameter that allows you to configure a higher debug level instead of the default of level-l verbosity. M loadparm.c commit 555b0e20f774a22533736d5fcd64f49e35a27c51 Author: Wayne Davison Date: Wed Feb 4 07:24:13 2004 +0000 Tweaked the new debug-logging strings. M uidlist.c commit a57dfe710d72e6fa755c6ec37098bf6d3d5c1eac Author: Wayne Davison Date: Wed Feb 4 06:15:24 2004 +0000 Turned on 4 -v options for some build-farm testing. M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test commit 53adbd7a3d3c93ac51213350e9eebc4324b25de7 Author: Wayne Davison Date: Wed Feb 4 05:34:29 2004 +0000 If we encounter an error, output the rsyncd.log file, if it exists. M runtests.sh commit 17f033b72503bf9ce53e4c0c44a48ab7507eb1aa Author: Wayne Davison Date: Wed Feb 4 03:58:19 2004 +0000 Temporarily switch to 4 -v options. M testsuite/chgrp.test commit cefed3e8dc9488adb86ae9be4471641ece53cfa2 Author: Wayne Davison Date: Wed Feb 4 03:52:51 2004 +0000 Delay the output the (verbose > 3) list of files until we've had a chance to map the uid/gid info in the receiver. M flist.c commit 84fa865c0c06445140e8b4a0ab10bc46ce65bbf0 Author: Wayne Davison Date: Wed Feb 4 03:50:16 2004 +0000 Output some debug info if verbose > 3. M uidlist.c commit f05f993eb72937bbd446a4758b7f0232de764889 Author: Wayne Davison Date: Wed Feb 4 03:28:22 2004 +0000 If we're dumping the file list (i.e. verbose > 3), mention the uid and/or gid (depending on applicability). M flist.c commit e90cdb8adfad6f925558754c6f758e27d22a5fde Author: Wayne Davison Date: Wed Feb 4 03:25:18 2004 +0000 Changed the -x code to allow -L to copy a file on another filesystem that is pointed to by a symlink on our exclusive filesystem. M flist.c commit 425094171007944fcfa37311dfae4be010e7c6a1 Author: Wayne Davison Date: Wed Feb 4 03:01:32 2004 +0000 Fixed a dropped '-'. M util.c commit a2687b64a2eccb39cff400eafdedcaf0f9a2875a Author: Wayne Davison Date: Tue Feb 3 23:28:19 2004 +0000 Added a little more compatibility code for non-standard systems. M uidlist.c commit c284f34a498a4b7c85666df867024be63a511d55 Author: Wayne Davison Date: Tue Feb 3 23:04:25 2004 +0000 Some indentation fixes and the removal of some superfluous parens. M util.c commit 5f5be796b0cff5eb4da83d8f3a1bead25b6583b8 Author: Wayne Davison Date: Tue Feb 3 23:01:58 2004 +0000 Changed a couple sizeof calls and improved some string handling in the {send,recv}_exclude_list() calls. M exclude.c commit 5cb374364b3564878673704f835408b413681b59 Author: Wayne Davison Date: Tue Feb 3 22:48:32 2004 +0000 Modified sizeof usage and eliminated trailing whitespace. M util.c commit f15256e156a23e89fc54cb2242012832bbac6bdb Author: Wayne Davison Date: Tue Feb 3 20:01:26 2004 +0000 Added some temporary code to try to figure out what is going wrong on one NetBSD box in our build farm. M testsuite/chgrp.test commit ce37eb2d8331e1e951349487de7fcd16cd5afce6 Author: Wayne Davison Date: Tue Feb 3 20:00:35 2004 +0000 If verbose > 2, mention it if we're setting the uid or the gid. M rsync.c commit 0d6e308b51a42bec6b312b06d949647a59bcbe1e Author: J.W. Schultz Date: Tue Feb 3 06:21:56 2004 +0000 correct sizeof usage. M hlink.c commit b1dab2363ad1b6589f5e71a040492c17f6a885fe Author: Wayne Davison Date: Tue Feb 3 04:21:15 2004 +0000 Made hard-link sending compatible with pre-28 protocols again. M flist.c commit bd6abc4939621c455f931905f0530115eb8c443c Author: J.W. Schultz Date: Tue Feb 3 03:42:49 2004 +0000 Corrected sizeof usage: sizeof obj sizeof (type) M flist.c M receiver.c M sender.c commit 96eeda03248b57eb0dd96ec1c17080103f24bc96 Author: Wayne Davison Date: Mon Feb 2 22:35:07 2004 +0000 Fix for memset bug found by buildfarm. M flist.c commit 4c4266d9c9530fc051a0506f915761bcc9f8c3c6 Author: Wayne Davison Date: Mon Feb 2 22:18:23 2004 +0000 Change to try to debug a failure on the build farm. M flist.c commit 54e87b4b0668b6a6157f9ae17a404818761e7e50 Author: Wayne Davison Date: Mon Feb 2 21:33:10 2004 +0000 Don't warn about lack of -l support if we're the sender -- we just won't send the receiver any symlinks. M options.c commit 44e9e221f3c36df43cf22a9f2407de12cfbf9a99 Author: Wayne Davison Date: Mon Feb 2 21:33:06 2004 +0000 - Call init_flist(). - Got rid of the symbolic-links-warning code (it was not right, and it is now handled in options.c). M main.c commit 61dec11ae0f84fceb6a9d513789fb4b7e5f30823 Author: Wayne Davison Date: Mon Feb 2 21:33:03 2004 +0000 - Use as little memory as possible for the file_struct (saves another 3 bytes per file). - Made the idev struct allocated by the group-malloc again (J.W. suggested the proper way to align it for all systems). - Added init_flist(). M flist.c commit 5009de7d2d5ce5ebeefdc0d4dc1d0899823f1b13 Author: Wayne Davison Date: Mon Feb 2 21:32:56 2004 +0000 Added comment about the position of file_list's "flags" var. M rsync.h commit 67f3feebcbb929ac44e279d425cbdb62d90ece29 Author: Wayne Davison Date: Mon Feb 2 21:32:52 2004 +0000 Don't free link_u.idev. M hlink.c commit b22260749fc0fea84ca3a60c72ed4dea3f53cb86 Author: Wayne Davison Date: Mon Feb 2 21:02:13 2004 +0000 Use "%H:%M:%S" instead of "%T" in strftime() call since it looks to be more portable. M util.c commit 06d76beb288856ad6d53bf3f481a3a8d664fd73d Author: Wayne Davison Date: Mon Feb 2 18:25:37 2004 +0000 Clarify the safe/unsafe symlink options in the usage text. M options.c commit 7af4227ac2deb5f677b52706b0494100b3f2380e Author: Wayne Davison Date: Mon Feb 2 18:23:09 2004 +0000 Clarify the various safe/unsafe symlink options. M rsync.yo commit 9312b7325eed2a1e4d5824cb06497631cea07cd4 Author: Wayne Davison Date: Mon Feb 2 07:06:54 2004 +0000 Go back to using malloc() for the hard-link data structure (for now at least). M flist.c commit c6edb381f5789fb3d93bebad4e532e97e9d6cfd2 Author: Wayne Davison Date: Mon Feb 2 07:06:50 2004 +0000 Free the hlink data again. M hlink.c commit a1d55ad09553e532008ad95d619a6b5a4afa86c7 Author: Wayne Davison Date: Mon Feb 2 06:52:49 2004 +0000 Make sure that the idev struct's data is 4-byte aligned. M flist.c commit a289addd96ee4510cac3676b8c119230c518e32c Author: Wayne Davison Date: Mon Feb 2 05:06:36 2004 +0000 - Changed the file-list allocation to alloc all the memory we need with one call, not with several mallocs and strdups. - Got rid of string_area() stuff (as suggested in the "@todo"). - Enhanced free_file() to optionally free the whole struct or to clear it (since we don't need to do both). - Don't zero out the other flist data when we're about to free it. M flist.c commit 13c5b463610baf30f9af52d32a7da6de1bdbaa53 Author: Wayne Davison Date: Mon Feb 2 05:06:35 2004 +0000 Don't free the hlink data (it is not separately allocated anymore). M hlink.c commit f3af206d8db24ec5d9960a6aa01c2b97c80d9eda Author: Wayne Davison Date: Mon Feb 2 05:06:34 2004 +0000 Changed args to make_file() and free_file(). M backup.c commit df0054ab13b7d045093d1e6ae44f369a45edb851 Author: Wayne Davison Date: Mon Feb 2 05:06:33 2004 +0000 Added CLEAR_STRUCT and FREE_STRUCT defines. M rsync.h commit 0d162bd17c12f1eaeee869234e1f53fcb8a698cd Author: Wayne Davison Date: Sun Feb 1 17:37:14 2004 +0000 Added some missing #if SUPPORT_HARD_LINK and #if SUPPORT_LINK directives. M flist.c commit e1add89334f3a48b1df240ee2c95d46299c9ee4b Author: Wayne Davison Date: Sun Feb 1 17:29:41 2004 +0000 - Fixed the bug where the --daemon option would squelch all option errors for later parameters. - Complain if someone passes us -l and we don't support symlinks. M options.c commit 22d49dc429f18b5cccf0f237dfd95cceb0b48367 Author: Wayne Davison Date: Sun Feb 1 16:28:31 2004 +0000 Changed the rdev code to have both an "rdev" variable (which always has the full device value) and an "rdev_high" variable (which zeros the lower byte in the last rdev value). M flist.c commit 1aa4caf318005cd4f22902fbe2fa208af50c22f9 Author: Wayne Davison Date: Sat Jan 31 22:40:55 2004 +0000 One more improvement to the 0-flag-byte avoidance algorithm. M flist.c commit 306ffb8c718faf0ff09c432301217482ce1e26c7 Author: Wayne Davison Date: Sat Jan 31 21:01:01 2004 +0000 A small optimization to the symlink-send code, and an extra sanity check to the symlink-receive code. M flist.c commit 0a98201164d9d172bbac476895dc5a5d01ef04f3 Author: Wayne Davison Date: Sat Jan 31 20:24:52 2004 +0000 Fixed the test to ensure that we don't send a flag-byte of 0 to the receiver when transferring the file list. M flist.c commit e0870f1d7ab352af5f38da305afbfc581ba312fb Author: Wayne Davison Date: Sat Jan 31 11:36:03 2004 +0000 One more minor variable-name change. M flist.c commit 1923b1fce4db5e19c56ac461962b84c560a617b4 Author: Wayne Davison Date: Sat Jan 31 11:32:30 2004 +0000 Switched a buffer name in make_file() to make the code a little more similar to what is in receive_file_entry(). M flist.c commit 5dc4003e63caa9482749beda22d7f7a7b57efd41 Author: Wayne Davison Date: Fri Jan 30 16:14:46 2004 +0000 Fixed the optional sanitization of the files_from arg. M options.c commit 37c817eb8159366539d4a9c69bd78e74d4941c06 Author: Wayne Davison Date: Wed Jan 28 01:39:29 2004 +0000 OK, "find ... -print0 | xargs -0 ..." wasn't portable. This is. M testsuite/merge.test commit 284d628a7ca583b61a424241fa046856be5842b3 Author: Wayne Davison Date: Wed Jan 28 00:37:55 2004 +0000 Got rid of indeterminacy in the overlapping-files. M testsuite/merge.test commit ff3184ca1e6afba19d787fd60a355cccedccab88 Author: Wayne Davison Date: Wed Jan 28 00:04:57 2004 +0000 A couple more unsigned char changes to silence compiler warnings on signed-char systems (like Solaris). M popt/poptconfig.c commit 12865a9762edff60375dfe4fce4a39787bf45be8 Author: Wayne Davison Date: Tue Jan 27 23:56:00 2004 +0000 New test to make sure that merging files from multiple directories continues to work. A testsuite/merge.test commit ea847c623231ebbf9cceabe855ae0b40780f9040 Author: Wayne Davison Date: Tue Jan 27 23:13:15 2004 +0000 Use who_am_i() to qualify some debug messages. M exclude.c M flist.c commit b695f2423da67ecb2cd203c4af1cd163775da927 Author: Wayne Davison Date: Tue Jan 27 23:13:14 2004 +0000 Set the am_generator flag. Use who_am_i(). M main.c commit c3e5e5851be229b46440ca5660dff0ae2b526455 Author: Wayne Davison Date: Tue Jan 27 23:13:13 2004 +0000 New function: who_am_i() returns "sender", "receiver", or "generator". M rsync.c commit 4337c8f856340f398695811ddaa5c6f8d005379f Author: Wayne Davison Date: Tue Jan 27 23:13:12 2004 +0000 Added "am_generator". M options.c commit 4c7e46079da6b824407887584b769b485e2ebc76 Author: Wayne Davison Date: Tue Jan 27 23:00:47 2004 +0000 Don't free lastdir! It is still needed by the flist basedir pointers. Also, output the basedir pointer when dumping the flist for debugging. M flist.c commit 72a6e631360c690f65220cc069a1e4119c038b7c Author: Wayne Davison Date: Tue Jan 27 22:35:15 2004 +0000 Relocated the externs. M pipe.c commit 37101856a6968452bdbcfefcc997738be98fafd9 Author: Wayne Davison Date: Tue Jan 27 16:27:05 2004 +0000 Silenced some compiler warnings. M popt/popt.c M popt/popt.h M popt/poptconfig.c M popt/popthelp.c M popt/poptparse.c M popt/system.h commit 65fc84b32e2a558cca3a66587ac4cd06e16f1471 Author: Wayne Davison Date: Tue Jan 27 08:14:33 2004 +0000 Better pid handling. M cleanup.c commit 45e08edb0869c680ffe110bf0e5117baa5a85510 Author: Wayne Davison Date: Tue Jan 27 08:02:31 2004 +0000 Cast getpid() to a long for output. M generator.c M main.c commit 05b7bab8e1d97d300ad43accd9857d611c63a673 Author: Wayne Davison Date: Tue Jan 27 07:57:12 2004 +0000 Better pid handling. M clientserver.c commit 904817552d9b35f5d3495d2ebbd724b5c5ed168f Author: Wayne Davison Date: Tue Jan 27 07:48:57 2004 +0000 Fixed a comment. M hlink.c commit 6e195fe9753e86767193b11e9c0bb63679aff051 Author: Wayne Davison Date: Tue Jan 27 07:48:19 2004 +0000 Tweaked the externs. M clientserver.c commit 3eaf615f40d15743971b526b27111c6aa9407f87 Author: Wayne Davison Date: Tue Jan 27 06:51:39 2004 +0000 Percentage of file-count output was off by one. M progress.c commit 6156e72f859428eb68b648af723f0bb982f07491 Author: J.W. Schultz Date: Tue Jan 27 05:00:43 2004 +0000 EXCLUDE PATTERNS is not just about syntax. M rsync.yo commit 73a4bdfd77e49591c856e1ef8f23b87e3d2f5906 Author: Wayne Davison Date: Tue Jan 27 03:49:54 2004 +0000 Mention the latest -x improvement. Also improved the description of one of my previous fixes. M NEWS commit 4844449a5d4336a39fba52e3f14aaf467e61e8b7 Author: Wayne Davison Date: Tue Jan 27 01:47:41 2004 +0000 Optimized the -x option by removing the skip_filesystem() call and using the new FLAG_MOUNT_POINT flag. M flist.c commit ae289aec1e3992b8a805567b444bd35d8258bc3d Author: Wayne Davison Date: Tue Jan 27 01:47:40 2004 +0000 Added FLAG_MOUNT_POINT. M rsync.h commit 9e4c32ea54c4db458e75185482aea5a7a1656d45 Author: Wayne Davison Date: Tue Jan 27 01:27:37 2004 +0000 Tweaked a comment. M flist.c commit a5f9cff25633e7839f173b889a4782297054cbd7 Author: Wayne Davison Date: Tue Jan 27 01:05:14 2004 +0000 Improved the differentiation of the transmit flags from the live flags by naming the transmit flags with an XMIT_ prefix. Improved the names of two other flags, got rid of the LIVE_FLAGS mask, and shortened the flag storage in the flist struct (to save memory). M rsync.h commit d01d15e096dd63f3248e47c0c6846b2a48e3ab01 Author: Wayne Davison Date: Tue Jan 27 01:05:13 2004 +0000 Use the new names for the transmit-flag defines. We also make sure that the FLAG_TOP_DIR flag doesn't get set in the live data for a non-directory (when it's used as a kluge to prevent a 0x00 byte being sent over the wire for the flag data). M flist.c commit a53426441b67e3715099faa0c0d0bbca19fb6369 Author: Wayne Davison Date: Tue Jan 27 01:05:12 2004 +0000 Use the new names for the transmit-flag defines. M batch.c M receiver.c commit 5d1966948eaa37a6283490255aa340753fcd44b1 Author: Wayne Davison Date: Mon Jan 26 22:35:04 2004 +0000 Fixed reference to -u that should have been -o. M NEWS commit f673ea84b206809a33a8cc40c87df5ebf0a628ae Author: J.W. Schultz Date: Mon Jan 26 20:54:02 2004 +0000 Back out bad refactor (thanks Wayne) M flist.c commit 64f21c31bf5df798c0f5a2dc70c46f5ad9e2b778 Author: Wayne Davison Date: Mon Jan 26 04:21:59 2004 +0000 Mention new hard-link optimization. M NEWS commit 520cf41711a055bf0d5d26626601d5d91e5db70d Author: Wayne Davison Date: Sun Jan 25 22:32:11 2004 +0000 Added defines (FLAG_HLINK_EOL, HL_CHECK_MASTER, and HL_SKIP) and changed the struct hlink to have an index into the hlink_list[] array instead of a head pointer. M rsync.h commit d38fc3056318ed19ee08941c2d4f4881d84d9130 Author: Wayne Davison Date: Sun Jan 25 22:32:10 2004 +0000 We now link the hard-linked flist entries into a circular list, mark the last item with FLAG_HLINK_EOL, and save off an index for our master entry in the hlink_list[] array. Added the hard_link_check() function. M hlink.c commit 6dff599288f7781d7b3a2ec8df758341690c4197 Author: Wayne Davison Date: Sun Jan 25 22:32:09 2004 +0000 Use the new hard_link_check() function to figure out which one of the hard-linked files to send (when -H was specified, of course). Moved the call to do_hard_links() and the final directory-permissions scan into generate_files() from recv_files(). M generator.c commit f746dda0a0022427eb1ef374f8f998b2153e50e5 Author: Wayne Davison Date: Sun Jan 25 22:32:08 2004 +0000 Moved the call to do_hard_links() and the final directory-permissions scan from recv_files() into generate_files(). M receiver.c commit 91a1e147ae0eaf958d4a7bd76ae037e5c2591c29 Author: Wayne Davison Date: Sun Jan 25 22:32:07 2004 +0000 Changed F_HEAD to F_HLINDEX. M backup.c commit 40da90423073e7581cdceebd7556bee3a0a41c94 Author: Wayne Davison Date: Sun Jan 25 22:32:05 2004 +0000 Tweaked a comment. M main.c commit 34fada30127ac9cb0ac3fe9f685f9901414bb0ec Author: J.W. Schultz Date: Sun Jan 25 22:11:09 2004 +0000 Tightened up code in skip_filesystem() M flist.c commit f91e01d9a50b5731f04e01e2a98d61e9f95bca76 Author: Wayne Davison Date: Sat Jan 24 22:12:58 2004 +0000 Replaced an snprintf() call with pathjoin(). M receiver.c commit 3048b0a8eaf97bb5ee9c97dd498abcb8b0c61bda Author: Wayne Davison Date: Sat Jan 24 18:36:36 2004 +0000 The static last_in value in match_gid() needed to default to -2 so that we don't accidentally return a GID of 0 when we don't have the permissions to set it. M uidlist.c commit d99b4ccf9348b701086b018354844f0d800d3f9d Author: Wayne Davison Date: Sat Jan 24 01:48:12 2004 +0000 Another improvement in the "use chroot" section. M rsyncd.conf.yo commit 58811a0a382e3f5ddaaa42a0ac38fc7bcfbde6b4 Author: Wayne Davison Date: Fri Jan 23 16:58:24 2004 +0000 Refer to I/O (not IO), ID (not id), and "an rsync" (not "a rsync"). M rsyncd.conf.yo commit cb290916bec971e8d14d8205b58739f9abf70fd2 Author: Wayne Davison Date: Fri Jan 23 16:55:40 2004 +0000 Improved the "use chroot" discussion on ID mapping. M rsyncd.conf.yo commit a2b0471f1dd8dfbd24cc1b763b4a7c9723057b63 Author: Wayne Davison Date: Fri Jan 23 16:40:17 2004 +0000 More changes to make the --owner and --group items clearer. M rsync.yo commit bb18e7550c8906a1c7f06cb9f225097618a7b9a2 Author: Wayne Davison Date: Fri Jan 23 09:34:04 2004 +0000 Use "an" in front of rsync, not "a". M rsync.yo commit db2b5cb75f4ce436232f5e4821c8d1e3c175de34 Author: Wayne Davison Date: Fri Jan 23 09:32:50 2004 +0000 Tweaked the --help text to refer to I/O (not IO) and use "an" in front of rsync (not "a"). M options.c commit fa8c787d8b2b0de3d6afa5fbf72cf59cf03313b8 Author: Wayne Davison Date: Fri Jan 23 09:30:45 2004 +0000 Improved the "use chroot" section to mention how to get user/group preservation by name (getting rid of the erroneous bit about the --numeric-ids option being implied). M rsyncd.conf.yo commit ec40899bb9461b0aaa9b3f5c7fc4d6d321932bb8 Author: Wayne Davison Date: Fri Jan 23 09:29:16 2004 +0000 Improved comments on --owner and --groups, and removed misinformation on a chroot daemon (it does not imply --numeric-ids). M rsync.yo commit b5accabaa7100b85c2da6b5e7fe4f267fe79aafa Author: Wayne Davison Date: Fri Jan 23 08:59:19 2004 +0000 Properly punctuate "etc." and changed all occurrences of "IO" to "I/O". M rsync.yo commit 4e308a95267d1b6564d9e345f7f7dadf0a9073e3 Author: Wayne Davison Date: Fri Jan 23 02:02:51 2004 +0000 Fixed two more misspelled words. M rsync.yo commit 4d88810810e2f8d74b24f8ce90dcadf3ddf7ff84 Author: Wayne Davison Date: Fri Jan 23 01:36:59 2004 +0000 Some spelling corrections and other simple fixes. M rsync.yo commit f3219222143e652688387d2da2f079ea09accd45 Author: Wayne Davison Date: Thu Jan 22 18:39:32 2004 +0000 When setting an flist entry's flags, mask it with LIVE_FLAGS. M flist.c commit cab13afe8d809c3c5c8e03e6178b43491ffd4a84 Author: Wayne Davison Date: Thu Jan 22 18:37:26 2004 +0000 A couple comment tweaks. M rsync.h commit 72fc7ec59bd5c4c34214cf911a27f16b6749679a Author: Wayne Davison Date: Thu Jan 22 09:16:21 2004 +0000 Made the getgroups() code a little more portable. This will hopefully make the chgrp test work on the NetBSD and OpenBSD systems where it is failing. M uidlist.c commit 58743a87b8a6b8160c6bd562ed4dd8dcfcb2d4e2 Author: Wayne Davison Date: Thu Jan 22 09:13:36 2004 +0000 Improved to add the default gid if it is missing from the list. M getgroups.c commit 54bf456e8584eac5b0afdf8f7e003c79aa87ffe8 Author: Wayne Davison Date: Thu Jan 22 09:05:09 2004 +0000 Removed an obsolete comment. M testsuite/chgrp.test commit a24639bb36d0fdc551e02d1f1a4da8975549f1a8 Author: Wayne Davison Date: Thu Jan 22 04:40:33 2004 +0000 Tweaked an argv-type variable so that it's a little clearer what the code is doing. Also added a comment. M receiver.c commit 3fef53645d0f05e126207cb49416248b6420f358 Author: Wayne Davison Date: Thu Jan 22 04:38:18 2004 +0000 Use the new f_name_to() calling syntax. M generator.c M hlink.c M receiver.c M sender.c commit 882e68931246958a37c63c557d6f758356bd92d9 Author: Wayne Davison Date: Thu Jan 22 04:38:17 2004 +0000 - Ensure in make_file() that we can't make a name that overflows our buffers (note that receive_file_entry() already does this). - Changed f_name_to() to not do any length checking since it is now redundant. M flist.c commit b0a93231cf0201553760b5777b6875e774735e6c Author: Wayne Davison Date: Thu Jan 22 02:02:00 2004 +0000 Added more missing news. M NEWS commit 0c819b76d684140eaafc5a3010ed914db6bc1e95 Author: Wayne Davison Date: Thu Jan 22 01:23:43 2004 +0000 New news. M NEWS commit ce58b1b479c9ffcdc6fc85d492206fcd5bd32d64 Author: Wayne Davison Date: Thu Jan 22 01:20:24 2004 +0000 Size-check the --temp-dir string so we don't have to worry about it overflowing elsewhere in the code. M options.c commit a16d8f2b2583799ab935fd5645622d448a54486e Author: Wayne Davison Date: Wed Jan 21 02:45:10 2004 +0000 Improved a couple comments. M util.c commit 59187666b904387f8531f36d804b1501772ebde9 Author: Wayne Davison Date: Tue Jan 20 17:46:31 2004 +0000 Use new push_dir() syntax. M clientserver.c M main.c commit 808c57c3439ed65062ff79193a67b1e281060ab1 Author: Wayne Davison Date: Tue Jan 20 17:46:30 2004 +0000 - Use the new push_dir() and pop_dir() calling syntax. - The "olddir" handling changed to accommodate the above, and to avoid using malloc()/free(). M flist.c commit 4af8fe4e789162a3aea497f2a8218bc49aecdb60 Author: Wayne Davison Date: Tue Jan 20 17:46:29 2004 +0000 - Changed push_dir() to not take a "save" arg and to return 1 or 0 for success or failure instead of a string pointer. The function also ensures that we don't overflow the curr_dir[] buffer. - Changed pop_dir() to not free() anything and to return 1 or 0 for success or failure. M util.c commit 4034cb3f71473271e4c5768c4bb3cdb3c8cf6d61 Author: Wayne Davison Date: Tue Jan 20 05:35:57 2004 +0000 Use new stringjoin() function. M sender.c commit 6fc048f438aeba4956a1fae1014cf85603dcab4e Author: Wayne Davison Date: Tue Jan 20 05:27:09 2004 +0000 Find last '@' in the user@site string, just in case the username has a '@' in it. M main.c commit 5d2a70713930e6c60788c728c8c6ae32f280ad84 Author: Wayne Davison Date: Tue Jan 20 05:24:07 2004 +0000 Use new stringjoin() and pathjoin() functions. M backup.c commit 81d2b0ef9d72621fd0a1530afb3f03fdb7ea2e24 Author: Wayne Davison Date: Tue Jan 20 05:15:14 2004 +0000 Use new pathjoin() function. M log.c commit 248ed45fc607eea9e4553fa57a39e4fd005e200b Author: Wayne Davison Date: Tue Jan 20 05:09:36 2004 +0000 Use new pathjoin() function. M generator.c commit 893c4cc0564c00dd541f9ee612be5896a7894679 Author: Wayne Davison Date: Tue Jan 20 04:56:20 2004 +0000 Use new stringjoin() function. M batch.c M socket.c commit a7725e6df9d1ddd69fd4de82d5d703fa073424fa Author: Wayne Davison Date: Tue Jan 20 04:53:59 2004 +0000 Use new pathjoin() function. M exclude.c M rsync.c commit 368ad70e050a318115fefacf558d033f49274704 Author: Wayne Davison Date: Tue Jan 20 04:43:49 2004 +0000 Added stringjoin() and pathjoin(). M util.c commit b7cee9498b38e770e4ce968168f7035f0185763e Author: J.W. Schultz Date: Tue Jan 20 03:37:04 2004 +0000 Eliminate unneeded strlen after strlcpy. M receiver.c commit 72d45525d278776caacb293eba6282698592e874 Author: Wayne Davison Date: Tue Jan 20 00:59:26 2004 +0000 Make sure that strlcpy() returns the right value when the bufsize is 0. M lib/compat.c commit 1fb8ec4b0d871f44eeb025b2ea2a1fbfa961234b Author: Wayne Davison Date: Tue Jan 20 00:29:49 2004 +0000 Fixed a bug in strlcat() where it would not properly detect a no-change condition if called with an initial string longer than the specified size limit (due to an unsigned var's inability to go negative). M lib/compat.c commit beb93684818f1502aec2d8b0980d27257e1d36f4 Author: Wayne Davison Date: Mon Jan 19 23:33:02 2004 +0000 Make sure that the batch-prefix string isn't overly long (avoiding a potential problem in the batch-filename code). M options.c commit 981555bddb2179cf37447856c0642674d0191bef Author: Wayne Davison Date: Mon Jan 19 23:28:57 2004 +0000 Actually, let's avoid snprintf() where possible. M batch.c commit 9c7527085c9965111c135fa5018d06c094b50e12 Author: Wayne Davison Date: Sun Jan 18 21:22:49 2004 +0000 Use snprintf() instead of strlcpy()+strlcat(). M batch.c commit eddd5d129e20bb27aa8ffde4f63e92a35f6bedf8 Author: Wayne Davison Date: Sat Jan 17 19:45:26 2004 +0000 A few minor string optimizations and a new complaint if we try to send a truncated filename. M flist.c commit 26f76b7912cbd004c707e6304abdc99830ad5680 Author: Wayne Davison Date: Sat Jan 17 05:04:04 2004 +0000 Got rid of an extra call to io_start_buffering_out(). M main.c commit 32eda0961e9c2842ad28c6611b156d9c672b5a14 Author: Wayne Davison Date: Sat Jan 17 04:58:24 2004 +0000 Unified the externs. M main.c commit 66964002dfc760fbe708523b78e0096fdd6070cc Author: Wayne Davison Date: Sat Jan 17 01:23:41 2004 +0000 A fix for --cvs-exclude. M NEWS commit 57469f6c31cec390c014cde5851ec8b279d2c287 Author: Wayne Davison Date: Sat Jan 17 01:16:49 2004 +0000 Items read from a per-directory .cvsignore file should be added to the local_exclude_list, not the exclude_list. M flist.c commit 13c7bcbb2be2fc580af0ade159c2b85c4e3cd3b0 Author: Wayne Davison Date: Fri Jan 16 16:31:47 2004 +0000 Output an error before we die if we get a wacko message from the receiver. M io.c commit d48c8065600389843f4586cf82a171f15ea86d20 Author: Wayne Davison Date: Thu Jan 15 17:45:53 2004 +0000 Clarified the --delete-after descriptions. M rsync.yo commit ad1a09a509b0920872f714fcdb8ccfcc1272d267 Author: Wayne Davison Date: Thu Jan 15 17:43:34 2004 +0000 Clarified the --delete-after help text. M options.c commit d6631cf3a5287c66b61691557305c486dcb74cae Author: Wayne Davison Date: Thu Jan 15 08:56:33 2004 +0000 If we're a daemon talking with a pre-28 protocol, use FERROR for a vanished-file message (not FINFO). M sender.c commit 5a8543b8b8cb5944f9fd689899d3b230cd48c70a Author: Wayne Davison Date: Thu Jan 15 08:39:25 2004 +0000 In two places: needed to use protocol_version, not PROTOCOL_VERSION. M clientserver.c commit 19119cbd35c7ec19135fc858e7425fd634d07bec Author: Wayne Davison Date: Thu Jan 15 08:16:40 2004 +0000 Changed version to "2.6.1cvs". M configure.in commit 442743b83c2a8a959c37be8e89b320f744074e7c Author: Wayne Davison Date: Thu Jan 15 07:51:37 2004 +0000 Improved receiver/generator communications. M NEWS commit 419896af4764f9050bcfabe6098c1b8ea84d4f43 Author: Wayne Davison Date: Thu Jan 15 07:42:27 2004 +0000 - Define FULL_FLUSH and NORMAL_FLUSH. - Got rid of FNONE from logcode enum. - Created msgcode enum with MSG_DATA, MSG_REDO, MSG_DONE, etc. M rsync.h commit 0569a1339d14fd67bce78ef59e584571c11346ca Author: Wayne Davison Date: Thu Jan 15 07:42:25 2004 +0000 - Got rid of the f_gen pipe. - Use new send_msg() call with MSG_DONE or MSG_REDO. M receiver.c commit f1e3656ee2a2ec8b2d698d296963ce104e420cf6 Author: Wayne Davison Date: Thu Jan 15 07:42:21 2004 +0000 - Call io_flush() with its new FULL_FLUSH/NORMAL_FLUSH arg. - Got rid of the recv_pipe between the receiver and the generator. - Use new send_msg(MSG_DONE,...) call to signal the generator when the receiver is done. - Use the new get_redo_num() call in the generator to read the final -1 from the receiver. M main.c commit a644fc3cc40cb49296a078a7b55b146bf2871f9b Author: Wayne Davison Date: Thu Jan 15 07:42:19 2004 +0000 - Moved err_list* stuff to io.c and renamed them to msg_list*. - Call the new send_msg() function to send a remote log message. M log.c commit d17e1dd2dae6bfd9e2e147a0dd3039848dd43abc Author: Wayne Davison Date: Thu Jan 15 07:42:17 2004 +0000 - Moved the err_list* stuff here from log.c and renamed them msg_list*. - Renamed log_error_fd to msg_fd_out, and io_error_fd to msg_fd_in. - Added a redo_list* to keep track of any redo items that come over the message channel from the receiver to the generator. - The io_flush() and msg_list_push() functions now take an arg: NORMAL_FLUSH or FULL_FLUSH. The latter ensures that we don't lose any log messages that haven't gotten written from the msg_list. - Added a send_msg() function that log.c calls to send any remote log messages. It is also called to send the new MSG_REDO and MSG_DONE messages. M io.c commit b9b15fb165d9adbfb56201429af2bd0f492c483c Author: Wayne Davison Date: Thu Jan 15 07:42:15 2004 +0000 We now call get_redo_num() instead of reading f_recv (which was removed). M generator.c commit ef732c3b5400bc2375f48d5201a918342362738e Author: Wayne Davison Date: Thu Jan 15 07:42:12 2004 +0000 Call io_flush() with its new FULL_FLUSH option. M cleanup.c commit baa4212ae117ed0d6c21d7e3d827e05329caceb8 Author: Wayne Davison Date: Thu Jan 15 07:08:00 2004 +0000 If the do_lchown() fails and we weren't trying to change the user, the error now says that chgrp failed, not chown. M rsync.c commit 0be976ec0a449279486eec94c33bd58b8c74201b Author: Wayne Davison Date: Thu Jan 15 07:06:45 2004 +0000 Fixed a bug when a non-root user copies a GID=0 file with -g set and no permissions to set group 0. M uidlist.c commit f7f10340d64ff217fa077e1466f340328e69497e Author: Wayne Davison Date: Thu Jan 15 02:25:38 2004 +0000 The HAS_INODE_DATA flag is no longer a part of the LIVE_FLAGS define. M rsync.h commit 68f9910d94cc97ebce4bb0740ff2f3b69aead571 Author: Wayne Davison Date: Tue Jan 13 18:50:40 2004 +0000 Explain the --progress output. M rsync.yo commit fb6e0ea120672aad1ecd2aebb8535d95be49ff8c Author: Wayne Davison Date: Tue Jan 13 18:25:03 2004 +0000 Give the user an idea of how far along in the transfer we are when using --progress. M progress.c commit 97feb557ede01b645989d16b2e345aaec0790027 Author: Wayne Davison Date: Tue Jan 13 18:22:43 2004 +0000 Set stats.current_file_index. M receiver.c M sender.c commit dc8293ff7370cac42d0005898cdc35ba7fa3c2bc Author: Wayne Davison Date: Tue Jan 13 18:22:13 2004 +0000 Added current_file_index. M rsync.h commit 785db4ced0a9e97b33cf3e3567d11e91809c1573 Author: Wayne Davison Date: Tue Jan 13 06:27:30 2004 +0000 Merged a couple more f != -1 if sections. M flist.c commit 5562deb1693300884c8509ee7237540403b50b08 Author: Wayne Davison Date: Tue Jan 13 05:13:57 2004 +0000 Moved a couple externs. M progress.c commit 983b1ed321d3990f8ee3dbb85571f830af5e88fa Author: Wayne Davison Date: Tue Jan 13 05:11:56 2004 +0000 Merged some "if (f != -1)" checks, put the clean_flist() call in the right spot, and moved some externs. M flist.c commit 548abf96ce4d2618d39837daec320861de0be610 Author: Wayne Davison Date: Tue Jan 13 04:50:45 2004 +0000 Relocated some externs. M log.c commit f8ebdf9265e0189368d14497a212647f8cb185dd Author: Wayne Davison Date: Mon Jan 12 03:59:53 2004 +0000 More hard-link stuff. M NEWS commit aa23c22004546539780a068a511492bf7e51c4ea Author: Wayne Davison Date: Mon Jan 12 03:50:07 2004 +0000 Changed the hard-link check. M backup.c M generator.c commit 1d5cda2265365974eb70797d74e4a34d0ca7729d Author: Wayne Davison Date: Mon Jan 12 03:49:47 2004 +0000 Updated to perform a much more efficient hlink algorithm that doesn't require any binary searching of hlink data. M hlink.c commit fe70ad26d3c7a937505e6d6adfead73ae5350b5e Author: Wayne Davison Date: Mon Jan 12 03:48:43 2004 +0000 Added F_HEAD and F_NEXT defines. M rsync.h commit 0a0074890131ca8726b18b0eadae822043cd3616 Author: Wayne Davison Date: Sun Jan 11 22:39:34 2004 +0000 Mention more of the latest changes. M NEWS commit 03979352b4914d4d47d573719d08a91020850116 Author: Wayne Davison Date: Sun Jan 11 22:11:25 2004 +0000 More cleanup, fixing an error in the fatal-message strings that tried to output the "filename" value when it might not be initialized. M batch.c commit cb7fb45e4269761ad773cf04594a3284ce951b30 Author: Wayne Davison Date: Sun Jan 11 08:17:19 2004 +0000 Updated a questioning comment. M hlink.c commit 92cc9dd7c2c1936f8558bfada8a704c0e6e73482 Author: Wayne Davison Date: Sun Jan 11 07:56:14 2004 +0000 Use the new dev+inode union in the flist_struct. M flist.c M hlink.c commit 88a7fb3edde766e1a971d977b1e97ddf5bb05372 Author: Wayne Davison Date: Sun Jan 11 07:55:53 2004 +0000 Moved the inode & dev items out of the flist_struct. Based on a preliminary patch by J.W. M rsync.h commit 728d09220143d6aa088cb080eb754af57aa62f3a Author: Wayne Davison Date: Sun Jan 11 07:28:45 2004 +0000 Use the new union-ified flist_struct values. M backup.c M flist.c M generator.c commit 80707c983c5a12f3c3f95ba3d26dd1aac866135a Author: Wayne Davison Date: Sun Jan 11 07:28:23 2004 +0000 Put 3 flist_struct items into a union: rdev, sum, and link (all mutually exclusive based on mode). Based on an idea by J.W. M rsync.h commit 5911fee567b0e54527403ec742bce217adf9f78d Author: Wayne Davison Date: Sat Jan 10 22:13:19 2004 +0000 A slightly better reset mechanism for send_file_entry() and receive_file_entry(). M batch.c M flist.c commit a09f6f55da452122cae567cd916ed47a24f790ad Author: Wayne Davison Date: Sat Jan 10 21:10:04 2004 +0000 Use the new LIVE_FLAGS define to fix a potential flag problem. M batch.c commit caf5cc91528b8fb52bfb49520c5942be0e36f2b6 Author: Wayne Davison Date: Sat Jan 10 21:09:06 2004 +0000 Added LIVE_FLAGS define. M rsync.h commit 58422e8393f90458d3ef5b572d66fcfe5fca6618 Author: Wayne Davison Date: Sat Jan 10 20:16:18 2004 +0000 Changed the call to write_batch_csum_info() to the latest syntax. M sender.c commit e8d3168e3a56c591cd550e995083002865c3a015 Author: Wayne Davison Date: Sat Jan 10 20:16:13 2004 +0000 Massive rewrite to replace the file-list read/write code with calls to send_file_entry() and receive_file_entry(). Other cleanups too. M batch.c commit 7b1a0c19b867b2ea7766c4d742a15bca3a1fb3ed Author: Wayne Davison Date: Sat Jan 10 20:15:55 2004 +0000 Allow the send_file_entry() and receive_file_entry() routines to be called by the batch processor. M flist.c commit 536492752b930d94f644daed3d1b0af7f21d24a1 Author: Wayne Davison Date: Sat Jan 10 08:39:57 2004 +0000 Support the recent changes in the flist_struct. M batch.c commit 7c4f063b131f79a7150eb4d57656bfdd16fa8fe1 Author: Wayne Davison Date: Fri Jan 9 18:35:41 2004 +0000 Got rid of tmpsum[]. M flist.c commit 1a62c49d31e6ab7c8ba87271fc846ac8c40b9d0a Author: Wayne Davison Date: Fri Jan 9 18:27:15 2004 +0000 Note latest changes. M NEWS commit fea4db62bdc8ba2f551d8d0460b2ed50ef70f2de Author: Wayne Davison Date: Fri Jan 9 18:19:32 2004 +0000 - Never allocate a useless sum array for a non-regular flist item. - Don't transmit the sum array for non-regular files (p28 onward). - Tweaked a couple comments. M flist.c commit 4499c0eebd4facb0a71fe990cf75a0213460d813 Author: Wayne Davison Date: Fri Jan 9 18:10:31 2004 +0000 A couple minor code improvements. M generator.c commit 0c42946536087bc2caa4d5d1fe4569c7c097c941 Author: Wayne Davison Date: Fri Jan 9 16:53:55 2004 +0000 Added an extra comment. M flist.c commit ab264c9e7956499f6c3058c29ad2a5f037839d81 Author: J.W. Schultz Date: Fri Jan 9 14:02:00 2004 +0000 Added a few more devices to the devices.test to hopefully test same, same high and different device numbers. M testsuite/devices.test commit dd7fb70f6eb6e46dbc9a76049fef568959713135 Author: J.W. Schultz Date: Fri Jan 9 13:55:56 2004 +0000 Finished the last_* renameing and fixed a cast.. M flist.c commit 30f337c9ef4c1e59f306688cd74f1a3f82b9c6f8 Author: Wayne Davison Date: Thu Jan 8 22:45:12 2004 +0000 Updated the send_file_name() and receive_file_entry() functions to make some of the variable names more logical in the new program flow. Also improved the setting of the new last_rdev value that only remembers the high 3 bytes. M flist.c commit 9d3527193840289e6f065156dd3a462a37f589e8 Author: Wayne Davison Date: Thu Jan 8 22:45:07 2004 +0000 Changed the OLD_SAME_RDEV define to SAME_RDEV_pre28. M rsync.h commit bbfb1d016b1dfe742d4396d89b66aa513eca9589 Author: Wayne Davison Date: Thu Jan 8 18:33:38 2004 +0000 Added explicit call to AC_PROG_EGREP. M configure.in commit c4b4df4fb4cc748c1368e0c833dd5415d85071e2 Author: Wayne Davison Date: Thu Jan 8 11:29:50 2004 +0000 Optimized the sending of dev+inode data for hard-linking support (but only when speaking protocol 28). M flist.c M hlink.c commit a6d89d18bf3bd5da8aad3cb4d6f96246aceb2788 Author: Wayne Davison Date: Thu Jan 8 11:28:07 2004 +0000 - Added flags HAS_INODE_DATA and SAME_DEV. - Changed PROTOCOL_VERSION to 28 now. M rsync.h commit 75bc8600937b2fa3be0b8ff344ce6bbe7e5f2f7f Author: Wayne Davison Date: Thu Jan 8 11:08:30 2004 +0000 Implemented an extended-flag-byte in the transfer protocol by moving the SAME_RDEV bit into the next 8 bits and adding an EXTENDED_FLAG bit. Also modified the meaning of this bit for protocol 28 and above: SAME_HIGH_RDEV indicates that all but the lowest byte matches. The older protocols get OLD_SAME_RDEV set (with the old semantics) for compatibility. Note also that protocol 28 isn't turned on yet. M flist.c commit 02a279a75f366f569fbab8cb49d6e8a0602195b7 Author: Wayne Davison Date: Thu Jan 8 11:08:30 2004 +0000 Added EXTENDED_FLAGS and SAME_HIGH_RDEV. Changed SAME_RDEV to OLD_SAME_RDEV. M rsync.h commit 584c7bf76dffe713462dc93b30d24d6ef92a8602 Author: Wayne Davison Date: Thu Jan 8 09:00:14 2004 +0000 Pass the $srcdir/wildtest.txt file on the command-line to wildtest. M testsuite/wildmatch.test commit c4cd2ca6bf60b13cb697e5461f8c8010be78791e Author: Wayne Davison Date: Thu Jan 8 08:59:52 2004 +0000 We now take a TESTFILE arg on the command-line. M wildtest.c commit 1ef00d2072ae5cb36282204ac2a4ada9ab4f2ff3 Author: Wayne Davison Date: Thu Jan 8 04:56:27 2004 +0000 Improved the code in send_file_entry() and receive_file_entry() to make it a little easier to read and a little more optimized. Also made the flag size in our function calls match the size of the flags in the flist_struct. These changes will make it easier for me to optimize the sending of the hard-link data in a future commit. M flist.c commit 4dd4c72790889a4f1b03f04b369288d757e6ad4a Author: Wayne Davison Date: Thu Jan 8 04:53:16 2004 +0000 Made the flags in the file_struct a little smaller. M rsync.h commit 6aae748ea757c256ad869855e51957309710bca9 Author: Wayne Davison Date: Thu Jan 8 03:17:07 2004 +0000 - No need to check S_ISREG() on files already in the hlink_list. - The realloc in init_hard_links() might fail if the list is empty (which can happen if there are no regular files in the transfer). I changed the code to free the list in that case. M hlink.c commit aa953c32014d755c77a253d3ef401ea3e771712e Author: Wayne Davison Date: Thu Jan 8 00:47:17 2004 +0000 Old-protocols. M NEWS commit 3f55bd5dad9d8639755f0ed5ce70d6936ce699c2 Author: Wayne Davison Date: Thu Jan 8 00:45:41 2004 +0000 Got rid of support for protocols 17 and 18. M clientserver.c M exclude.c M receiver.c M rsync.h commit 279b1c1ebb1ce80d6a3cd24e05738a0374d2f4fd Author: J.W. Schultz Date: Wed Jan 7 11:38:23 2004 +0000 Noted hardlink memory footprint reduction. M NEWS commit fa45cda1aa675aab6d9f9fb88fbfc69d41ea32ab Author: J.W. Schultz Date: Wed Jan 7 09:11:56 2004 +0000 Cosmetic changes to file_compare() for readability and to match hlink_compare() M flist.c commit 11dc2740540fbcda90fe9ffaabc951a417e13d1c Author: J.W. Schultz Date: Wed Jan 7 09:06:37 2004 +0000 Change hlink_list so we only have a list of pointers to file_struct instead of a copy of the file_struct list. M hlink.c commit e7bef92205d912ff2a695451f277d2b4439aed47 Author: Wayne Davison Date: Tue Jan 6 05:35:55 2004 +0000 Batch-mode fix. M NEWS commit 4a1991d7c50dedf8b994e53e20ef12b3d66a2e00 Author: Wayne Davison Date: Tue Jan 6 05:33:02 2004 +0000 Fixed a byte-order problem for batch-file processing on big-endian systems (reported by Jay Fenlason). M token.c commit 13aefa13657d1b3a8c98d5768e70c07261c8ab6f Author: Wayne Davison Date: Mon Jan 5 03:57:15 2004 +0000 Some whitespace tweaks. M fileio.c commit addf0c4a1c69cde165f59fec28b37221c0cb9717 Author: Wayne Davison Date: Mon Jan 5 03:56:19 2004 +0000 A few formatting tweaks. M backup.c commit 25bfc8cea1e2af9054ef66f4ca1a31b5f68a43f8 Author: Wayne Davison Date: Sun Jan 4 19:18:37 2004 +0000 Use new recv_generator() calling syntax. M receiver.c commit dfd5ba6ab7a4ec0ebc916269788355fda86cf4ce Author: Wayne Davison Date: Sun Jan 4 18:43:18 2004 +0000 Changed recv_generator() to take a "struct file_struct *" instead of a "struct file_list *", which allows us to call it with a copy of the current file_struct entry that we've modified. This is better than modifying the entry directly because the latter causes the shared memory between the generator and the receiver to slowly vanish as the in-memory changes happen. M generator.c commit 393ba2214d0c4c31de44a1278ff3106ee7d97522 Author: Wayne Davison Date: Sun Jan 4 07:07:08 2004 +0000 Try using "id -un" before "whoami" since the latter doesn't exist on SunOS systems (and I hope the former works -- we'll see). M runtests.sh commit f358487f8eb5b8e7eb52177a1896816bce58139b Author: Wayne Davison Date: Sun Jan 4 07:06:05 2004 +0000 Silence a compiler warning on Sun OS systems. M getgroups.c M tls.c commit a18381aca61b8a73d7fd6afa3dc66267fc03cf5c Author: Wayne Davison Date: Sat Jan 3 20:50:51 2004 +0000 Improved the text. M NEWS commit f6e54812b7cb78cc9453ac01342feed5af9bebe2 Author: Wayne Davison Date: Sat Jan 3 19:49:52 2004 +0000 Fixed autom4te*.cache entry. M .cvsignore commit 31e7451aa583e4c155f48ced38aec746acbedd63 Author: Wayne Davison Date: Sat Jan 3 19:28:17 2004 +0000 Mention more INTERNALS work. M NEWS commit 0e36d9da420af7c7e49bfd5e2c5aad712a85b633 Author: Wayne Davison Date: Sat Jan 3 19:28:03 2004 +0000 More variable-size cleanup. M generator.c M match.c commit da9d12f5d93724cb07a4107aa7aff92be9fb2ddb Author: Wayne Davison Date: Sat Jan 3 18:37:41 2004 +0000 Made the types used in the sum_buf and sum_struct structures consistent with the variables in the code that manipulates these values. M generator.c M match.c M options.c M rsync.h M sender.c commit a60e2dca6b475e41882d9070c90079dfedf6b5bc Author: J.W. Schultz Date: Sat Jan 3 13:17:32 2004 +0000 Create GID_NONE for use gid test readability. M generator.c M rsync.c M rsync.h M uidlist.c commit 86c4601e129054aa1c3f7b9192e98a955c94679e Author: Wayne Davison Date: Sat Jan 3 09:48:52 2004 +0000 Fixed a name. M NEWS commit 173f5bf8cfa28bbefe718a02839d8ff58f98ac47 Author: Wayne Davison Date: Sat Jan 3 09:44:20 2004 +0000 Fixed a size check in the new code. M socket.c commit 823edc686f5a6d4e36371ce921c2dfd9a8c2a27b Author: Wayne Davison Date: Sat Jan 3 09:36:30 2004 +0000 Document the latest changes. M NEWS commit a3a841073e6e3d5a560c072c8bc7bbd770740235 Author: Wayne Davison Date: Sat Jan 3 09:19:06 2004 +0000 Added support for "Basic" authentication to our proxy, based on a patch by Bardur Arantsson. M socket.c commit 57385128c3172a2b18b78718aea6d911d193f5d3 Author: Wayne Davison Date: Sat Jan 3 08:53:36 2004 +0000 Made base64_encode() non-static. M authenticate.c commit 2990e06f29fb2bc1147c3670ab9a090c0f6b53a1 Author: Wayne Davison Date: Sat Jan 3 01:12:10 2004 +0000 Silence a compiler warning. M generator.c commit 2ef2e822d17aaeb713648f73f106e4cf1239b55f Author: Wayne Davison Date: Sat Jan 3 00:40:55 2004 +0000 Added missing '[]'s to AC_CHECK_FUNCS() calls so that this works with autoconf 2.58 and above. M configure.in commit b7736c797c790543e9a150752e4943d540aa2bca Author: Wayne Davison Date: Fri Jan 2 23:41:32 2004 +0000 Some cosmetic tweaks. M flist.c commit 9b9c8aaf4d0b57e32ef5203eec986ca2094ff037 Author: Wayne Davison Date: Fri Jan 2 18:42:33 2004 +0000 Improved flush_write_file(). M fileio.c commit b0fd253afc8aae210a970d88da00f93b758b57ac Author: Wayne Davison Date: Fri Jan 2 18:05:51 2004 +0000 Applied a slightly-tweaked version of Oliver Braun's patch that implements listening on multiple addresses and a fix for IPv6-only systems. M socket.c commit e028b9ff53d31dc97a8d491f5551aff02a3850b6 Author: Wayne Davison Date: Fri Jan 2 17:47:44 2004 +0000 Call bind() with the right ai_addr/ai_addrlen info. M socket.c commit 9c07d253451b9bcd898811fa46a76676b89dc014 Author: Wayne Davison Date: Fri Jan 2 17:20:21 2004 +0000 Tidied up a few things in preparation for changes. M socket.c commit 7352b8736b94a7cb375cc2789fba6728d5c35955 Author: Wayne Davison Date: Fri Jan 2 16:52:29 2004 +0000 Moved the is_in_group() function to uidlist.c. M rsync.c commit 5b540e86a46ab0641cd7cc7bdd4fe6eb3b7a9f36 Author: Wayne Davison Date: Fri Jan 2 16:51:54 2004 +0000 Set the file's gid to -1 if we don't have permissions to set it. M uidlist.c commit 6744b62ddd014101a076ec560fe142d4e0c66efb Author: Wayne Davison Date: Fri Jan 2 16:50:06 2004 +0000 Fixed --link-dest's check for identicalness to ignore the uid if non-root, and to ignore a gid of -1. M generator.c commit e90b8acec360f14018c95075b035227aa59da7e3 Author: Wayne Davison Date: Fri Jan 2 08:50:25 2004 +0000 Silence some compiler warnings. M flist.c commit 925c517f198deb41dc68589e97a50d15617c2a07 Author: Wayne Davison Date: Fri Jan 2 08:38:35 2004 +0000 Improved the setting of cleanup_got_literal so that we know if the current file received some literal data yet or not. M receiver.c commit cc964a518c06de3032c511535b2456cd0f433558 Author: Wayne Davison Date: Fri Jan 2 08:36:58 2004 +0000 Use the new f_name_to() call instead of strlcat() an f_name(). M sender.c commit 3309507dd3fc581254aa642509ee0671f5b79883 Author: Wayne Davison Date: Fri Jan 2 08:33:57 2004 +0000 Some minor changes to some if statements. M io.c commit 5e7dbaca50e00e6f418a4e8ae6ccfcf4ccb926f8 Author: Wayne Davison Date: Fri Jan 2 08:31:12 2004 +0000 Use buffered I/O to read the exclude list. M exclude.c commit 76c21947140b90edaa5591c63b10ca00f939ad9b Author: Wayne Davison Date: Fri Jan 2 08:29:49 2004 +0000 Applying my updated version of Craig Barratt's buffered I/O patch. M fileio.c M flist.c M io.c M main.c M receiver.c commit 968c8030cf0fa0e057b8dbe7233945a3aad10ede Author: Wayne Davison Date: Fri Jan 2 08:19:26 2004 +0000 Some name tweaks. M generator.c commit 446e239e2c000b88cbd75a84b508911d5e92239c Author: Wayne Davison Date: Fri Jan 2 08:18:53 2004 +0000 Use the f_name_to() function to avoid having to strdup() the name that f_name() returns. Also used in a call to recv_generator() to keep the name safe for the duration of the call. M receiver.c commit e7bc9b64a3d55f1465faf61f2329e28fdcf24984 Author: Wayne Davison Date: Fri Jan 2 08:05:20 2004 +0000 Use f_name_to() when producing a name for the recv_generator() call. This prevents things like the hard-link code from losing the name before we're finished with it. M generator.c commit 8018edd3aa197b843bbed6e285ad99a1777989b3 Author: Wayne Davison Date: Fri Jan 2 07:57:02 2004 +0000 Optimized f_name(), generating: (1) f_name_cmp(), which optimizes comparing two file_struct elements without copying them first, and (2) f_name_to() which lets us supply the destination buffer for a f_name() call (to allow it to persist without an extra copy). M flist.c commit 64c3523a6f1f5d6c83571f5f7e921129af42d177 Author: Wayne Davison Date: Fri Jan 2 07:42:20 2004 +0000 Got rid of /* dw */ comments. M flist.c M main.c M match.c M sender.c commit 310c9f30f034877feb1db26623b2febe6dd5da7b Author: Wayne Davison Date: Fri Jan 2 07:34:49 2004 +0000 Optimized hard_link_one() to not call f_name() so many times. M hlink.c commit 5c1b7bfd2a2a1e3f19be8040ca7cda5947a853ab Author: Wayne Davison Date: Fri Jan 2 07:31:02 2004 +0000 No need to conditionally-compile EINTR code -- no other files do this. M util.c commit faf11086d85464b92a9940f48e9e280f163f4c2c Author: Wayne Davison Date: Fri Jan 2 07:11:32 2004 +0000 More twiddling of the wildcard verbage. M NEWS commit 52fa4d7893e6fc5503e7db91c78ffa3176186845 Author: Wayne Davison Date: Thu Jan 1 22:37:13 2004 +0000 Improved the itemized discussion under the wildcard changes. M NEWS commit de0551020b1c82321a2665bfa426c3db868afbd0 Author: Wayne Davison Date: Thu Jan 1 21:10:50 2004 +0000 Allow function return values to start with "const". M mkproto.awk commit c1456d83a72215822732424304b1563a0a2c9d8f Author: Wayne Davison Date: Thu Jan 1 19:00:11 2004 +0000 Tweaked the date. M rsync.yo M rsyncd.conf.yo commit 1cbbaea9573fdb464b28daae6adae083cb997173 Author: Wayne Davison Date: Thu Jan 1 11:36:16 2004 +0000 Preparing for release of 2.6.0 M configure.in M packaging/lsb/rsync.spec commit f6aeaa74d11d98f6afcd0290b3790666585f80f9 Author: Wayne Davison Date: Tue Dec 30 18:17:16 2003 +0000 One more tweak to --modify-window verbage. M rsync.yo commit 6839140eb5ea3701817c236ad705b451bd2d7b33 Author: Wayne Davison Date: Tue Dec 30 18:16:25 2003 +0000 Shorten some of the lines in the --help output. M options.c commit 915dd20705ee32bd0c2a90e6f8e85e8c6a9c0ddf Author: Wayne Davison Date: Tue Dec 30 17:44:01 2003 +0000 Shortened a few lines, plus a couple minor tweaks. M rsync.yo commit c53217a2b861ff7453cd35fcc35f2e79df419c4d Author: Wayne Davison Date: Mon Dec 29 09:58:06 2003 +0000 Changed the VERSION section to refer to 2.x instead of 2.0. M rsyncd.conf.yo commit b2ac00eb1627bc78b360c133b9516997af903241 Author: Wayne Davison Date: Sun Dec 28 21:11:38 2003 +0000 Preparing for release of 2.6.0pre2 M configure.in M packaging/lsb/rsync.spec commit 45ddbf62043bec5f8f88e83d48f4e2fbbd58331a Author: Wayne Davison Date: Sun Dec 28 20:48:06 2003 +0000 Make the upper copyright year "2004". M options.c commit 276877cf7716de2aae167ab927a8294360505e8a Author: Wayne Davison Date: Sat Dec 27 00:14:21 2003 +0000 Aged news from NEWS to OLDNEWS. M NEWS M OLDNEWS commit 6b45fcf160fdc4cb78805835e05e25015fe4f973 Author: Wayne Davison Date: Fri Dec 26 23:04:01 2003 +0000 Undid previous change. M io.c commit 49c24eccd45da628ddba06a83ee5a67a27ba5d33 Author: Wayne Davison Date: Fri Dec 26 22:59:53 2003 +0000 A change that wasn't needed. M io.c commit 0d7d3763f210430d1fdd2e05ac5f5d4edde5741c Author: Wayne Davison Date: Wed Dec 24 17:48:25 2003 +0000 Use %{version} to refer to the current version. M packaging/lsb/rsync.spec commit 241dc65eeefb4c81698b8d83a539ee1a39f45c7c Author: Wayne Davison Date: Wed Dec 24 17:46:46 2003 +0000 Getting rid of klunky *.tmpl files. D packaging/lsb/rsync.spec.tmpl commit 860bdd45717ff6319dbd62be39bd1861193c957b Author: Wayne Davison Date: Wed Dec 24 01:46:38 2003 +0000 Mention the new-backup-dir mode change. M NEWS commit 55bf051bbc5cb8d9dc4b6ef83905b1488447601b Author: Wayne Davison Date: Wed Dec 24 01:46:07 2003 +0000 Getting rid of an extra newline that accidentally crept into the code. M io.c commit 423dba8ea1327230ca267e4907b2739531734f91 Author: Wayne Davison Date: Wed Dec 24 01:14:16 2003 +0000 Simplified an internal function's name to remove a potentially cryptic suffix. M generator.c commit 517c7b4dee3ec66b636537600ce933581f8cc615 Author: Wayne Davison Date: Sat Dec 20 18:00:13 2003 +0000 Updated the copyright year. M options.c commit 18ced146313dde94348ac328873eb7abb1d1745f Author: Wayne Davison Date: Sat Dec 20 17:57:47 2003 +0000 Output a warning about the new remote-shell default if the --with-rsh option wasn't used. M configure.in commit ce67256218f08ca36561ca801c35bdbe83cce9ec Author: Wayne Davison Date: Sat Dec 20 16:57:24 2003 +0000 Output a newline before the heap statistics. M main.c commit 9e83fa99fe5be2bdc1b448d3ded2a0a04d1e8024 Author: Wayne Davison Date: Sat Dec 20 16:56:51 2003 +0000 - Mention the extra newlines in the verbose/stats output. - Made some spelling corrections. M NEWS commit 256a9e376c5da6b0ae2a73eff86c7424b222c3e3 Author: Wayne Davison Date: Sat Dec 20 16:51:13 2003 +0000 Added a couple missing items from John Van Essen. M NEWS commit ef5075e092af8c94324b29c5e19bd63f9d3154cb Author: Wayne Davison Date: Fri Dec 19 22:19:54 2003 +0000 Quiet a compiler warning. M sender.c commit 65653a6596add724f3dcd2284e7eefde5c0fba34 Author: Wayne Davison Date: Fri Dec 19 20:21:17 2003 +0000 Mention the change we made to help ssh cleanup the tty on Ctrl-C. M NEWS commit d5a0b483797359517de787c33f518a4c804041f4 Author: Wayne Davison Date: Fri Dec 19 06:52:02 2003 +0000 Do a small msleep() in the sig_int() handler before shutting down. This kluge allows things like SIGINT to find our children before we go throwing around SIGUSR1's at them. M rsync.c commit 314a74d73101cdb9402ee21999187173456085dc Author: Wayne Davison Date: Wed Dec 17 09:29:35 2003 +0000 Got rid of the RSYNC_RSH_IO stuff for now. M rsync.yo commit 90e22f4b517f134e5f97ce04cd2c293d7149a6d5 Author: Wayne Davison Date: Wed Dec 17 09:28:45 2003 +0000 Backed out the RSYNC_RSH_IO support for now. M main.c commit ab304c268c7d3bece093eb65b0dcf1fd579988ae Author: J.W. Schultz Date: Wed Dec 17 00:52:01 2003 +0000 Removed hardlink reporting bug from TODO list -- seems to be fixed. M TODO commit 16a3fec02d3306c95c4484dc263bd80bf5d0bb06 Author: J.W. Schultz Date: Wed Dec 17 00:49:50 2003 +0000 Added keword base reporting to TODO features list. M TODO commit abb0b532f86b9db36efd463e2a744e30ac57ef36 Author: J.W. Schultz Date: Wed Dec 17 00:47:39 2003 +0000 Reorganized and cleaned up TODO list. M TODO commit 43cd760fc1ddc035bc887720ea291b80cb5cf622 Author: Wayne Davison Date: Tue Dec 16 23:07:19 2003 +0000 - Changed the places that talked about rsh being the default shell. - Document the new RSYNC_RSH_IO environment variable. M rsync.yo commit 9af87151ece30ad4b78571cd7f22eadb58e562fe Author: Wayne Davison Date: Tue Dec 16 23:06:25 2003 +0000 We now support an environment variable named RSYNC_RSH_IO which lets the user set the blocking-IO value for the shell specified by RSYNC_RSH. M main.c commit 8dd99390f59826f37d3e6d485cfbd0d150623078 Author: Wayne Davison Date: Tue Dec 16 23:04:59 2003 +0000 Added RSYNC_RSH_IO_ENV. M rsync.h commit e636af6b238070665560b4d3bcf669388c956cda Author: Wayne Davison Date: Tue Dec 16 19:48:25 2003 +0000 Mention change to ssh. M NEWS commit e3217f144829a17e539eeeb076346cfac9761980 Author: Wayne Davison Date: Tue Dec 16 18:02:15 2003 +0000 Tweaked an obsolete comment. M rsync.h commit 66b711633f14179def88611a91414e85c76569f5 Author: Wayne Davison Date: Tue Dec 16 18:02:03 2003 +0000 Improved the default-blocking-I/O code to discern rsh from ssh properly. M main.c commit f40f2fc8ce3335805868ca896e44ae0860b614e3 Author: Wayne Davison Date: Tue Dec 16 18:01:06 2003 +0000 Made the default remote-shell be "ssh" (override with --with-rsh=FOO). M configure.in commit e6f9e388cf1b42c2caad203bc5e7ac432569dac6 Author: Wayne Davison Date: Mon Dec 15 20:10:21 2003 +0000 Moved the information on the single-use ssh key so that the --server option wasn't being mentioned early in the rsync manpage (which has confused at least one user trying to figure out the --daemon mode command-line syntax). M rsync.yo M rsyncd.conf.yo commit 3c1e2ad9568475e34a8ac50ab6c47f9713e4e5f8 Author: Wayne Davison Date: Mon Dec 15 19:49:38 2003 +0000 Document new error code 24. M rsync.yo commit e6d27991703650749d9656a6ac4f3868fa19b812 Author: Wayne Davison Date: Mon Dec 15 19:04:04 2003 +0000 Updated version. M packaging/lsb/rsync.spec commit 2cfbf4bc0e92dbc9f601e765e3e10e75f524d7da Author: Wayne Davison Date: Mon Dec 15 19:00:20 2003 +0000 Changed the version to 2.6.0pre1. M configure.in commit f7731f1fc2ad065a975b5b454eb4c120bd2372b4 Author: Wayne Davison Date: Mon Dec 15 18:45:27 2003 +0000 Removed some obsolete items. M TODO commit 7d3f8ae2df02ed2dff26209ec2cfc22fc8fb6b7f Author: Wayne Davison Date: Mon Dec 15 18:45:07 2003 +0000 Make sure we only use blocking-I/O if blocking_io is > 0. M pipe.c commit a60fdd63f4562a5da5990b388c4f4053d53dc618 Author: Wayne Davison Date: Mon Dec 15 18:25:10 2003 +0000 Changed version to 2.6.0. M NEWS commit 3a7dec59bc4ac38ca7f14b2181eb027e22672072 Author: Wayne Davison Date: Mon Dec 15 18:22:12 2003 +0000 Changed version to 2.6.0 in preparation for new release. M configure.in commit 880ae34190fea203aa52677dd5f87994ad8ba985 Author: Wayne Davison Date: Mon Dec 15 18:20:06 2003 +0000 Got rid of setgroups() caveat for OSX -- we fixed that a while back. M INSTALL commit d00daf1f3f5f40df993c1b0c197faf98d4fc807f Author: Wayne Davison Date: Mon Dec 15 08:44:55 2003 +0000 Mentioned the vanished-file warning enhancement. M NEWS commit 17fadf7d404c54548b21904f6ab38a1f254d8c5a Author: Wayne Davison Date: Mon Dec 15 08:14:27 2003 +0000 Twiddled some whitespace and multi-line comments. M receiver.c commit 06c28400fa4ce46406d4a0bbf417b9b07df0a29a Author: Wayne Davison Date: Mon Dec 15 08:10:31 2003 +0000 New "io_error" variable handling for RERR_VANISHED support. M flist.c M options.c M sender.c commit 6e35c72fdbe4951412081f34b2bcd1ca10ee7225 Author: Wayne Davison Date: Mon Dec 15 08:08:44 2003 +0000 Return new RERR_VANISHED code, as appropriate. M cleanup.c commit e2d22fee53d01043436ed7448caf6239134d201c Author: Wayne Davison Date: Mon Dec 15 08:07:38 2003 +0000 Added new IOERR_* defines. M rsync.h commit 1bca1de6cc45c8215a42442096a8f64241eebcae Author: Wayne Davison Date: Mon Dec 15 08:06:52 2003 +0000 Handle new RERR_VANISHED error. M log.c commit e0ed4e4087ebeff0b0fe8f3419bcccf84fbd89a9 Author: Wayne Davison Date: Mon Dec 15 08:04:14 2003 +0000 Added RERR_VANISHED. M errcode.h commit 4a7319be126cc9b95b0ecad0582f28581c83e56b Author: Wayne Davison Date: Mon Dec 15 01:45:01 2003 +0000 Neatened up some whitespace issues and made multi-line comments more consistent. M log.c commit 55d5937dd62be7224de88e40bdba8b91af4295cc Author: Wayne Davison Date: Mon Dec 15 00:54:44 2003 +0000 Simplified the setting of the reading_remotely variable in function read_filesfrom_line() now that remote_filesfrom_file is set more often. M io.c commit 63596e1c4a5cdd5f1874e501b4600ef3f3c70a89 Author: Wayne Davison Date: Mon Dec 15 00:53:07 2003 +0000 If we're the server and --files-from is "-", set remote_filesfrom_file to "-" as well (since the data is coming over the socket from the remote side). M options.c commit 603e6b05c7a30b2972d2aebcc6003a27d4f6190b Author: Wayne Davison Date: Fri Dec 12 17:13:22 2003 +0000 Neatened up the indentation. M progress.c commit dfad66a83825d61031d7a61e11509a3c37ad61c4 Author: J.W. Schultz Date: Sat Dec 6 21:35:34 2003 +0000 Sanity check s2length on recept. M sender.c commit 58cadc8608fbb2cbc7b74578cd92de4337a4b887 Author: Wayne Davison Date: Sat Dec 6 21:07:27 2003 +0000 Merged in the security fixes from 2.5.7. M NEWS M batch.c M checksum.c M configure.in M exclude.c M fileio.c M flist.c M hlink.c M io.c M loadparm.c M log.c M match.c M options.c M packaging/lsb/rsync.spec M params.c M receiver.c M rsync.c M rsync.h M sender.c M token.c M uidlist.c M util.c commit b11b50bcd026a0a052bdfab7b96c97045b658d86 Author: J.W. Schultz Date: Sat Oct 25 20:02:45 2003 +0000 Added reminder to update rsync.yo manpage when adding to exit codes. M errcode.h commit a73de5f3baa33539071b2ba8bce603ec563395b4 Author: Wayne Davison Date: Sat Oct 25 17:53:57 2003 +0000 Added exit code 0. M rsync.yo commit 84c3645cea7607c23f5e70a6ee8a639039ade2bd Author: Wayne Davison Date: Sat Oct 25 16:21:41 2003 +0000 Updated exit codes as Jon Jensen and J.W. suggested. M rsync.yo commit 2a88a8cd30aaf37cb677beaab67638815130c841 Author: Wayne Davison Date: Mon Oct 13 23:46:08 2003 +0000 Fixed an operator-precedence problem in the batch-mode code. M token.c commit 8a97fc2e1b46a06e2a320704b6eeccc41175a78c Author: Wayne Davison Date: Tue Oct 7 20:33:08 2003 +0000 Tried to improve the documentation surrounding a trailing-slash source-dir transfer. M rsync.yo commit 7a2fd68b966a404a50de922053d6f0dd17151bee Author: Wayne Davison Date: Tue Sep 16 05:33:09 2003 +0000 Tweaked the just-added error message to use my new full_fname() function. Also removed some trailing whitespace from lines. M rsync.c commit 6a7cc46cb279b9dbf12977177330aeebb912aa34 Author: J.W. Schultz Date: Tue Sep 16 02:49:59 2003 +0000 Detect and report when open or opendir succeed but read and readdir fail caused by network filesystems issues and truncated files. Thanks to David Norwood and Michael Brown M NEWS M fileio.c M flist.c M rsync.c M rsync.h M sender.c commit aa6dc37ccb73c83f652e72ed1ca7700934a52331 Author: Wayne Davison Date: Thu Sep 11 05:00:52 2003 +0000 Mention my recent changes. M NEWS commit ea42541fe0783d3b3e8f44c76cbdfd82550a9c68 Author: Wayne Davison Date: Thu Sep 11 04:53:05 2003 +0000 Improved file-related error messages by using the new full_fname() function. M backup.c M flist.c M generator.c M main.c M receiver.c M rsync.c M sender.c commit b7b2741f3ae6a0bb58d6051940bf761b7d05b0b2 Author: Wayne Davison Date: Thu Sep 11 04:53:01 2003 +0000 Tweaked an error message. M options.c commit eb61be192de5bb899bedb851f69981e191ba1853 Author: Wayne Davison Date: Thu Sep 11 04:48:15 2003 +0000 Added a new function, full_fname(), that makes a filename more complete for error messages. If the path is in a module, we ensure that the "path" setting (from the config file) is not revealed, while still reminding the user that the path is relative to the module's root. M util.c commit 9b9114e8cd37a100087a939e9db2ccb125919ffe Author: Wayne Davison Date: Thu Sep 11 04:48:13 2003 +0000 Include a few new stubs to handle the new full_fname() function. M t_stub.c commit 857e38bb45132c3d79f21a6bbce14eec7bc9a155 Author: Wayne Davison Date: Thu Sep 11 04:48:09 2003 +0000 Got rid of some "/* dw */" comments and fixed some line's indentation. M token.c commit 4ea812445d5f42d44a16a4d04eae8f48127ec66f Author: Wayne Davison Date: Thu Sep 11 04:48:07 2003 +0000 Got rid of some "/* dw */" comments. M compat.c commit e80a7654127e03b6bac23c1efc2226129bbc8bfe Author: Wayne Davison Date: Thu Sep 11 04:00:19 2003 +0000 If lp_path() returns "/", set exclude_path_prefix to "" (because the exclude code doesn't want any trailing slashes). M clientserver.c commit 15089022d43b337f2de73e96f1991606dc80bce5 Author: Wayne Davison Date: Thu Sep 11 03:49:53 2003 +0000 Make sure that the new slash-stripping P_PATH code doesn't turn a "/" into an empty string. M loadparm.c commit f69204adad8d9fc3538d510fa88079e4c890eef8 Author: Wayne Davison Date: Wed Sep 10 08:27:34 2003 +0000 Changed main() definition to avoid an extra prototype being put into the proto.h file. M getgroups.c M t_unsafe.c M tls.c M trimslash.c commit 459a83c9ccf8cd6a09dea756226246b15a292b28 Author: Wayne Davison Date: Wed Sep 10 08:08:14 2003 +0000 Make sure that the "path" value has any trailing slashes removed. M loadparm.c commit 6464bdbe13a5b26a39e119cf7f008d4cb10451c9 Author: Wayne Davison Date: Wed Sep 10 07:31:58 2003 +0000 Got rid of trailing whitespace. M loadparm.c commit 4f3e9a0fba90430698f6872c3e1d76f7fec6d788 Author: Wayne Davison Date: Tue Sep 9 15:58:56 2003 +0000 Added the new --protocol option. M options.c commit 8a9709dee5027238985c79ec7f429c95c577d423 Author: Wayne Davison Date: Tue Sep 9 15:58:53 2003 +0000 Changed most instances of "remote_version" to "protocol_version", and others to "remote_protocol". Downgrade the protocol_version if the remote_protocol" is lower. Output the protocol values if the verbose level is large enough. Exit if the user tried to force a protocol value that is not within the range that we can handle. Fixed the output of the "very old version of rsync" message to output the right Client/Server string. M compat.c commit daa598df119f67e96739a1bfcdf5d6ea75efee78 Author: Wayne Davison Date: Tue Sep 9 15:58:50 2003 +0000 Changed most instances of "remote_version" to "protocol_version", and others to "remote_protocol". Downgrade the protocol_version if the remote_protocol is lower. M clientserver.c commit d04e9c51b4bc8e0fc1c7065553dcd3ac73a0ae40 Author: Wayne Davison Date: Tue Sep 9 15:58:48 2003 +0000 Changed "remote_version" to "protocol_version". M checksum.c M exclude.c M flist.c M generator.c M lib/mdfour.c M main.c M receiver.c M sender.c commit d89a3a313ace4f2c8f743ad5f8fc8f181bf71633 Author: J.W. Schultz Date: Thu Sep 4 05:54:20 2003 +0000 *** empty log message *** M NEWS commit 350e4e4dec1f3126d5019a21225f75e75899aa43 Author: J.W. Schultz Date: Thu Sep 4 05:49:50 2003 +0000 Allow non-dir special files to be replaced with regular files and fix error that caused directories in link-dest or compare-dest to prevent the creation of files of same path. M receiver.c commit c95dcb3935ec8959385fdc5b5837d23b305b3bd5 Author: Wayne Davison Date: Fri Aug 22 21:26:08 2003 +0000 Cast various s->blength references inside of MIN() macros to OFF_T so that compilers don't warn about signed/unsigned comparisons. M match.c commit 1e4f48d6c470abb444d84c0850d16780560f2910 Author: Wayne Davison Date: Fri Aug 22 05:51:42 2003 +0000 Whitespace tweaks. M match.c commit fb55e28d83ab11c17b8932019362a8926598efcd Author: Wayne Davison Date: Fri Aug 22 05:42:13 2003 +0000 Fixed the multiplying of blength*blength so that it can't overflow before it gets cast to a uint64. M generator.c commit 067669dac74abfa2acaaef6b1d078d861814e100 Author: Wayne Davison Date: Fri Aug 22 05:04:13 2003 +0000 Made the UNUSED(parameter) macro calls read a little nicer. M main.c M socket.c commit 24c906d3f7f4db31884d4262ddf9824d91ff4a76 Author: Wayne Davison Date: Fri Aug 22 00:31:46 2003 +0000 Mark unused vars. M getgroups.c M t_stub.c commit 14820f635d47f0fce574f71353cc038e8021e4af Author: Wayne Davison Date: Fri Aug 22 00:30:46 2003 +0000 Make extra backup dirs mode 0700, not 0755. M backup.c commit 59192f5650565d9c6de0194863c6094621be1c93 Author: Wayne Davison Date: Thu Aug 21 23:54:20 2003 +0000 Got rid of a duplicate include for malloc.h and improved the "do we need malloc.h" logic a bit more. (Trying to prevent #warning and #error problems on *BSD systems.) M rsync.h commit 365346ca30a19526675e46d4f23ab29ac02774f3 Author: Wayne Davison Date: Thu Aug 21 23:46:10 2003 +0000 Got rid of signed/unsigned-comparison warning if st_rdev is signed. M generator.c commit d01350a8817864d93a0cba99fab49c6f7e80bba0 Author: Wayne Davison Date: Thu Aug 21 23:45:49 2003 +0000 Got rid of signed/unsigned-comparison warning if st_dev is signed. M receiver.c commit 38b02c13d0173fc4a1ee67d67ceefc7107eefdc0 Author: Wayne Davison Date: Thu Aug 21 23:32:35 2003 +0000 Let's try only including malloc.h if stdlib.h isn't around (and it exists). M rsync.h commit b017ec4e1342e9149384fecc44747d96b03f60cd Author: Wayne Davison Date: Thu Aug 21 23:28:24 2003 +0000 Silenced a couple compiler warnings. M zlib/inftrees.c commit 2c873122b371f7504e025e9676d6e6b9e9e6e9af Author: Wayne Davison Date: Wed Aug 20 23:36:45 2003 +0000 Mention some more bug fixes. M NEWS commit 6969ebcfcfa9382ce2a845e1b462d26de12c0c36 Author: Wayne Davison Date: Wed Aug 20 23:25:52 2003 +0000 Call setgroups(1, &gid) after setting the gid (rather than calling setgroups(0, NULL) before). M clientserver.c commit 1dbb94cadf99dd54d14ee748439a596f06eaa199 Author: Wayne Davison Date: Wed Aug 20 10:37:53 2003 +0000 Use the AVAIL_OUT_SIZE() macro in a few more places to ensure that the avail_out buffer is big enough to uncompress all the compressed data. M token.c commit 8a78bb963de8d5fc38ef1701ad6eb06750664249 Author: Wayne Davison Date: Mon Aug 18 23:52:43 2003 +0000 Fixed a couple option-name typos (that had '_' instead of '-'). M rsync.yo commit 6931c13800a3b3486a55c3060744a9a0b86d6c6e Author: Wayne Davison Date: Sun Aug 17 21:29:11 2003 +0000 - Made special exclusion-handling of '.' work in -R mode (so that we can't accidentally lose the '.' dir and not transfer anything at all). - Add a trailing '.' onto all '/'-trailing names, even '/' (fixes skipped deletions in -R mode from '/'). - Fixed loss of FLAG_DELETE on user-specified dir when unduplicating '.' (could happen on "./." or similar). M flist.c commit e6e3f12ffc8b5a77b18af9498a045a43a7d58928 Author: J.W. Schultz Date: Fri Aug 15 00:57:27 2003 +0000 Whitespace and indentation cleanup. There is a lot of deep indentation mostly due to read_batch but at least it is now consistant. M sender.c commit e2559dbedc3999482ebcaa66696cc4dffd5430fa Author: J.W. Schultz Date: Wed Aug 6 06:45:14 2003 +0000 Make --progress imply --verbose without incrementing verbosity. M options.c M rsync.yo commit 1f3d6cdd86a47dfe5553cfec1c4e953845dc7901 Author: Wayne Davison Date: Tue Aug 5 17:56:54 2003 +0000 Got rid of unused OPT_* enums. M options.c commit 4a7ee79d4d56ac4f268fe66087c8afd359423aa4 Author: Wayne Davison Date: Mon Aug 4 21:03:07 2003 +0000 Improved the mkstemp error message. M NEWS commit 0c2ef5f42dfb71f2af99e58cd9934fb365f079fb Author: Wayne Davison Date: Mon Aug 4 21:00:57 2003 +0000 Make sure that the error message for mkstemp() includes the full path of where we're trying to create the temp file. M receiver.c commit ca20c7fd625c27f540b0ae5be027cb51700c80e3 Author: Wayne Davison Date: Mon Aug 4 18:27:27 2003 +0000 Instead of ignoring SIG_CHLD, reap zombies in the signal handler. M socket.c commit 191e40da17f9139cb702c48a7d708a4563ccc0c2 Author: Wayne Davison Date: Fri Aug 1 20:19:51 2003 +0000 Change the way we pass the --suffix option to the remote process so that a string that starts with ~ doesn't get modified. M options.c commit 80ddadb7e8cf689baacfd5cd97edcb9d9540e77e Author: Wayne Davison Date: Fri Aug 1 19:40:31 2003 +0000 Complain if the --suffix value contains slashes (which is all too easy to accidentally have happen if you try to specify "~" with --backup-dir). M options.c commit 31f3b68a97eee6061e36c3a3fffb24786e9fb1a7 Author: Wayne Davison Date: Fri Aug 1 08:20:53 2003 +0000 We should bump the deletion_count for backed-up deleted files too. M receiver.c commit d594399c6a6eb30c2c7f88e56bc4235b529fb270 Author: Wayne Davison Date: Fri Aug 1 08:01:15 2003 +0000 Mention the --backup fix. M NEWS commit d74a2e3ed5e75d0b0c0be752c879eb537cd0f591 Author: Wayne Davison Date: Fri Aug 1 07:58:47 2003 +0000 Properly handle the backup_suffix/backup_dir settings when deleting files. Also optimized the code that calls delete_one(). Don't neglect to mention a file being deleted with --backup set. M receiver.c commit d175d7e13edad3c9676351160553de4957e5dfbc Author: Wayne Davison Date: Fri Aug 1 07:58:44 2003 +0000 Got rid of suffix_specified and instead set backup_suffix to the correct default value for the current backup_dir mode. Added two new values: backup_suffix_len and backup_dir_len. Improved some error-message code to not output duplicate errors. M options.c commit daa8ce838ba79378196c7e1380d2e16dedd8fef6 Author: Wayne Davison Date: Fri Aug 1 07:58:41 2003 +0000 Use the new backup_suffix_len and backup_dir_len variables. Got rid of the suffix_specified kludge. M backup.c commit b19fd07c023c3923979ba965e8f485433d7ecf18 Author: Wayne Davison Date: Fri Aug 1 00:50:23 2003 +0000 Clarify some --backup/--backup-dir/--suffix issues. M rsync.yo commit 47d6a60c2f4f891fb590a850adf7d48e829976b1 Author: J.W. Schultz Date: Thu Jul 31 09:32:15 2003 +0000 Whitespace and indentation fixes. M backup.c commit 980821ebab1462b371fa3663da4971868be7f15f Author: Wayne Davison Date: Wed Jul 30 06:13:47 2003 +0000 No longer needed (replaced by wildmatch). D lib/fnmatch.c D lib/fnmatch.h commit 592f4696dc0f9d8f8f79b39375ea047db6cefe85 Author: Wayne Davison Date: Wed Jul 30 06:12:41 2003 +0000 Updated the exclude/include section to mention the "**" vs "*" change. M NEWS commit 8a7846f97ebab2b91a6d3dd176695ad7f9d14486 Author: Wayne Davison Date: Wed Jul 30 06:12:33 2003 +0000 Changed the "**" description to reflect its no-longer-buggy behavior. M rsync.yo commit 87f18b6289cf676dc1f13794c11b77276762141b Author: Wayne Davison Date: Wed Jul 30 06:12:31 2003 +0000 Include "lib/wildmatch.h", not "lib/fnmatch.h" or . M rsync.h commit 28063ba5b2d0ba12dea3bf0be741d3874bbd70af Author: Wayne Davison Date: Wed Jul 30 06:12:29 2003 +0000 Got rid of test for fnmatch. M configure.in commit fe332038c6776f749b86fcdb81058fb7c244b037 Author: Wayne Davison Date: Wed Jul 30 06:12:27 2003 +0000 Call wildmatch(), not fnmatch(). M access.c M authenticate.c M exclude.c M token.c commit 3c0b1ebf78c850d7342f72abce4f39e335e4cdb8 Author: Wayne Davison Date: Wed Jul 30 06:12:25 2003 +0000 Changed lib/fnmatch.o to lib/wildmatch.o. M Makefile.in commit f2fe4903c9d8aae70c6d765debc9e65a6bf578ab Author: Wayne Davison Date: Sat Jul 26 18:13:38 2003 +0000 Made the list of exclude/include changes more prominent and clear. M NEWS commit 3151cbae8981925b942d94df2f2b41059927646c Author: Wayne Davison Date: Sat Jul 26 17:55:07 2003 +0000 Some superficial tweaks I made while reading through the io.c code. M io.c commit 3c30b9905932e39b170be8e0521370727f264635 Author: Wayne Davison Date: Mon Jul 14 15:46:34 2003 +0000 Added one more test. M wildtest.txt commit a7735ba0851046dc76bffec873460a262d80197b Author: Wayne Davison Date: Mon Jul 14 15:13:31 2003 +0000 Updated for latest character-class change. M wildtest.txt commit d811b689013fe469218dbcff3905ba5884fd9a6f Author: Wayne Davison Date: Mon Jul 14 15:12:59 2003 +0000 Make sure that no character class can match a '/'. M lib/wildmatch.c commit 1c8162a921cbae803b3bf375fda4aa7916bcfc68 Author: Wayne Davison Date: Tue Jul 8 16:54:53 2003 +0000 Optimized show_progress() to reduce the calls to gettimeofday() when am_server is set. No need to check do_progress here anymore, since we aren't called if do_progress isn't set. M progress.c commit 16417f8b9d1947f4efbe540ee6983feba2ebc21c Author: Wayne Davison Date: Tue Jul 8 16:49:10 2003 +0000 Only call show_progress() and end_progress() if do_progress is set. M match.c M receiver.c commit b49d381d05888f84adbd1aeccb1ff31c3b33134f Author: Wayne Davison Date: Mon Jul 7 19:37:58 2003 +0000 Changed "./0123456789" to just ".0123456789". M access.c commit 7da9a16d10eecddf695d00fbbf948e9b70bd7706 Author: Wayne Davison Date: Mon Jul 7 18:37:38 2003 +0000 I decided to go with the slightly simpler logic Thorild Selen suggested in a subsequent email. M access.c commit 32f60a6e7bec42f733a60eb10afa29a231f691b9 Author: Wayne Davison Date: Mon Jul 7 18:25:01 2003 +0000 Improved deficiencies in the hostname-vs-address check (reintroduced in the last revision) based on the suggestions of Thorild Selen. M access.c commit b7db0906614c3ef7033bf1f08407f152d00734bd Author: Wayne Davison Date: Mon Jul 7 07:28:02 2003 +0000 Commented-out a test that wasn't consistent across all platforms. M wildtest.txt commit 136c5c5ec3b3cc56d3952c3ce463f58615f00f8f Author: Wayne Davison Date: Mon Jul 7 07:22:08 2003 +0000 Silence some compiler warnings on HP-UX. M lib/wildmatch.c commit 85b80fbc734944d98c2f84122903964ab7412d20 Author: Wayne Davison Date: Mon Jul 7 07:10:40 2003 +0000 A few more tests. M wildtest.txt commit 16859cdbdcbf102f8573c5dc344f09b2817096bb Author: Wayne Davison Date: Mon Jul 7 07:08:24 2003 +0000 Improved the summary output to use correct English for all counts. M wildtest.c commit fc96552d26e1d5960bcd85fcba4e1631ba15042d Author: Wayne Davison Date: Mon Jul 7 07:07:16 2003 +0000 Don't treat "[:" as the start of a named set if there's no ":]". M lib/wildmatch.c commit 15bb997d0afd3d1e135f01844097a4a0fc933b5b Author: Wayne Davison Date: Sun Jul 6 18:54:08 2003 +0000 Added a few more items to the tests. M wildtest.txt commit b6b42c892ca754fa99a4fb44d78bab2910fc8b08 Author: Wayne Davison Date: Sun Jul 6 18:29:24 2003 +0000 Improve the format of the --iterations output. M wildtest.c commit 5bb920003e47827ac92fad082fc24f03d5edf3a3 Author: Wayne Davison Date: Sun Jul 6 18:26:34 2003 +0000 - Return ABORT_ALL for a syntax error in the pattern (not FALSE). - Abort if the [:class:] name is not known. M lib/wildmatch.c commit 37ff0e344d2d78b780eade33ec94d5659082f4e1 Author: Wayne Davison Date: Sun Jul 6 17:41:37 2003 +0000 Added match for new "no errors" line from wildtest. M testsuite/wildmatch.test commit 97d53f8c757d30584232e986cad3fa05b9f570f6 Author: Wayne Davison Date: Sun Jul 6 17:41:01 2003 +0000 Switch to using an input file so that backslashes are specified normally, and so that test additions and changes are easier. M wildtest.c A wildtest.txt commit f2ac84c36de02c5492efbc5e0ac600971ee05476 Author: Wayne Davison Date: Sun Jul 6 16:29:32 2003 +0000 Added some portability code for the ctype functions. M lib/wildmatch.c commit c21eeef5bcd736b027aa0840dd477a0f241f3be8 Author: Wayne Davison Date: Sun Jul 6 04:34:19 2003 +0000 Updated for latest wildmatch.c changes. M wildtest.c commit e11c42511903adc6d27cf1671cc76fa711ea37e5 Author: Wayne Davison Date: Sun Jul 6 04:33:54 2003 +0000 - Added [:class:] handling to the character-class code. - Use explicit unsigned characters for proper set checks. - Made the character-class code honor backslash escapes. - Accept '^' as a class-negation character in addition to '!'. M lib/wildmatch.c commit 84229c7ac9cce2af0be47636773f881eed88f6bc Author: Wayne Davison Date: Sat Jul 5 22:57:08 2003 +0000 We now figure out if diff accepts -u and we'll use it instead of -c, if possible. M testsuite/rsync.fns M testsuite/trimslash.test M testsuite/wildmatch.test commit c9a59880f0ddf58c700834fea80c08c39c27ccb3 Author: Wayne Davison Date: Sat Jul 5 22:40:27 2003 +0000 Simplified the character-class code a bit. M lib/wildmatch.c commit 9a17dddbc5b1cfd6ad83d20c4616c97614a83dde Author: Wayne Davison Date: Sat Jul 5 19:21:41 2003 +0000 Fixed the output of popt errors and changed our one option to be --iterations (-i). M wildtest.c commit 277d99e8c9a87fd5e48499fcb16e572444baecb1 Author: Wayne Davison Date: Sat Jul 5 19:14:10 2003 +0000 A wildtest change to handle someone using the included popt lib. M Makefile.in commit 2a1874cc825b26aee70f602a702e61960349675a Author: Wayne Davison Date: Sat Jul 5 19:06:49 2003 +0000 Added dependencies for wildtest.o. M Makefile.in commit d5c973ccb7da1bc87c5caa5d5ac594bc217016f7 Author: Wayne Davison Date: Sat Jul 5 19:03:42 2003 +0000 Changed some names since "depth" wasn't really the right term. M lib/wildmatch.c M wildtest.c commit 37f3ce61bbc464d6c95978590469e9c71f7b535f Author: Wayne Davison Date: Sat Jul 5 18:55:09 2003 +0000 Another change to the wildtest rule to make it more portable. M Makefile.in commit 076f60eed08bed31941b79d6d768d0d488e1176c Author: Wayne Davison Date: Sat Jul 5 18:49:38 2003 +0000 Added a --depth option to report recursion depth values. M wildtest.c commit 20b2e9cef70ef6ab6e28904a508569a86a5df7d0 Author: Wayne Davison Date: Sat Jul 5 18:48:34 2003 +0000 Improved the ABORT logic to allow aborting consecutive "*" wildcards back to a "**" wildcard. Added optional debug code for recursion stats. M lib/wildmatch.c commit e37d8229f5de9398b6823d0076818bc9409cccf2 Author: Wayne Davison Date: Sat Jul 5 18:46:02 2003 +0000 Changed the build rule for wildtest. M Makefile.in commit 710faea9a47ff9709f8536bc52b542270446a414 Author: Wayne Davison Date: Sat Jul 5 17:30:53 2003 +0000 Added in the ABORT optimization logic from a newer wildmat release, adapted for our code that distinguishes "**" from "*". M lib/wildmatch.c commit 70a6051cf12ffe4984f2ccb8147877c587cca564 Author: Wayne Davison Date: Sat Jul 5 07:39:57 2003 +0000 Restored an isdigit() check in the match_address() function, but check the last character in the hostname, not the first. M access.c commit 7a1f46b6ac5a33f1093727aa462b334de783df25 Author: Wayne Davison Date: Sat Jul 5 07:22:13 2003 +0000 A couple comment tweaks. M lib/wildmatch.c commit 7ca9250db01827ed80eabee1103212e2718a624a Author: Wayne Davison Date: Sat Jul 5 07:09:31 2003 +0000 Changed "diff -u" back to "diff -c" (for portability). M testsuite/rsync.fns M testsuite/trimslash.test M testsuite/wildmatch.test commit af7086c63f5f7b4a1a057e63165414ad99a610ce Author: Wayne Davison Date: Sat Jul 5 07:03:56 2003 +0000 Change most SAME-AS-FNMATCH "false" values to "true" (since we _should_ work the same as fnmatch in most cases, if fnmatch was actually working right). M wildtest.c commit 88085892776b5b99f3f4a427870d79f896c83622 Author: Wayne Davison Date: Sat Jul 5 06:56:16 2003 +0000 Get rid of a couple compiler warnings. M wildtest.c commit 6cd50960637fb16a0d0d64e23b42e8005bf469d6 Author: Wayne Davison Date: Sat Jul 5 06:53:41 2003 +0000 Don't define COMPARE_WITH_FNMATCH by default. M wildtest.c commit 677cd34acdada54f0ce14302d51ac285c0c4411c Author: Wayne Davison Date: Sat Jul 5 00:13:38 2003 +0000 Include lib/wildmatch.h directly for now (until we make rsync.h include it for us). M wildtest.c commit 08c5385e65f647b75bf853e06b668ea0a8660c56 Author: Wayne Davison Date: Sat Jul 5 00:08:11 2003 +0000 Test the new wildmatch() routine using the wildtest executable. A testsuite/wildmatch.test commit d7bf70f1965012eb578a28087fee1c309dea19e4 Author: Wayne Davison Date: Sat Jul 5 00:07:35 2003 +0000 Build "wildtest" for "make check". M Makefile.in commit 6f3cff41ddcd02639f37be98984c8c6f11ec8858 Author: Wayne Davison Date: Sat Jul 5 00:05:33 2003 +0000 Ignore "wildtest". M .cvsignore commit 5de45bcadc3182a5e9b5720ce63285995bf64a2f Author: Wayne Davison Date: Sat Jul 5 00:05:02 2003 +0000 A testbed to stress the new wildmatch() routine. A wildtest.c commit 446ee5b1105cbb419bcccf8c09ad3514d3d66037 Author: Wayne Davison Date: Sat Jul 5 00:03:36 2003 +0000 A new wildcard-matching routine to replace the fnmatch code. A lib/wildmatch.c A lib/wildmatch.h commit d3e6fd39108f68f75ca6cca39a787269865a5358 Author: Wayne Davison Date: Fri Jul 4 23:56:59 2003 +0000 Changed "diff -c" to "diff -u". M testsuite/rsync.fns M testsuite/trimslash.test commit 6813fa7eac1c7d1c26c43b3b62c53285a6364dbb Author: Wayne Davison Date: Fri Jul 4 15:36:39 2003 +0000 Attempting to fix the snprintf() conflict on a gcc-using HPUX 11.11. M lib/snprintf.c M rsync.h commit 0f5a04e3ffe2e959e8eab4d65ab99cd1ec1f4aef Author: Wayne Davison Date: Fri Jul 4 15:11:46 2003 +0000 Use "return" at the end of main() to silence some compilers. M main.c commit 8801138b474c9f8c233eabcbfe49b8e1ae95958e Author: Wayne Davison Date: Fri Jul 4 15:11:44 2003 +0000 Made rprintf() of size_t value portable. M generator.c M io.c commit 2473391971b10ab9fdec66714d25d2ba357a3ac8 Author: Wayne Davison Date: Fri Jul 4 07:47:09 2003 +0000 Improved upon my last patch to make it clearer and cleaner. M token.c commit 7d6879328a26775fd680fc8291246c69e1c1c43c Author: Wayne Davison Date: Thu Jul 3 18:33:53 2003 +0000 Changed the syntax of a comment. M flist.c commit 900454132e5328932ec309564bddb492f44bba8a Author: Wayne Davison Date: Thu Jul 3 17:41:08 2003 +0000 Mention the compression (-z) fix. M NEWS commit 92b8abfe807248a94eef1896f62f60a5f088bed6 Author: Wayne Davison Date: Thu Jul 3 17:38:12 2003 +0000 Fixed a problem where we might not have enough room to compress unsent tokens into the obuf in a single call. M token.c commit 52e628a8611eb94ea646554caa9489442b5a5be5 Author: Wayne Davison Date: Tue Jul 1 22:01:48 2003 +0000 Mention the exclude changes. M NEWS commit 4791825d49df3e0076692a8e9aa7d58f9ac15813 Author: Wayne Davison Date: Tue Jul 1 21:45:31 2003 +0000 Modified the glob_expand_one() function to check the args against the server's config-specified exclude list. This prevents the user from going around directory exclusions. Fixed push_dir() to not append "/." onto the end of the current path if it is called with "." as the "dir" arg. Made curr_dir[] exported so the exclude code can use it (for the daemon-config absolute-path excludes). M util.c commit d542c20c5fd636c6973b7bcbed6be2bedbed4bcd Author: Wayne Davison Date: Tue Jul 1 21:45:29 2003 +0000 New stubs to get the test setup to compile with the exclude changes. M t_stub.c commit 4762db4fc90e0bd0c04c9ba7c50123d378427fd0 Author: Wayne Davison Date: Tue Jul 1 21:45:27 2003 +0000 Added some defines for the various exclude-function arg literals. Added MATCHFLG_ABS_PATH flag for absolute-path patterns. M rsync.h commit 8645af1d8cf9ad3a543c5b499cbbb287d113522f Author: Wayne Davison Date: Tue Jul 1 21:45:23 2003 +0000 Changed add_exclude*() calls to use the revised arg syntax. M options.c commit 429f98283fd8aef3ed01041c637749d7c01899d6 Author: Wayne Davison Date: Tue Jul 1 21:45:18 2003 +0000 Modifications to handle the new server_exclude_list, and to use the revised calling syntax and new defines for the various exclude functions. M flist.c commit 5be7fa93fc1ba106411801029fcd06093fe9a23b Author: Wayne Davison Date: Tue Jul 1 21:45:16 2003 +0000 Made make_exclude() store anchored config-file excludes with the full path (clear to the root). Changed several functions to make the args more general (to support separated lists), more consistent, and easier to understand. M exclude.c commit 837cbad97f0ae1c6707e170005c036ee6658cb12 Author: Wayne Davison Date: Tue Jul 1 21:45:13 2003 +0000 We now put the excludes from the config file into a "server_exclude_list" using the revised add_exclude_line() arg syntax. M clientserver.c commit af1d91c562dba2491f31dc32ce35aa413c7b61da Author: Wayne Davison Date: Tue Jul 1 21:45:07 2003 +0000 Call make_file() using the revised arg syntax and new defines. M backup.c commit 908f5a9f9fe6d587e7b97e449a835ee51a85e8d8 Author: Martin Pool Date: Tue Jun 17 04:46:32 2003 +0000 Add a comment about using getpassphrase() or readpassphrase() rather than getpass(). No code change. M authenticate.c commit 9b74643315abc4a395d75931d355104d6fcc504f Author: J.W. Schultz Date: Tue Jun 10 00:21:34 2003 +0000 Credit where due. M NEWS commit 986066873e17c4152c2bc6e77fe9b83fb65132d9 Author: J.W. Schultz Date: Tue Jun 10 00:11:24 2003 +0000 Clarified EXCLUDE PATTERNS to enforce the relativity of paths. Replaced undefined "base dir" with a defined "top dir". M rsync.yo commit 9533e15a7996c5e01fff60a754c39d4fae5461f6 Author: J.W. Schultz Date: Thu May 22 23:24:44 2003 +0000 Changed write file to cope with partial writes by looping until complete or errno is set. (John Van Essen) M fileio.c commit 8dc74608a3dd156c7e86fa4e0c96b6700572d987 Author: Wayne Davison Date: Fri May 16 04:23:34 2003 +0000 Updated the long description for the --perms option. M rsync.yo commit 3e85237e5ff3de51f67e1a43ce4c1e0827b1bd37 Author: J.W. Schultz Date: Wed May 14 12:54:15 2003 +0000 Added AIX and OSX build workaround notes. M INSTALL commit 9d0523ef4c304c827bb2f631128addeb719012ab Author: Wayne Davison Date: Mon May 12 20:38:07 2003 +0000 Another MD4 fix for protocol 27 (from Christoph Bartelmus). M checksum.c commit 4a7144ee7e4cca2a28b484da1458ba89f022bb33 Author: Wayne Davison Date: Sat May 10 08:33:08 2003 +0000 Cleaned up whitespace/indentation. M clientserver.c commit c120ff37f549e50732948ee236d5680b1e7158e9 Author: Wayne Davison Date: Sat May 10 00:56:08 2003 +0000 Optimized away 3 calls to strcmp(). M flist.c commit 83fd337d8ec87e694b14253233f23d3c0d9dd626 Author: J.W. Schultz Date: Fri May 9 12:04:24 2003 +0000 Modified the (in|ex)clude [from] option descriptions to better highlight the non-equivalence with client-side --exclude. M rsyncd.conf.yo commit 707c1a3085cb11dcba2ad968e797429cd50208f0 Author: Jos Backus Date: Sun May 4 19:59:47 2003 +0000 Remove generated file config.log. D popt/config.log commit 8294b00c11cb4916817e01a2298bc0d5c154d98b Author: J.W. Schultz Date: Fri May 2 23:36:10 2003 +0000 Added --link-dest to the --help output. M options.c commit da2bcdd1c25dfb7f600a933dd3ad4c44f5fc5aed Author: Wayne Davison Date: Thu May 1 19:39:20 2003 +0000 Exclude/include bug fixes. M NEWS commit 093acc5dadb10f18ef4ede9e0d8c6b1827d1794a Author: Wayne Davison Date: Thu May 1 19:34:01 2003 +0000 Changed the expected results to match the new bug-fixed behavior. M testsuite/exclude.test commit fd73b94d312491fd3d9d3e38b820f8cb1c53f453 Author: Wayne Davison Date: Thu May 1 19:33:59 2003 +0000 Tweaked the exclude_struct for our improved matching code. M rsync.h commit 38499c1a49445e3a8d8224e303f2e34bf455f840 Author: Wayne Davison Date: Thu May 1 19:33:57 2003 +0000 Mention that a pattern with "**" is matched against the entire path, even if the pattern doesn't contain a slash. M rsync.yo commit 170381c0524611c671d68e1ac3c690f4b4811389 Author: Wayne Davison Date: Thu May 1 19:33:54 2003 +0000 Fixed some matching bugs; made the logic of the matching code a little clearer by using defined flags; added several comments; optimized the matching of an anchored literal string. M exclude.c commit 8113a033dd61d6cd0eb8b2b19de5d0be057a9421 Author: Wayne Davison Date: Thu Apr 24 16:26:53 2003 +0000 Mention the improved trailing-slash-in-destination handling. M NEWS commit 87cc45e136333407acc6463f6415df4979289f30 Author: Wayne Davison Date: Thu Apr 24 16:26:09 2003 +0000 Made my last change a little better. M main.c commit f6b8d591f77056e1b0bf103c28af4432d6332234 Author: Wayne Davison Date: Thu Apr 24 16:14:33 2003 +0000 If the user specifies a trailing slash on the destination, make sure that we treat it as a directory reference. M main.c commit d31c09c87255e53f0ec5c3f305de2969aaa2e1b4 Author: J.W. Schultz Date: Wed Apr 23 23:17:41 2003 +0000 Copy relative path caviat from --compare-dest to --link-dest. M rsync.yo commit 337a1a86a7594842d58d104c56b79a265ea617c4 Author: Wayne Davison Date: Wed Apr 23 02:15:59 2003 +0000 Changed one part of the exclude-test setup to test the --existing option. Also tweaked a few comment lines. M testsuite/exclude.test commit b7dc46c0f6d60cd7b37bbd94bca8bca6d0c1933c Author: Wayne Davison Date: Tue Apr 22 18:09:22 2003 +0000 Fixed a typo and added a couple clarifying phrases to the exclude descriptions. M rsync.yo commit ff57065957332d568aa2d1ea69c277e1fd983373 Author: Wayne Davison Date: Tue Apr 22 17:53:53 2003 +0000 Test various exclude/include patterns. A testsuite/exclude.test commit 0406a3a7a417066afec39466ca922e94d3cccb81 Author: Wayne Davison Date: Tue Apr 22 16:45:24 2003 +0000 Changed test_xfail to test_fail. M testsuite/duplicates.test commit bc3b5b255819230bda8ca80961a7bbaa38a43099 Author: Wayne Davison Date: Tue Apr 22 00:25:05 2003 +0000 Fixed a problem with the test code and enabled it (since rsync's duplicate-elimination code is now fixed). M testsuite/duplicates.test commit d1cce1dd9209f5fde2b58f798bf8eea8cf82f99f Author: J.W. Schultz Date: Mon Apr 21 08:44:25 2003 +0000 Make explicit that (in|ex)clude patterns are for relative paths and that the leading / is the equivalent of ^ in regex. M rsync.yo commit 7bb7058e8dd8ca9997bad0be2177f10a8d464a5a Author: Wayne Davison Date: Fri Apr 18 20:03:41 2003 +0000 Made a slight tweak to the previous --stats change. M main.c commit 727fa3688f72228ed23a1eea95de4cb31cb2a64d Author: Wayne Davison Date: Thu Apr 17 23:46:01 2003 +0000 Mention the change to the --stats output. M NEWS commit 577ab12ce5bed9cadd25aab34ced12d55f82f66d Author: Wayne Davison Date: Thu Apr 17 23:44:25 2003 +0000 Only display the malloc stats if we're at least double-verbose (and --stats was specified, of course). Also made the output of the short (2-line) transfer summary get prefixed with an empty line in all cases (not just with --stats). M main.c commit 0f2ac85576f9f2127beb8ba8294802fbfed12037 Author: Wayne Davison Date: Thu Apr 17 01:44:33 2003 +0000 Some whitespace/indentation cleanup. M exclude.c commit fab1f8898e4c58ea0d3303558e430001c8de0bd7 Author: J.W. Schultz Date: Fri Apr 11 03:15:53 2003 +0000 document bug fix for --link-dest and lack of -pgo. M NEWS commit f63d68be97da4df9b79a640331a911bc21cd23bd Author: restrict Date: Thu Apr 10 04:35:12 2003 +0000 (Really mbp) Test commit from restricted CVS account. No changes. commit 58665d23b425f697c5bb1ca99a411f1a9fd098b8 Author: Wayne Davison Date: Thu Apr 10 03:06:28 2003 +0000 Fixed a weird line corruption in the last check-in and tweaked the format to be the same as in older releases. M NEWS commit 195bd906a2bacbce7455405180bfecf60819a60d Author: J.W. Schultz Date: Thu Apr 10 02:04:58 2003 +0000 - Per-file dynamic block size is now sqrt(file length). - The per-file checksum size is determined according to an algorythm provided by Donovan Baarda which reduces the probability of rsync algorithm corrupting data and falling back using the whole md4 checksums. M NEWS M generator.c M options.c M rsync.h commit fc1ae6582fa5e199cc9c50dc2297297c1893955c Author: J.W. Schultz Date: Thu Apr 10 01:50:12 2003 +0000 - for protocol version >= 27, mdfour_tail() is called when the block size (including checksum_seed) is a multiple of 64. Previously it was not called, giving the wrong MD4 checksum. - for protocol version >= 27, a 64 bit bit counter is used in mdfour.c as required by the RFC. Previously only a 32 bit bit counter was used, causing incorrect MD4 file checksums for file sizes >= 512MB - 4. -- Craig Barratt M checksum.c M lib/mdfour.c M lib/mdfour.h commit fc0257c9fd26fd6efb1ac166b505f05794c155b0 Author: J.W. Schultz Date: Thu Apr 10 01:13:30 2003 +0000 Now support dynamic per-file checksum2 size. This pushes protocol version to 27 M generator.c M match.c M receiver.c M rsync.h M sender.c commit 91c4da3fda9862fa95d4aaea0a328a827e93073b Author: J.W. Schultz Date: Thu Apr 10 00:13:48 2003 +0000 versions prior to 1.7.0 (protcol version 17) cannot talk to protocol versions > 20 so bumping up the minimum protocol version and excising the pre-17 cruft. M OLDNEWS M flist.c M io.c M rsync.h commit 990ff150efe782b1f85af0c3b903f4e50e1757be Author: Paul Green Date: Wed Apr 9 21:10:18 2003 +0000 Fix bug reported by engard.ferenc at innomed.hu whereby using the %f format in sprintf with a value like 0.025 produced 0.250. We were dropping the leading zeros before the fractional digits. M lib/snprintf.c commit e72b18a9bd9f89847e49e87c1159c74d7bf0fbf3 Author: J.W. Schultz Date: Tue Apr 1 03:44:50 2003 +0000 Remove tempname length problem and files-from from TODO. M TODO commit bc63ae3f13e01874e375bb5cc606775889ed5afa Author: J.W. Schultz Date: Mon Mar 31 17:28:34 2003 +0000 Removing vestigial support for protocol versions prior to 15. M checksum.c M compat.c M flist.c M generator.c M match.c M receiver.c M sender.c commit 6e12886393ffd34f78e7bdffe6896b4b0da6ceaf Author: J.W. Schultz Date: Mon Mar 31 08:09:41 2003 +0000 Logic error in preserve_perms + link_dest M generator.c commit b5ca91ae4b6a17be84c3e2cd9658bd9e668b1d2b Author: Wayne Davison Date: Sun Mar 30 23:19:22 2003 +0000 Fixed a typo. M NEWS commit 89855e78ab449a66d09b0b17e22dba0cfbcadef7 Author: Wayne Davison Date: Sun Mar 30 23:15:01 2003 +0000 Started a new section for the next release. M NEWS commit e106de49c83ec70eb8c8bf4c92fd493757847e04 Author: Wayne Davison Date: Sun Mar 30 23:00:51 2003 +0000 Tweaked the O_BINARY code to the latest idiom. M syscall.c commit afbcc8f21649b825b6410bd854026fad7240768b Author: Wayne Davison Date: Sun Mar 30 23:00:49 2003 +0000 Define O_BINARY as "0" if it isn't defined. M rsync.h commit f177b7cca2c359dda4589c93ed52d46f12ac9e4d Author: Wayne Davison Date: Sun Mar 30 23:00:47 2003 +0000 Documented --files-from, --no-relative, --no-implied-dirs, and --from0. M rsync.yo commit ea5164d18118edc0d980795bfa760e5384c8d286 Author: Wayne Davison Date: Sun Mar 30 23:00:42 2003 +0000 Support the new --files-from, --no-relative, --no-implied-dirs, and --from0 options. Moved the find_colon() routine here from main.c. M options.c commit ccdff3ebbf44fc386fc146cf34530d4b95e28bc2 Author: Wayne Davison Date: Sun Mar 30 23:00:40 2003 +0000 Open the file in BINARY fd mode, handle the normal line-ending characters better than before, and add support for the new --from0 option (which changes the line separator to a null). M exclude.c commit 24d0fcde7fd14c99ffdfc9275f0cb83ff16a6070 Author: Wayne Davison Date: Sun Mar 30 23:00:37 2003 +0000 Support the new --files-from and --no-implied-dirs options. M flist.c commit 56014c8c0ab087e42e227f29f9c53fcdc07d2b03 Author: Wayne Davison Date: Sun Mar 30 23:00:35 2003 +0000 Support the new --files-from and --from0 options. M io.c commit 7c2a9e766c0e162773b291b916521297f24d57c4 Author: Wayne Davison Date: Sun Mar 30 23:00:33 2003 +0000 Support the new --files-from option. M clientserver.c M main.c M pipe.c commit bb24028f51bac18097e688c1459924f648bc407e Author: J.W. Schultz Date: Wed Mar 26 20:26:06 2003 +0000 Make link-dest aware of --perms, --owner and --group. ---- Chris Darroch M generator.c commit 52d3e10613fe75f02bebf30d66a768c815a40aae Author: J.W. Schultz Date: Wed Mar 26 11:04:14 2003 +0000 Prevent tempfile names from overflowing. Debian BUG# 183667 M receiver.c M rsync.h commit 67863f46e3edda302c8015f06de6e465b84597ab Author: J.W. Schultz Date: Tue Mar 25 07:13:40 2003 +0000 Warn if 64bit value sent or received on system that doesn't support 64bit integers. M io.c commit 9c28e5262862876095648711ca2660c68b40a9b9 Author: J.W. Schultz Date: Tue Mar 25 05:46:52 2003 +0000 Seperate the uint64_t macros from int64_t M rsync.h commit 1b2f167546709a64400fc51309e457468ace773a Author: J.W. Schultz Date: Tue Mar 25 04:18:10 2003 +0000 Frustration mounting. I'll get it right eventually. Thank goodness for the build farm. M rsync.h commit 702d0c45299152953e25827418a2e584c9c73731 Author: J.W. Schultz Date: Tue Mar 25 04:09:43 2003 +0000 earlier problem was a typo. M rsync.h commit 51106bafc6916a3054bc2b8c21f414acb8f46f35 Author: J.W. Schultz Date: Tue Mar 25 03:14:27 2003 +0000 Another stab at uint64 because some platforms seem to have problem with the unsigned off64_t M rsync.h commit 42d4edc06740cab0cc2daec74c23aff3834534dc Author: J.W. Schultz Date: Tue Mar 25 02:28:54 2003 +0000 removed log_transfer() It was no more than a conditional rprintf() with an unused param. M log.c M receiver.c M sender.c commit fbc0bc4d53b6cffeaa17d96d18f2e87544cc3156 Author: J.W. Schultz Date: Tue Mar 25 02:02:22 2003 +0000 Create uint64 for INO64_T and DEV64_T eliminating type mismatches. M rsync.h commit 1b2db7aecbaa21ab0ea04cce020ac0827aa2d230 Author: J.W. Schultz Date: Mon Mar 24 22:42:46 2003 +0000 Increased maximum protocol version. Added warning for deprecated protocol versions. M compat.c M rsync.h commit 1ce29566e7c7902e3cc0d8422242e6c6be3dbf85 Author: J.W. Schultz Date: Mon Mar 24 22:32:47 2003 +0000 Minor correction to protocol annotation. M OLDNEWS commit 3742bf3ac39cc8a48c53636abd5f07a36f9b479e Author: J.W. Schultz Date: Mon Mar 24 22:13:16 2003 +0000 Annotated each release with protocol version and added protocol version history from rsync.h log. M NEWS M OLDNEWS commit 18d6b679af4572c7559b3a6e1d4dae0c49236b3b Author: Wayne Davison Date: Fri Mar 21 23:43:50 2003 +0000 The close_all() function was missing its "void" prototype. M cleanup.c commit dbda5fbf060a0633b91f65bd3b84355ac4dd8967 Author: Wayne Davison Date: Fri Mar 21 22:53:46 2003 +0000 Get rid of eol whitespace. M flist.c commit 2154309a544dd5af50623e07e9b2f766ef93a159 Author: Wayne Davison Date: Fri Mar 21 22:10:44 2003 +0000 Optimized the implied-directory code to avoid putting so many duplicate dirs into the file list. M flist.c commit afb6e9450d714f78d16ff7129baab0e0dfbbb075 Author: Wayne Davison Date: Fri Mar 21 19:17:23 2003 +0000 - Use popt to better effect for the two options that can be both set and unset by the user. - Even more whitespace cleanup. M options.c commit dfa32483808be6b760243f8e7cbdf64f1bb3f13d Author: Wayne Davison Date: Fri Mar 21 18:58:50 2003 +0000 - Simplified the whole-file option handling. - Fixed some whitespace issues. M options.c commit 2cda2560883268627b997daee6d0c677093b26d2 Author: Wayne Davison Date: Fri Mar 21 18:53:00 2003 +0000 - Simplified the whole-file option handling. - Cleaned up some whitespace issues. M generator.c commit d9c7edf63f9da2d30dced5629734551dc874e47a Author: Wayne Davison Date: Fri Mar 21 18:33:48 2003 +0000 - Fixed lots of line-indentation problems, including a really huge section of non-batch-mode code that was indented at the same level as its surrounding "if" statement. - Moved the heavily-used am_* flags into global extern vars instead of externing them again and again in individual functions. - Got rid of line-ending whitespace. M main.c commit a15134394376f4b16341b62c2fd18f7857ea0611 Author: J.W. Schultz Date: Fri Mar 21 07:42:19 2003 +0000 Cleanup: Added header files to dependancies. M Makefile.in commit 85ed0aa396cef83125e27f69e6d40a5917aa00e1 Author: J.W. Schultz Date: Fri Mar 21 07:27:31 2003 +0000 Typo corrections. Thanks to Paul Slootman M generator.c M receiver.c commit 3019f95f37b5749a1e4f50d2d70f03b05726fbed Author: J.W. Schultz Date: Fri Mar 21 04:39:11 2003 +0000 Removing --csum-length option documentation since there is no such option. M rsync.yo commit 5702bc12b3f385bca0906328bf9f0292e4c301e3 Author: Paul Green Date: Wed Feb 19 16:22:50 2003 +0000 Apply patch from Steve Bonds to repair this test. M testsuite/ssh-basic.test commit b0d791bb3525ce8d2f3f5af9a1606a0049c6bf7c Author: Paul Green Date: Tue Feb 18 18:07:36 2003 +0000 Patch from Roderick Schertler (roderick at argon.org) to ignore non-POSIX directory mode bits that are used by AIX. M rsync.c M rsync.h commit 3903928ca0885614d01e6d5a7561a0e999bbadf3 Author: Paul Green Date: Tue Feb 18 16:50:25 2003 +0000 Remove RedHat-specific .spec files in favor of the .spec files maintained under packaging/lsb. M INSTALL D packaging/redhat/5.0/rsync.spec D packaging/redhat/5.0/rsync.spec.tmpl D packaging/redhat/7.1/rsync.spec D packaging/redhat/7.1/rsync.spec.tmpl commit 827c37f63199992002dc3275bb17afee6bad47b0 Author: Wayne Davison Date: Wed Feb 12 09:15:23 2003 +0000 The sender no longer removes the duplicate names from the file list -- we let the receiver do that, since they are the one that requests names and we want to be sure the sender has any name the receiver may ask for. M flist.c commit b45b059a3dcfcf835a8925c23240a3a49311ca44 Author: David Dykstra Date: Tue Feb 11 19:13:51 2003 +0000 Back out one of the changes in log.c revision 1.62, and always send errors to the client after multiplexing is enabled. M log.c commit f39281ae565f489251981e193dc54b2a40920dea Author: Paul Green Date: Mon Feb 10 14:51:09 2003 +0000 Patch from jw schultz to reword "link" to "connection" in a couple of spots. M rsync.yo M rsyncd.conf.yo commit e2bea9eb8dc1fbdaab9b3cd599f5f092df6465ef Author: Paul Green Date: Wed Feb 5 18:41:53 2003 +0000 Update packaging spec files per patch submitted by Horst von Brand. In the future, we need to be sure to keep *.spec and *.spec.tmpl identical...the release macro produces *.spec from *.spec.tmpl. M INSTALL M packaging/lsb/rsync.spec M packaging/lsb/rsync.spec.tmpl M packaging/redhat/5.0/rsync.spec M packaging/redhat/5.0/rsync.spec.tmpl M packaging/redhat/7.1/rsync.spec M packaging/redhat/7.1/rsync.spec.tmpl commit 931a979904a17a28af6265b60a088824edb78fa7 Author: Paul Green Date: Wed Jan 29 21:04:28 2003 +0000 Restored changes accidentally backed out by Dave Dykstra in previous revision. M packaging/redhat/7.1/rsync.spec commit 3fccfafd3090de3900efe02965049a3e4030d9ba Author: Paul Green Date: Wed Jan 29 20:52:59 2003 +0000 Apply fix from Horst von Brand. See comments in rsync.spec. M packaging/lsb/rsync.spec commit 7a6fd4c1c735b24aa7e6fb90e9e77c730ba831c9 Author: David Dykstra Date: Tue Jan 28 05:28:42 2003 +0000 preparing for release of 2.5.6 M configure.in M packaging/lsb/rsync.spec M packaging/redhat/5.0/rsync.spec M packaging/redhat/7.1/rsync.spec commit 8395d246169387a2ffc767e7135acc9f2b00f34a Author: David Dykstra Date: Tue Jan 28 05:13:16 2003 +0000 Add header for 2.5.6 release. M NEWS commit 7d085960ebf15e6a34e8cf49b47b1f09563a702b Author: David Dykstra Date: Tue Jan 28 05:05:53 2003 +0000 Remove the Cygwin msleep(100) before the generator kills the receiver, because it caused the testsuite/unsafe-links test to hang. M NEWS M configure.in M main.c commit 38843171817eda292ad3f35de463ed2cb04689ef Author: David Dykstra Date: Tue Jan 28 03:11:57 2003 +0000 Change the default of --modify-window back to 0 on Cygwin. M NEWS M configure.in M options.c M rsync.yo M testsuite/rsync.fns commit 089a2435f83439a7eb68a539fd99d39b220df120 Author: David Dykstra Date: Tue Jan 28 03:03:55 2003 +0000 Ack! I had accidentally ifdefed out the kill from the generator to the receiver process for every platform except Cygwin. M main.c commit 8ed16deb249535905b947496290e19344e93ea41 Author: David Dykstra Date: Tue Jan 28 02:51:03 2003 +0000 Change so the delay before generator signals receiver is only done on Cygwin. M NEWS M configure.in M main.c commit a577af90678fa1b7b8b56666d6587fd7d6f145fe Author: Paul Green Date: Mon Jan 27 16:33:47 2003 +0000 Added a TODO item about temporary file names bumping up against the maximum name length. (I have an unfinished patch that will address this). M TODO commit 59af13651b56a5958dadf9949cb7388abf4ffce7 Author: David Dykstra Date: Mon Jan 27 04:41:30 2003 +0000 Move the sleep to workaround the default modify-window of 1 on Cygwin to the beginning of "checkit" rather than the end of "hands_setup" because sometimes files are modified just before checkit is called and the copy finishes within one second so they're considered to be the same time. I don't think this would be a problem in real life, so just change the test. M testsuite/rsync.fns commit 787568f3719e0f80881fdf2124e11dc97c827ec4 Author: David Dykstra Date: Mon Jan 27 03:52:42 2003 +0000 Insert a 100ms sleep just before sending the USR2 signal to the child receiver process to prevent some hangs on Cygwin. Anthony Heading discovered the workaround first and suggested 30ms, and Greger Cronquist had better luck with 100ms. M NEWS M main.c commit f0019fc506808d19233aa712216c8de72bd0a2f6 Author: David Dykstra Date: Mon Jan 27 03:36:54 2003 +0000 Remove the "Connection reset by peer" from TODO M TODO commit 9f639210ca71c548b76d311d826899ed36f98372 Author: David Dykstra Date: Mon Jan 27 03:35:08 2003 +0000 Prevent the "Connection reset by peer" messages often seen from Cygwin. Result of a lot of discussion over the last year and a half. Based on a patch from Randy O'Meara, cleaned up a bit by Max Bowsher. M NEWS M cleanup.c M configure.in M socket.c commit deec574421aea793cc2093e676adc798989181fa Author: David Dykstra Date: Mon Jan 27 03:13:46 2003 +0000 Update date on man page. M rsync.yo commit 04657e42d5f8b0cfcb3bd999b47ea4af46ab483e Author: David Dykstra Date: Mon Jan 27 03:07:18 2003 +0000 Update rsyncd.conf documentation to be right for rsync server mode over a remote shell. M rsyncd.conf.yo commit 1b88775534af35dc199b53d666c0a5442e5269c7 Author: David Dykstra Date: Mon Jan 27 02:48:14 2003 +0000 Change erroneous references to a --config-file option to the correct --config option. M rsync.yo commit 7f6537557d24a20698300651cca5e1c75efc5746 Author: David Dykstra Date: Sun Jan 26 20:49:24 2003 +0000 Change news item about handling of text mode in files to just permitting any of the standard line termination styles. M NEWS commit 518233ca7996e0e41be811a2c87ca8b2c6d456d1 Author: Wayne Davison Date: Sun Jan 26 20:11:16 2003 +0000 Got rid of recent O_TEXT* and O_BINARY* changes. M rsync.h commit bc72130d71b534516ab7839ca6223b15d392bf5c Author: Wayne Davison Date: Sun Jan 26 20:10:23 2003 +0000 Got rid of O_TEXT_STR and added code to strip '\r' from the end of the lines we read. M exclude.c commit 855decd3a78cc20168159ade565b184ff8d6f649 Author: Wayne Davison Date: Sun Jan 26 20:09:02 2003 +0000 Added back the O_BINARY #ifdef. M syscall.c commit 0090cbdba6451b446ae68af92e8b526cdf066f39 Author: Wayne Davison Date: Sun Jan 26 20:07:55 2003 +0000 Got rid of O_TEXT_STR change. M clientserver.c M params.c commit 73ff720972770e097bf9c42100f7bd990bc19186 Author: Wayne Davison Date: Sun Jan 26 19:37:54 2003 +0000 File I/O already handles '\r', so we can remove the O_TEXT flags. M authenticate.c commit c561e1378d4f73dd7beda897b6f6d98153fd4f1e Author: David Dykstra Date: Sun Jan 26 04:04:47 2003 +0000 Remove a couple items I know are no longer needed. M TODO commit aa2c47d83558ebb5def69d6c2fa2d6fe70b49db0 Author: David Dykstra Date: Sun Jan 26 03:53:34 2003 +0000 Better fix for infinite recursion; don't return from exit_cleanup unless the nesting is already pretty deep, because there are normal cases where exit_cleanup is nested shallowly. Patch from Marc Espie, posted by Brian Poole. M NEWS M cleanup.c commit 536b84680b4ab1f29fa456b4fa7b5b16eff4af8f Author: David Dykstra Date: Sun Jan 26 03:46:54 2003 +0000 Open config files in text mode when O_TEXT is defined. This helps on Cygwin when the config files are on a filesystem that is mounted in binary mode. Patch from Ville Herva. M NEWS M authenticate.c M clientserver.c M exclude.c M params.c M rsync.h M syscall.c commit 7508b795bf32de44aa550500d56b3935df5c33a7 Author: David Dykstra Date: Sun Jan 26 03:34:19 2003 +0000 Tests that use hands_setup to make a test file directory and right afterward make a copy were failing on cygwin because the default --modify-windows now 1 on Cygwin. Adding a 2 second sleep at the end of hands_setup so that hopefully the tests will succeed because the copy will be made more than 1 second away from the original. M testsuite/rsync.fns commit 76ee1d18bf93aee2022f0c294baf6fd674cff1a4 Author: Wayne Davison Date: Sat Jan 25 03:46:57 2003 +0000 Don't try to run daemon tests as "nobody". M testsuite/rsync.fns commit 379bc86547813b148739d66ed3c70d1ca256ff98 Author: Wayne Davison Date: Sat Jan 25 03:45:40 2003 +0000 Getting rid of recent "chown" since we decided to forego trying to run the daemon tests as "nobody". M testsuite/daemon-gzip-upload.test commit 066696644f8fa36f5ca3be116d015ded400266de Author: David Dykstra Date: Fri Jan 24 22:07:22 2003 +0000 Change default of --modify-window on Cygwin from 2 to 1 because that's all 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. M NEWS M configure.in commit 755bcd3722dcf55847c56c9a3d9083733e889835 Author: Paul Green Date: Thu Jan 23 17:18:20 2003 +0000 Restore trailing newline character at the end of the file. M NEWS commit 1985aa96665000b3226bd981fa86c41eece972a2 Author: Paul Green Date: Wed Jan 22 22:59:35 2003 +0000 Mentioned the fact that config.sub and config.guess got updated. M NEWS commit f4663a36da2990bbb6126ee7a957e7d2fe7cf364 Author: Paul Green Date: Wed Jan 22 22:24:53 2003 +0000 Updated config.sub and config.guess to latest revision. M config.guess M config.sub commit 521e6fdcfce0a5856ba0349ddcd2db98f8d9d93d Author: Wayne Davison Date: Tue Jan 21 20:25:44 2003 +0000 Mention test-case fixes. M NEWS commit 61ab574e386e623e012e2dc3afb1e0476c12ccf5 Author: Wayne Davison Date: Tue Jan 21 20:19:53 2003 +0000 Moved the chown from the download test to the upload test. M testsuite/daemon-gzip-download.test commit 660cb6a08567b62abe815e5896c0275ee3c00fb4 Author: Wayne Davison Date: Tue Jan 21 20:19:53 2003 +0000 Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we can, and don't fail if we can't). M testsuite/daemon-gzip-upload.test commit 4274208833454bba0c5b88da919613eef8c58600 Author: Wayne Davison Date: Tue Jan 21 19:30:51 2003 +0000 Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we can, and don't fail if we can't). M testsuite/daemon-gzip-download.test commit 34db05b4215009a1b9864df13ea3b62a6b9c5527 Author: Wayne Davison Date: Tue Jan 21 19:28:29 2003 +0000 Put the UID and GID that rsyncd will run as into variables. M testsuite/rsync.fns commit 1657be22a3bf3d0978100e81aa292128dc04a573 Author: Wayne Davison Date: Tue Jan 21 19:27:11 2003 +0000 Separated a `cat "..."` command out from inside a double-quoted string so that we don't run afoul of some shells quoting quirks. (As Brian Poole suggested.) M runtests.sh commit 3636b9ffaa0b3cbd1a67363da981b9851a11144f Author: David Dykstra Date: Tue Jan 21 14:22:49 2003 +0000 Change the name on the --modify-window default for Cygwin to Lapo Luchini. M NEWS commit e3cd2645713371a639bcde99d41a84974ebae15e Author: David Dykstra Date: Tue Jan 21 04:23:43 2003 +0000 Change version to working version 2.5.6pre3cvs M configure.in commit 69555b094388ef9ef18a72b0bfdd6deb45fa229d Author: David Dykstra Date: Tue Jan 21 04:00:56 2003 +0000 Change version to 2.5.6pre2 M configure.in commit 522c05cf9a0cbb9b8f25ce7a49e9d1a3323e40da Author: Wayne Davison Date: Tue Jan 21 01:35:23 2003 +0000 Declare preserve_perms for latest syscall.o. M t_unsafe.c M tls.c M trimslash.c commit f0b4fdaf5e542135b6f1d5694550208cbd6fe9ec Author: David Dykstra Date: Tue Jan 21 00:58:50 2003 +0000 Ignore errors from chmod when --preserve-perms/-p/-a are not set. Gnu cp behaves the same way. M NEWS M syscall.c commit ac6ce983752fcf749ee9aa4da88271a47ebbab3a Author: Wayne Davison Date: Mon Jan 20 23:49:22 2003 +0000 Added a couple missing NEWS items. M NEWS commit 1b3cadaa39db9871d8fd4a82ec50608ebb2708af Author: David Dykstra Date: Mon Jan 20 23:32:17 2003 +0000 Re-activate the piece of code that creates intervening directories when --relative-paths is used. The code was accidentally skipped starting in CVS version 1.32 of receiver.c. Noticed by Craig Barratt. M NEWS M receiver.c commit 61ca7d596c3aeb8482f0152d7123098aebaaaeb5 Author: David Dykstra Date: Mon Jan 20 23:10:22 2003 +0000 Update description of hosts allow for IPv6. From Bert Vermeulen. M rsyncd.conf.yo commit 688d573295be34cd7c78487b02c7b5c092c75776 Author: David Dykstra Date: Mon Jan 20 23:09:24 2003 +0000 Make the default for --modify-window be 2 on cygwin. M NEWS M configure.in M options.c commit ec6e0bf0c0339004044b43292986577e64f0d4f2 Author: Wayne Davison Date: Mon Jan 20 18:26:14 2003 +0000 Backed out Paul Green's IRIX patch since it didn't seem to be a part of the Makefile fix and I like the old EXE syntax better. M Makefile.in commit 184dede92f014cb5cbef1ddabcb2caec30895d40 Author: David Dykstra Date: Mon Jan 20 17:25:26 2003 +0000 Save the value of the test for getaddrinfo defines in the config cache. M configure.in commit d2cc0323fbda983c13e1aa303e7bdc91911265dc Author: David Dykstra Date: Mon Jan 20 16:59:18 2003 +0000 Also need to include lib/getnameinfo when the getaddrinfo defines don't exist. M configure.in commit 3a1eefd331eb08c306f3d31a892be4e2eb01e58b Author: David Dykstra Date: Mon Jan 20 16:27:34 2003 +0000 Oops, lib/getaddrinfo wasn't pulled in when the system doesn't define AI_PASSIVE. M configure.in commit 824f1c79441adfcf081304901a23ef060614500a Author: David Dykstra Date: Mon Jan 20 15:04:16 2003 +0000 Only look for a system getaddrinfo/getnameinfo if AI_PASSIVE is defined by system headers. This fixes compile errors on Irix 6.5. M configure.in commit 7bc8218d814a9014536685e0e544aa7fd06b9868 Author: David Dykstra Date: Mon Jan 20 13:46:28 2003 +0000 Fix bug that causes messages like rsync: stack overflow in function match_address on openbsd. Patch from Brian Poole . M access.c commit a405cda63cafc6619cf2dcfd46a4cedceb16130c Author: David Dykstra Date: Mon Jan 20 12:42:42 2003 +0000 Add unsafe-byname tests with symlink destinations ending in '..'. M testsuite/unsafe-byname.test commit 7afa3a4a487951d0da12692f73dff6162160193c Author: Wayne Davison Date: Sun Jan 19 21:37:11 2003 +0000 Optimized unsafe_symlink() to avoid malloc/free calls. M util.c commit c80b3d8c3f918d29d5df36d86698b6a9b37f9e7f Author: Wayne Davison Date: Sun Jan 19 05:53:07 2003 +0000 Added "extern" to io_{read,write}_phase line (they were being multiply defined). M rsync.h commit ef6122c6229001f8d0ba001824dce49ff6a05008 Author: Wayne Davison Date: Sat Jan 18 19:11:55 2003 +0000 Got rid of trailing whitespace and tweaked a few things that might possibly be affecting the IRIX build (but probably not). M Makefile.in commit 75fb17b891da5568773ee741ca5266edebe268c2 Author: Wayne Davison Date: Sat Jan 18 19:00:07 2003 +0000 Define DBL_EPSILON if it doesn't exist. M popt/popt.c commit 2abbf2498fd470f91270c2c75a63fe578915f10f Author: Wayne Davison Date: Sat Jan 18 18:52:50 2003 +0000 Trying out Paul Green's IRIX patch to see if it fixes the syntax error in the Makefile. M Makefile.in commit b91b50c01f5e9cda4b502722ffc6ab61b4804154 Author: Wayne Davison Date: Sat Jan 18 18:00:23 2003 +0000 Fixed the bug in clean_flist() where it did not get rid of all duplicate names if there were more than 2 identical names in a row. M flist.c commit 06891710f23069b405b81756790cf208ef6ab673 Author: David Dykstra Date: Thu Jan 16 21:02:43 2003 +0000 Change rsync help for -a to show that it is equivalent to -rlptgoD. I've had to go to the man page many times for that information and I finally got sick of it. M options.c M rsync.yo commit b765ec32b93d8fa78f19a48fbc7cc9066beb488e Author: David Dykstra Date: Thu Jan 16 20:09:31 2003 +0000 Prevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov. M NEWS M cleanup.c commit a70d070cc52c177bd974e6787788f946be9cb285 Author: Wayne Davison Date: Wed Jan 15 17:49:44 2003 +0000 Make unsafe_symlink() take const args so that we don't get any compiler warnings when calling it with a const char *. M util.c commit 1f1fbe187e2727566e84598f1d94412799c18653 Author: David Dykstra Date: Wed Jan 15 16:41:51 2003 +0000 Add news item about fix of --copy-unsafe-links M NEWS commit fc63847406c5e99669ce11047d6cc01b837b57ae Author: David Dykstra Date: Wed Jan 15 16:14:07 2003 +0000 Fix bug in --copy-unsafe that made it totally broken, and re-enable the tests that tested it. As far as I can tell, it was always broken since the day I put it in years ago. In my investigation into this I was unable to figure out what in the world I was thinking back then, to introduce a global variable with the wrong information in it rather than using a parameter that was already available in readlink_stat function. That still bothers me a bit but I decided to stop worrying about it. M flist.c M testsuite/unsafe-byname.test M testsuite/unsafe-links.test commit f58677d123775cf4e20ef3317183e083f04a9bb7 Author: David Dykstra Date: Tue Jan 14 21:37:08 2003 +0000 Don't use the return value from sprintf because it doesn't work on Sunos4. M popt/popthelp.c commit 7ab153886163714065519275c275200a3cbca230 Author: David Dykstra Date: Mon Jan 13 17:21:12 2003 +0000 Now that the 2.5.6pre1 snapshot has been made, change the version to 2.5.6pre2cvs. M configure.in commit 7ad0f94de99a9ff0e7807b110838b0dd23a53df0 Author: David Dykstra Date: Mon Jan 13 16:40:15 2003 +0000 Change version to 2.5.6pre1 M configure.in commit 8af534a52c433c9302f62dc23c7767d53456db81 Author: Wayne Davison Date: Sun Jan 12 22:45:47 2003 +0000 Changed the alloca warning message. M configure.in commit 7447419266981a80c4191403df3b84b5b3467f90 Author: Wayne Davison Date: Sun Jan 12 21:49:44 2003 +0000 Use the old kludge of using malloc() if alloca() is missing. M popt/system.h commit 5216de37a4325207f1d2d3a613f2dcd20d63679e Author: David Dykstra Date: Sun Jan 12 04:02:25 2003 +0000 Reduced the severity of the warning about missing alloca to a warning, and changed the test to the common form of prefixing an x to both sides of an equivalence because it didn't even notice a problem on the cray when it was instead using test -n. Also noticed an error in the test for ANSI c, doing a "$xac..." = xno" when it should have been "x$ac..." = xno, so I fixed that too. M configure.in commit ccc0d1eb1dda5fab0e021f7e82ac272535e56e2f Author: David Dykstra Date: Sun Jan 12 03:28:13 2003 +0000 Oops, had the sense of the test for the existence of alloca() backwards. M configure.in commit 7fc089088120ac201b7db96bd12446bb1a95a225 Author: David Dykstra Date: Sun Jan 12 03:11:38 2003 +0000 Make configure bomb if the included popt is needed but alloca is not available, as apparently is the case on Cray UNICOS. The AC_FUNC_ALLOCA autoconf documentation talks about having an included alloca.c and periodically calling alloca(0) to garbage collect when C_ALLOCA is defined, but I don't know where to get the code or if there's anybody that cares enough about the UNICOS port for it to be worth the trouble. M configure.in commit b17f1d76c0e84a2cf175066345437bd3f6990c69 Author: David Dykstra Date: Sat Jan 11 19:01:31 2003 +0000 Cast the return from alloca to work better on UNICOS. M popt/poptconfig.c commit 451b5fc969100e9866f74dac71e9b6bda5af5324 Author: David Dykstra Date: Sat Jan 11 14:39:41 2003 +0000 Cast the return of alloca to remove a fatal error on Cray UNICOS. M popt/popt.c commit 1e678fcab161730cfbd92b5760bd7df285ef31cc Author: Wayne Davison Date: Sat Jan 11 08:19:24 2003 +0000 Yet another try at getting this to skip on cygwin. M testsuite/longdir.test commit 48bcc6ee2b6e9cbf918471b7f7f1600bdafce868 Author: Wayne Davison Date: Sat Jan 11 07:39:49 2003 +0000 Hopefully this version will skip correctly on cygwin. M testsuite/longdir.test commit 32734c7c3c820731872ef21f79de473a0059d270 Author: Wayne Davison Date: Sat Jan 11 07:22:40 2003 +0000 Try a different tact to get cygwin to skip this test. M testsuite/longdir.test commit aaf375d0a5bc139efb3998a9af4865aab980ed26 Author: Wayne Davison Date: Sat Jan 11 02:05:56 2003 +0000 The inet_pton() man page says we need to pass in a pointer to a struct in_addr, which means passing &sin.sin_addr instead of &sin.sin_addr.s_addr. Also changed the AF_INET6 version to pass &sin6.sin6_addr. Hopefully this will fix UNICOS and not break anyone else. M clientname.c commit 9680f811f6b7763c594ab6f4c4b139df456e2620 Author: Wayne Davison Date: Sat Jan 11 01:29:30 2003 +0000 Cast poptGetOptArg() to remove a compiler warning. M options.c commit bda41fa509dc5214c9d7e924f95866150efaeb81 Author: Wayne Davison Date: Fri Jan 10 20:09:58 2003 +0000 + The prototype for isc_net_pton() should have been inet_pton(). + Define IN_LOOPBACKNET if it is not already defined. M rsync.h commit 7ea84b6890bfe0de58bda4553b3c4a39a18c7499 Author: Wayne Davison Date: Fri Jan 10 20:08:43 2003 +0000 Only refer to S_ISVTX if S_ISVTX is defined. M lib/permstring.c commit cc234d944afb06ccbcc6ff78207519c1e7940450 Author: Wayne Davison Date: Fri Jan 10 20:08:12 2003 +0000 + Fixed a comment that referred to isc_net_pton() instead of inet_pton(). + Only prototype inet_pton6() if INET6 is defined. M lib/inet_pton.c commit ac84096d1f735ea4d7a663dd37cda5a23f86ab44 Author: Wayne Davison Date: Fri Jan 10 19:58:51 2003 +0000 Don't use '#' in the dsttmp filename. M install-sh commit a1cc591b29ebcf3ee6e4d3c65bb0855a7a7f30ea Author: Wayne Davison Date: Fri Jan 10 19:58:16 2003 +0000 Paul Green's changes to add $(EXEEXT) and $(CPPFLAGS) as appropriate. M Makefile.in commit da0405080ebc1bb953853166ceb92fe458b4910b Author: David Dykstra Date: Fri Jan 10 18:32:59 2003 +0000 The call to test_skipped if makepath failed didn't work, presumably because makepath is builtin and there's some problem with it causing /bin/sh to exit on cygwin. Parens around the call to makepath should help. M testsuite/longdir.test commit 0c0a3e2dd390fee1bc7bd45d0d25c1b8b8d4fb15 Author: David Dykstra Date: Fri Jan 10 15:16:23 2003 +0000 Clean up better after the testsuite check programs. Patch from J.W. Schultz. M .cvsignore M Makefile.in commit ad301e487c1b50120d7ca1a9c7cc5fe80f50b944 Author: David Dykstra Date: Fri Jan 10 15:06:10 2003 +0000 Skip the longdir test if the long directory can't even be created, such as on cygwin (maybe only on certain filesystems?). M testsuite/longdir.test M testsuite/rsync.fns commit b5ae4aba3814502dc61c3d0042be8e952722b69f Author: Wayne Davison Date: Fri Jan 10 08:32:09 2003 +0000 Reset the io_error_fd right before the generator kills off the receiver (because the death of the receiver will close the fd and cause the generator to fail in any subsequent IO). M main.c commit 8d2aad49e306e51cae9c694bb1ef2a4e73416036 Author: David Dykstra Date: Thu Jan 9 21:30:24 2003 +0000 AI_NUMERICHOST is not defined on AIX. M access.c commit bc2b4963a009dd8194b2e9f996a63b9c634a6263 Author: David Dykstra Date: Thu Jan 9 21:14:10 2003 +0000 Support IPv6 addresses with "hosts allow" and "hosts deny". Patch from Hideaki Yoshifuji. M NEWS M access.c M acconfig.h M clientname.c M configure.in M rsyncd.conf.yo commit ee7118a8164ca250abd2cc33aa4dbc8a45594682 Author: David Dykstra Date: Thu Jan 9 19:04:06 2003 +0000 Fixed bug that caused rsync to lose exit status of its child processes. Based on patch submited by David R. Staples. Todd Vander Does contributed the following test which showed the problem: > mkdir /tmp/nowrite > chmod -w /tmp/nowrite > rsync /etc/group /tmp/nowrite || echo $status mkstemp .group.cUaaeY failed rsync error: partial transfer (code 23) at main.c(518) 23 > rsync -e ssh loki:/etc/group /tmp/nowrite || echo $status mkstemp .group.1rayeY failed > rsync -e ssh loki:/etc/group /tmp/nowrite && echo $status mkstemp .group.fbaGiY failed 0 The remote copy should have returned non-zero exit code like the local copy. M NEWS M main.c commit 95dd949c09474942fe580af221298f6eb2176d87 Author: Wayne Davison Date: Thu Jan 9 03:55:57 2003 +0000 Added .svn/ to the cvs_ignore_list and some trailing slashes to the other dirs in the list. M exclude.c commit 9326552e66054301860bc398d890d079879352bc Author: Wayne Davison Date: Thu Jan 9 03:53:24 2003 +0000 Added .svn/ to the --cvs-exclude list and some trailing slashes to the other dirs in the list. M rsync.yo commit 1e34e4b7cdbf413e7e82d4877f9354144172e709 Author: Jos Backus Date: Tue Dec 24 07:42:04 2002 +0000 Add "void" to some function definitions so that all declarations in proto.h have full parameter lists. This helps unbreaking compilation on SCO UNIXWare. Submitted by: Stephen Friedl M batch.c M flist.c M log.c commit 06464f55e26e1f26e10c04f4a11a4d85fadbd5f7 Author: Jos Backus Date: Tue Dec 24 07:25:25 2002 +0000 Change all relevant occurrences of ``rsync'' and ``$rsync_bin'' to the canonical form ``$RSYNC'' (set in testsuite/rsync.fns). This prevents any stray rsync binaries in the user's PATH from being picked up by the test scripts and ensures that the newly built rsync binary is used always. M testsuite/00-hello.test M testsuite/chown.test M testsuite/daemon-gzip-download.test M testsuite/daemon-gzip-upload.test M testsuite/daemon.test M testsuite/devices.test M testsuite/duplicates.test M testsuite/symlink-ignore.test M testsuite/unsafe-links.test commit 1b85e3f1a0792a9799c96123a15c1ec75f3be7ce Author: David Dykstra Date: Wed Dec 11 18:48:27 2002 +0000 When a file shows up as not existent during an rsync run, always check to see if it excluded before reporting an error. Previously it was only checking for the exclusion if copy_links was enabled, but the error can also occur if a file disappears during an rsync run. Suggested by Eugene V. Chupriyanov and Bo Kersey. M NEWS M flist.c commit eac9dc63e38cad062bde3b8903ca776531b344f1 Author: Jos Backus Date: Tue Nov 5 18:35:59 2002 +0000 Fix the chgrp and hardlinks tests by running $RSYNC instead of relying on the new rsync being in $PATH; it may pick up an old version, invalidating the result of the tests. This is what the other tests do already. Submitted by: Joel Shprentz M testsuite/chgrp.test M testsuite/hardlinks.test commit 30e8c8e1e48088477f0befdd08922caa6919bc51 Author: David Dykstra Date: Fri Aug 30 23:27:26 2002 +0000 When using daemon mode over a remote shell program and not running as root, default the config file to just "rsyncd.conf" in the current directory instead of /etc/rsyncd.conf. Also, fix problems with logging messages when running daemon mode over a remote shell program: it was pretty much doing the opposite of what it should have, sending early error messages to the log and later messages to the client. Switched it around so the very early error messages go to the client and the later ones go to the log. M clientserver.c M loadparm.c M log.c M options.c M params.c M rsync.h M rsync.yo M rsyncd.conf.yo commit d53d7795ee771a149a6ae010107bf3bf6d7588d0 Author: David Dykstra Date: Fri Aug 30 15:12:47 2002 +0000 Change wording of --compare-dest option to refer to the --link-dest option. M rsync.yo commit 59c95e4243749273fe91f8197a39f89e4d905cb8 Author: David Dykstra Date: Thu Aug 29 14:44:55 2002 +0000 Add --link-dest option from J.W. Schultz. M NEWS M generator.c M options.c M rsync.yo commit f8a94f0de88c5cbf24ef4d5a7d5cba1ead86afff Author: David Dykstra Date: Thu Aug 29 14:37:20 2002 +0000 Patch from J.W. Schultz to have --include-from and --exclude-from on filename "-" read from standard input. M NEWS M exclude.c M rsync.yo commit 3b5f6214a6b9422bb320e0f954cc93477f4b0e23 Author: Wayne Davison Date: Fri Aug 2 17:11:39 2002 +0000 * Don't call getnameinfo() if we've already populated the addr_buf. * Moved some structures in client_name() so that they remain in-scope for the entire function (since we set pointers to their storage location). * Allow the dot-counting loop to increment to 4 instead of stopping at 3. M clientname.c commit 542ad675b9d241d5c508e49bd6b324658728c4e9 Author: David Dykstra Date: Fri Aug 2 15:39:43 2002 +0000 Put in better method of checking whether or not daemon over --rsh mode is in place: simply check the "am_server" global variable, which is not set true when the daemon is listening for connections (daemon_main is not called in main.c if am_server is set). M clientname.c commit 1e736b8ff75180a01ad26ee92696d5dde4fe2628 Author: David Dykstra Date: Fri Aug 2 15:05:03 2002 +0000 Fix client_name to work on when INET6 is enabled but using a 4-part IPv4 IP address. Tested on Linux, but only with an IPv4 ssh. Somebody who has IPv6 enabled on ssh needs to test it yet. M clientname.c commit a6d8c3f336deebfff152e1d3f6d646ba1dc59eea Author: David Dykstra Date: Thu Aug 1 21:57:23 2002 +0000 Fix last change to use correct IPv6 structure names when using INET6. Doesn't yet look up names correctly on Linux with INET6 enabled, however; needs further work but I don't have time right now. M clientname.c commit bb4aa89c1019a39c073ef14620d22da06b106930 Author: Wayne Davison Date: Thu Aug 1 20:46:59 2002 +0000 Don't pass "-l user" to the remote shell if we're starting a server-daemon and the command already has a "-l user" option. M main.c commit 09021eabb53aec92237116d57d3e2b4246ef8f86 Author: David Dykstra Date: Thu Aug 1 19:17:00 2002 +0000 Fix to correctly identify remote IP address and host name when using -e ssh and :: together. Uses $SSH_CLIENT to locate the IP address (was attempting to before but it didn't always work) and then uses inet_pton() on that and getnameinfo() to find the name. M clientname.c M clientserver.c commit 8d69d57113c7dccefa50638f3cb91d6a6a208e5f Author: Wayne Davison Date: Thu Aug 1 17:55:40 2002 +0000 Documented that the rsync:// URL syntax is now legal in the destination. M rsync.yo commit eaa4c150abdb02fde4cc9d56f2b92191fd96007b Author: Wayne Davison Date: Thu Aug 1 17:55:11 2002 +0000 Mention the new rsync:// URL-in-the-destination syntax. M options.c commit a125c82ad2b54100bcca9bb8671fb374c81f7643 Author: Wayne Davison Date: Thu Aug 1 17:53:38 2002 +0000 Allow the rsync:// URL syntax in the destination field. M main.c commit 93eff16a6a458a9d462dd0dd9870f77f8290e1f0 Author: Wayne Davison Date: Thu Aug 1 17:53:07 2002 +0000 Document more recent changes. M NEWS commit d2d9fe184d940a402aa328ad345673a7391e95f7 Author: Wayne Davison Date: Thu Aug 1 16:50:46 2002 +0000 Mention the recent commits. M NEWS commit 2d4ca358db482fcb822a523eeed7652a54f33efe Author: David Dykstra Date: Thu Aug 1 16:21:20 2002 +0000 Slight change to refer to the section CONNECTING TO AN RSYNC SERVER OVER A REMOTE SHELL PROGRAM from within the --rsh option. M rsync.yo commit 39993af514cadf3764c355fe687110d5ea9b0b01 Author: Wayne Davison Date: Thu Aug 1 00:37:08 2002 +0000 The function passed to start_accept_loop() now takes 2 fd ints (for the daemon via remote-shell support). M socket.c commit bef493404517020b3c863c90d5d26f50bbf0bc74 Author: Wayne Davison Date: Thu Aug 1 00:37:06 2002 +0000 Document the new server-daemon via remote-shell mode. M rsync.yo M rsyncd.conf.yo commit 1312d9fc47482817a296c29abfd5d1b9ab5c58b1 Author: Wayne Davison Date: Thu Aug 1 00:37:01 2002 +0000 If daemon_over_rsh is set, we limit the generated options to just --server and --daemon. M options.c commit 75aeac44e86eab1891df78cc8d4de721c9418ca7 Author: Wayne Davison Date: Thu Aug 1 00:36:59 2002 +0000 Handle the new server-daemon via remote-shell mode. M main.c commit 68f40ebba95bf0d11bcc438cc8523a7d796e5a83 Author: Wayne Davison Date: Thu Aug 1 00:36:56 2002 +0000 Moved the end of start_socket_client() into a new function called start_inband_exchange() and made several functions take two fds (for the daemon via remote-shell support). The start_daemon() function is no longer static and now works on non-socket fds. M clientserver.c commit 973007daac25a8cd64c617fe57f566a037fad179 Author: Wayne Davison Date: Thu Aug 1 00:36:54 2002 +0000 Changed auth_server() to take two fds (for the daemon via remote-shell support). M authenticate.c commit 8060514230c598945923397398e59d27688b845e Author: Wayne Davison Date: Wed Jul 31 21:20:07 2002 +0000 Stefan Nehlsen's fix of a timeout problem on large files. (Modified to work with the latest CVS source.) M generator.c commit b1a2f37a6ed3fb6d377960d4e62e5eceea279b3b Author: Wayne Davison Date: Sat Jul 27 18:33:54 2002 +0000 Mention the popt upgrade. M NEWS commit 7c66b860282bb29647ee24b3ffe1d1411095f7de Author: Wayne Davison Date: Sat Jul 27 18:33:30 2002 +0000 Check for the float.h header file (for popt). M configure.in commit cc248aae9bff569a771210e9b63f6f4dfe83e3a6 Author: Wayne Davison Date: Sat Jul 27 18:32:25 2002 +0000 Updated to version 1.6.4. M popt/CHANGES M popt/README M popt/README.rsync M popt/findme.c M popt/findme.h M popt/popt.c M popt/popt.h M popt/poptconfig.c M popt/popthelp.c M popt/poptint.h M popt/poptparse.c M popt/system.h commit ca23c51aeb44b01a1e049d6147dbe769edd9f543 Author: Wayne Davison Date: Sat Jul 27 18:01:21 2002 +0000 - Fixed a crash in flist_find() when the last item in the flist has been removed as a duplicate. - Got rid of a compiler warning about mixed signed/unsigned types in a conditional expression. M flist.c commit fca9a9b0f044a9ef93cea27dadc01ecd56d1274c Author: David Dykstra Date: Thu Jun 27 17:51:25 2002 +0000 Document in --owner and "use chroot" that --numeric-ids is implied when use chroot is yes. M rsync.yo M rsyncd.conf.yo commit 1ea15dbe052e15e220541a71ba6129ea31bb7b5c Author: John H Terpstra Date: Sat Jun 22 16:52:15 2002 +0000 Added Solaris PkgInfo build script from Jens Apel A packaging/solaris/build_pkg.sh commit 8e34cd41f0a361d0f389aedb5527c0972986ab56 Author: David Dykstra Date: Tue May 28 15:42:51 2002 +0000 Close previously opened file descriptor when mkstemp fails in recv_files(). Every other failure condition in that function was alreadying doing this, and I saw a case with a lot of "mkstemp...No space left on device" messages started becoming "mkstemp...Too many open files" messages because of this bug. Not that it makes a whole lot of difference, since nothing gets copied because the disk was out of space. M receiver.c commit 9ef1cc7cdf50dbb61f13f2d9b314bb7f1c2703ed Author: David Dykstra Date: Thu May 16 21:07:23 2002 +0000 Clarify the relationship of max connections and lock file. M rsyncd.conf.yo commit 411acbbc2ae9dcc5de4cf5cfcb588ef1aeee9bed Author: Martin Pool Date: Tue May 14 05:44:51 2002 +0000 Better notes about handling IPv6 on old machines M TODO commit 32e83406c4e1a6face6088f7cb7d486577be2d6d Author: Martin Pool Date: Tue May 14 05:31:11 2002 +0000 Fix little mistake M TODO commit 7e28fca1265f7ace5fdda2fbdee79af53b487ab6 Author: Martin Pool Date: Tue May 14 05:25:46 2002 +0000 Note about lchmod. M TODO commit e4ffb539000a05c442e74f11cb13af5ef3990c0a Author: David Dykstra Date: Mon May 13 18:34:37 2002 +0000 Fix the rsync home page URL to drop a trailing "/rsync". M README commit 7c2d381c282808d5c6205ac7ca0a7765ccb5def0 Author: David Dykstra Date: Mon May 13 18:22:28 2002 +0000 Clarify that exclude/include options in rsyncd.conf apply only to files sent from the server or deleted on the server. M rsyncd.conf.yo commit bde47ca7c52ac6b3e9f5b9bb0823c7b2ceb42768 Author: Martin Pool Date: Mon May 13 07:54:47 2002 +0000 Note that using the old sockets API probably will not work sufficiently on some ipv6 systems. M TODO commit ea7f8108b03353871e3f17bda22cd2b617b9bd8a Author: Wayne Davison Date: Sat May 11 08:31:55 2002 +0000 Make the -e text a little less chatty, and mention the legality of command-line options in the RSYNC_RSH section. M rsync.yo commit 98393ae2e2a7adc8b780a4583fc6742073de7f32 Author: Wayne Davison Date: Fri May 10 19:56:23 2002 +0000 Mention that the -e COMMAND can contain options. M rsync.yo commit 759ac87019791378c4a97b541e7cdf1349dd4c69 Author: David Dykstra Date: Thu May 9 21:44:46 2002 +0000 Submit enhancement from Michael Zimmerman to allow --suffix to be used with --backup-dir. M NEWS M backup.c M options.c M rsync.yo commit a1e0e45e0121de619175e86db2e34be62b862646 Author: David Dykstra Date: Thu May 9 19:03:40 2002 +0000 Indicate that the exclude options in rsyncd.conf only apply when receiving files to a server and not when sending files to it. M rsyncd.conf.yo commit 54170a084d322249e889c10c3db8138ff0e8dcb7 Author: Wayne Davison Date: Mon May 6 19:05:05 2002 +0000 Tweaked the --rsh option's description. M options.c commit 1bbf83c07d85edf5c20ba3f857fd63a8846535ea Author: Wayne Davison Date: Mon May 6 19:02:44 2002 +0000 - Improved the references to rsh to better indicate that rsync may be configured to use some other remote shell by default. - Fixed the mention of ssh's preferred IO-blocking mode. M rsync.yo commit ccd2b499edd9d936157bc2d2a9e957756e77a1dd Author: Wayne Davison Date: Mon May 6 18:47:57 2002 +0000 Mention that --delete-after now implies --delete. M NEWS commit 1de50993a7bee4a9a2a7c656cd836a305a98ce29 Author: Wayne Davison Date: Fri May 3 22:59:17 2002 +0000 Made the --delete-after option imply --delete. M options.c commit 786c36876b9f0853063856974762e24fcc9e5cb5 Author: Wayne Davison Date: Fri May 3 22:58:01 2002 +0000 Mentioned that --delete-after and --delete-excluded imply --delete. M rsync.yo commit 8bd1a73e14bc1efb9bab01fbd1d693725183cca3 Author: Martin Pool Date: Fri Apr 26 00:55:34 2002 +0000 Add note about resolving Debian gid problem. M TODO commit c7d692c3c31898987e5a6623ed9010c05c034c03 Author: Martin Pool Date: Wed Apr 24 01:13:26 2002 +0000 Notes about handling machines lacking getaddrinfo(). M TODO commit f9b9e2f067d13788e4c994ebfc514972c826ea9b Author: Martin Pool Date: Fri Apr 19 05:33:36 2002 +0000 Note from Alberto Accomazzi that rsync urls are broken for upload M TODO commit dafe63ca98a99e98c0757fb8c3d5e4de02db39fe Author: Martin Pool Date: Tue Apr 16 01:38:21 2002 +0000 Doc. M options.c commit f49a7b227f988649d023934c925a40b6dd250bef Author: Martin Pool Date: Mon Apr 15 07:50:18 2002 +0000 When -e is specified along with an rsyncd url, the client should get a warning but it should not be treated as an error. (Bill Nottingham) http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62489 M NEWS M clientserver.c commit f5e4eadb7437a4884ad272af50fe5439f415e2d9 Author: Martin Pool Date: Mon Apr 15 05:05:57 2002 +0000 --no-blocking-io might be broken in the same way as --no-whole-file; somebody needs to check. M TODO commit 717eb9b8830f04d80bdc7e79134e881c2e6d365e Author: Martin Pool Date: Sat Apr 13 12:17:47 2002 +0000 Note about testing "refuse options" M TODO commit 5ba268efa84e16fde582f5d168f938917b25bac4 Author: Martin Pool Date: Sat Apr 13 03:52:48 2002 +0000 *** empty log message *** M TODO commit 25ff30e804d19ea571885db98c5843c11b2d1ad3 Author: Martin Pool Date: Fri Apr 12 05:05:44 2002 +0000 Notes on testing, release, and todo items from the Debian paper. M TODO commit bdae761ee1e806ec4d179ab2246e1e6aff02a2e8 Author: Martin Pool Date: Fri Apr 12 04:22:52 2002 +0000 reformat M NEWS commit 5af50297bedda78bee05adc612954335259fcb41 Author: Martin Pool Date: Thu Apr 11 02:35:25 2002 +0000 Note about manual revision. M TODO commit 32f761755e2cfee243a1513c9ea9871586463fa6 Author: Martin Pool Date: Thu Apr 11 02:25:53 2002 +0000 Try to fix ctype issues by always calling these functions as if (!isdigit(* (unsigned char *) p)) { so that the argument is always in the range of unsigned char when coerced to an int. (See digit 1.) M access.c M clientserver.c M exclude.c M loadparm.c M params.c M socket.c M util.c commit c4fea82ff912c596e0e1e49218a67917be8df6df Author: Martin Pool Date: Thu Apr 11 02:21:41 2002 +0000 Doc. M flist.c commit 6ded1170acadac267f6b1f086d0c75e57b696580 Author: Martin Pool Date: Thu Apr 11 02:18:51 2002 +0000 Doxygen M rsync.h commit 991f90f2964977286ae70805ecb6a4b16855894f Author: Martin Pool Date: Thu Apr 11 02:16:34 2002 +0000 Receiving an @ERROR line from the server is (I think) always fatal, so the client should exit upon receiving one and not be surprised that the socket closes. M NEWS commit c979dad54a25e06d08d78b4166cae03c9242d0d1 Author: Martin Pool Date: Thu Apr 11 02:11:50 2002 +0000 Fix old typo. M io.c commit 136ac7ecec03339837e4b70f3128fd3609d37374 Author: Martin Pool Date: Thu Apr 11 01:56:35 2002 +0000 Receiving an @ERROR line from the server is (I think) always fatal, so the client should exit upon receiving one and not be surprised that the socket closes. M clientserver.c commit 3e8369b6dc77c2b14e9d744b4ed9cb6109bbe3c0 Author: Martin Pool Date: Tue Apr 9 06:32:07 2002 +0000 Correction from Nelson Beebe: argument to functions such as isspace() must be an int, not a char. This could cause sign-extension problems. M loadparm.c commit a7dc44d27d019f57d9ce484feb8d1a363464102b Author: Martin Pool Date: Tue Apr 9 06:18:13 2002 +0000 Doc. Correction from Nelson Beebe: argument to functions such as isspace() must be an int, not a char. This could cause sign-extension problems. M socket.c commit 07a874fd9b990c4ea1e370d350fc77f9ecc171b5 Author: Martin Pool Date: Tue Apr 9 06:15:13 2002 +0000 Correction from Nelson Beebe: argument to functions such as isspace() must be an int, not a char. This could cause sign-extension problems. M exclude.c M params.c M util.c commit e35080cede02c640ac482debfc40d8b2de4bb58e Author: Martin Pool Date: Tue Apr 9 06:11:06 2002 +0000 long int and signedness fix from Nelson Beebe M match.c M tls.c commit ce8149b6feae51c7a576b04f86003e7a4555ee14 Author: Martin Pool Date: Tue Apr 9 06:03:50 2002 +0000 long int fix from Nelson Beebe M sender.c commit a86179f42976df985508d9166591eb75d8142476 Author: Martin Pool Date: Tue Apr 9 05:32:52 2002 +0000 Fix type error. M io.c commit 56cf38ac98227d9f4069336fc4db3fdd9404ee64 Author: Martin Pool Date: Tue Apr 9 05:29:26 2002 +0000 Add RERR_OK == 0 M errcode.h commit b0f451eb3bfff6c624f802954ad3a67718cf8562 Author: Martin Pool Date: Tue Apr 9 05:26:46 2002 +0000 Doc _exit_cleanup. M cleanup.c commit d0829892c6f9bc078c24ef11f9c13856b0a64978 Author: Martin Pool Date: Tue Apr 9 05:23:07 2002 +0000 Doc start_socket_client M clientserver.c commit fdf88d7574cfd4fba8f4cb8b2a84168b57e456e8 Author: Martin Pool Date: Tue Apr 9 05:20:30 2002 +0000 Doc start_socket_client M clientserver.c commit 595f2d4d97b4a8d79efe73c93ec8d177129e5b16 Author: Martin Pool Date: Tue Apr 9 05:14:59 2002 +0000 Notes about supplementary groups and -z. M TODO commit cae95647a4355ff81f044ef001c6332f138fa171 Author: Martin Pool Date: Tue Apr 9 05:07:15 2002 +0000 Doc. M clientserver.c commit a254fd97982bbff8e060da9a62a799cd836d9ee0 Author: Martin Pool Date: Tue Apr 9 05:03:45 2002 +0000 Doc. M clientserver.c commit 805edf9d7dee5467c6054d6d65fba6d357ea57ca Author: Martin Pool Date: Tue Apr 9 05:00:03 2002 +0000 A bit more support for IO phase names. M io.c commit eca2adb4b3a4ca095116f54e9e0a6df19f0bd149 Author: Martin Pool Date: Tue Apr 9 04:50:25 2002 +0000 OK, we can now get phase messages if we fail in send_file_entry M flist.c M io.c M rsync.h commit 4eea7793ea7f3a2b336aa68dc778ce7f9ee5cdbb Author: Martin Pool Date: Tue Apr 9 04:49:42 2002 +0000 Doc Try symlinks with an empty target M testsuite/unsafe-byname.test commit 67684d038de4c18431af0ccc17f55efbf4f20eb8 Author: Martin Pool Date: Tue Apr 9 04:49:23 2002 +0000 long int fix from Nelson Beebe M generator.c commit 98b332edeaadb77178fdf4ae2de80e6c18572efd Author: Martin Pool Date: Tue Apr 9 04:41:03 2002 +0000 Fix typo. Show io phase name in error message. M io.c commit e681e8206641ec61d3ef8918f15351e8d84ccf4f Author: Martin Pool Date: Tue Apr 9 04:33:32 2002 +0000 Rather than a loop subtracting 1e6 to convert usecs to secs/usecs, just use div/mod. M io.c commit 08571358b19618268310c975448be5f49dd6c667 Author: Martin Pool Date: Tue Apr 9 04:29:46 2002 +0000 Factor out bwlimit sleep code from writefd_unbuffered into its own function. M io.c commit 8901a07fdbb1414ed28d86e55e6618cf228fad4d Author: Martin Pool Date: Tue Apr 9 04:23:18 2002 +0000 Clarify "error writing %d bytes" message. M io.c commit 880da0072e01453a6a7329ce402d35093bce2618 Author: Martin Pool Date: Tue Apr 9 04:20:36 2002 +0000 Clean up docs. M io.c commit a83600cc82a607ec4824eff6b220e047329617d8 Author: Martin Pool Date: Mon Apr 8 09:10:50 2002 +0000 Change error message "partial transfer" to "some files could not be transferred". I don't generally like changing that sort of thing, but I think this one was a persistent source of confusion. M log.c commit dd0628f85fd5055aa9c343716c86073c8b0e4e5b Author: Martin Pool Date: Mon Apr 8 09:09:03 2002 +0000 Note code cleanups M NEWS commit e66dfd1879f0135fa7d5de25052627fc1686497e Author: Martin Pool Date: Mon Apr 8 09:05:26 2002 +0000 Doc and indent only. M generator.c commit bf2daeaf2daf31a9d94ec7b232898d43c6d51da7 Author: Martin Pool Date: Mon Apr 8 08:58:26 2002 +0000 Remove redundant list of options. It might be nice to summarise the most frequently-used ones in here. Nelson Beebe pointed out that the information about bug tracking was out of date. M README commit bd0ad74f4b2e517996fa681b807d5bc660e00ba4 Author: Martin Pool Date: Mon Apr 8 08:39:03 2002 +0000 Notes on MD4 performance. This quite unnecessarily takes up 90% of CPU on a local transfer, without achieving anything useful. M TODO commit 79f671cc7c87162bcd6822b3bcd351858ec4fe81 Author: Martin Pool Date: Mon Apr 8 08:35:30 2002 +0000 Doc M token.c commit 0f9c48b1d23fbe958544094e97ba8ad2a7d8b8f4 Author: Martin Pool Date: Mon Apr 8 08:34:03 2002 +0000 Doc file M sender.c commit 538ba24fd7986df9231812cdbae7cfa93151f685 Author: Martin Pool Date: Mon Apr 8 08:33:13 2002 +0000 Doc match_sums. M match.c commit d37d8d7b693df25558dbb210799263236bbb7d81 Author: Martin Pool Date: Mon Apr 8 08:29:04 2002 +0000 Doc sum_update M checksum.c commit f4a0483ab8a3f0195d6dd2b82efdaefcf1e00963 Author: Martin Pool Date: Mon Apr 8 08:24:59 2002 +0000 Add manual prototype for maintainer-mode function M rsync.h commit f5f95a38c40de63a22112a972d4a18e377257c44 Author: Martin Pool Date: Mon Apr 8 08:23:50 2002 +0000 Document the perversely-named matched() function, which is called even if we have not matched! M match.c commit 3e7053ac5992c7a3a565ff5649c9db86a94b579b Author: Martin Pool Date: Mon Apr 8 08:06:18 2002 +0000 With -vv, show state of --whole-file once at the start of the transfer. M generator.c commit 420ef2c41962daa2b5513ce36992041b1256022f Author: Martin Pool Date: Mon Apr 8 08:02:08 2002 +0000 Doc. M generator.c commit 9fb3f7a9aba781b901c0b06fdf700a3701870d0b Author: Martin Pool Date: Mon Apr 8 07:46:34 2002 +0000 Doc rsync_panic_handler() M main.c commit 734a94a20c7ee4bd787eb434d21d8be1f24f7774 Author: Martin Pool Date: Mon Apr 8 07:42:54 2002 +0000 Clean up prototype. Drop unused variables. M main.c commit b44be3e944d80a91a0957b1951110e4acc821e55 Author: Martin Pool Date: Mon Apr 8 07:39:56 2002 +0000 Fix prototype. M pipe.c commit fc0302cf078d686018ae755e89ac2b176001aec7 Author: Martin Pool Date: Mon Apr 8 07:36:05 2002 +0000 Show panic_action in --version. M options.c commit 4fdc39dde80fc80d511b7101d15ecc0be77a73a3 Author: Martin Pool Date: Mon Apr 8 07:34:17 2002 +0000 Allow panic_action to be configured through environment variable RSYNC_PANIC_ACTION. M main.c commit 9a933bc2ce8aae17f30925412e2cc0d14178d0cd Author: Martin Pool Date: Mon Apr 8 06:23:34 2002 +0000 t_unsafe needs asnprintf on some platforms. M Makefile.in commit 524dc9afd627c093c469ff6a3b8caba6de3c1c71 Author: Martin Pool Date: Mon Apr 8 06:18:03 2002 +0000 correct behaviour is unclear M testsuite/unsafe-byname.test M testsuite/unsafe-links.test commit e4d709cbf884fea90d748bbcb6c267d6f9006136 Author: Martin Pool Date: Mon Apr 8 06:01:26 2002 +0000 Cleanup M testsuite/unsafe-byname.test commit 48c1586cd115989812b2a5d98cdf8f750f2265e0 Author: Martin Pool Date: Mon Apr 8 05:38:51 2002 +0000 handle yodl and vpath M Makefile.in commit 7bd0cf5b8f25eb002dd10f5b72081d2b3a537efb Author: Martin Pool Date: Mon Apr 8 05:30:28 2002 +0000 Clarify meaning of unsafe symlinks M rsync.yo commit fcb69e5cdcfdfd0bdcea2127e5f4c9133a2282b9 Author: Martin Pool Date: Mon Apr 8 05:28:31 2002 +0000 Fix copyright. M pipe.c M progress.c commit 96557d23a3577ff826132524c66b2f84ce9b2e73 Author: Martin Pool Date: Mon Apr 8 05:22:50 2002 +0000 Add more test cases. Turn off -x. M testsuite/unsafe-byname.test commit 4e5db0ad4a5720b74670e3519dd1f2fea41980a1 Author: Martin Pool Date: Mon Apr 8 05:21:51 2002 +0000 Doc. M flist.c M util.c commit c81a32f071400c0edac42e00264718eec593e081 Author: Martin Pool Date: Mon Apr 8 05:19:41 2002 +0000 Add more test cases. M testsuite/unsafe-byname.test commit 6f2623fd69f41978c79e7bc38cabe45d677f2853 Author: Martin Pool Date: Mon Apr 8 04:59:34 2002 +0000 Formatting cleanup. M flist.c commit b4235b3165fda2c09072ed830de9a13db5e81b41 Author: Martin Pool Date: Mon Apr 8 04:48:51 2002 +0000 Doc. M util.c commit d25c0e42c72f2399b44b0c666fc823daa9874521 Author: Martin Pool Date: Mon Apr 8 04:47:01 2002 +0000 A test suite that calls unsafe_symlink() directly to see how it handles different strings. A testsuite/unsafe-byname.test commit 0ecfbf27c3b9e01d498201e90e7d0a89a9d0a47c Author: Martin Pool Date: Mon Apr 8 04:16:46 2002 +0000 Split code out into separate files and remove some global variables to reduce symbol dependencies between files and therefore make it easier to write unit tests. The diff is large, but the actual code changes are pretty small. M util.c commit fb4c98c2c8a618855ebe4d11c36f8a120fab2aa1 Author: Martin Pool Date: Mon Apr 8 04:13:43 2002 +0000 Test harness for unsafe_symlink: just passes in argv[]. A t_unsafe.c commit cd8e38b13f9c7e3a0be54f77819b90376aada291 Author: Martin Pool Date: Mon Apr 8 04:12:31 2002 +0000 Little stub module that replaces functions such as rprintf called from many places with a redirector to stderr. If you just want to test a particular routine you can link to this rather than the whole framework. A t_stub.c commit b35d0d8e9ae9c5407c9f781b545f8a66b9caa9d0 Author: Martin Pool Date: Mon Apr 8 04:10:20 2002 +0000 Split code out into separate files and remove some global variables to reduce symbol dependencies between files and therefore make it easier to write unit tests. The diff is large, but the actual code changes are pretty small. M .cvsignore M Makefile.in M clientserver.c M generator.c M log.c M main.c M options.c A pipe.c A progress.c M receiver.c commit c948e309f27c3edaef8a5a4dfc04e0da98944c97 Author: Martin Pool Date: Mon Apr 8 04:00:24 2002 +0000 Don't generate code for zlib and popt. M Doxyfile commit d1f83bcc81a98c4b8fa2d18f3aae8d291a8a0c00 Author: Martin Pool Date: Mon Apr 8 03:43:54 2002 +0000 Doc. M compat.c commit e0fde757fda15c0596914e6dc29dcd92a5b6448f Author: Martin Pool Date: Mon Apr 8 03:38:36 2002 +0000 Doc. M cleanup.c M lib/compat.c commit 25d34a5c80f4d2126af71589a23a866981db02cb Author: Martin Pool Date: Mon Apr 8 03:37:19 2002 +0000 Rearrange code slightly to avoid util.c depending on main.c. M main.c M util.c commit 610364e3a6b8cafff40b29e7d1644647fc6871ed Author: Martin Pool Date: Mon Apr 8 03:13:11 2002 +0000 Tune doxygen output, remove warning. M Doxyfile commit 036e70b0241a795e516e2b104f7bb982fe29fe9b Author: Martin Pool Date: Mon Apr 8 03:10:01 2002 +0000 Document unsafe_symlink(). M util.c commit ac13ad106a17c1a47955925c20d467d8ce87efa3 Author: Martin Pool Date: Mon Apr 8 03:03:04 2002 +0000 Clean up comments for Doxygen. M tls.c M util.c commit bd9e9eccbd2a43de6fca84cbb8edae497b0884db Author: Martin Pool Date: Mon Apr 8 02:41:23 2002 +0000 Doc. M flist.c commit 8ff9d697c9a4865e089fa6302c1f0fc9f5a44ef7 Author: Martin Pool Date: Mon Apr 8 02:39:00 2002 +0000 Note on debugging daemon M TODO commit 62b68c80466e9e3b9bb39e0bc5219ba32534235f Author: Martin Pool Date: Mon Apr 8 01:59:21 2002 +0000 Notes about logging. M TODO commit e4724e5c1cbd052497ff502cc637a6adbea1aabe Author: Martin Pool Date: Fri Apr 5 07:25:06 2002 +0000 Note about two small bugs. M TODO commit 559e727bf72beea402f5c1bbf5d56511266a37fa Author: Martin Pool Date: Fri Apr 5 07:13:01 2002 +0000 Test more permutations. M testsuite/unsafe-links.test commit 126642b6333a345f2fee0b614d0399c3c067f782 Author: Martin Pool Date: Fri Apr 5 07:04:23 2002 +0000 Fix filenames. M testsuite/unsafe-links.test commit cca4e06786513f63dbf67835d8fba2c15d6f8d4c Author: Martin Pool Date: Fri Apr 5 07:00:53 2002 +0000 Get rid of testlink after use. M testsuite/rsync.fns commit 2f1faea89b8dcf5998fff55c2fe7f4116f4006fd Author: Martin Pool Date: Fri Apr 5 06:57:47 2002 +0000 Test case for --copy-unsafe-links, contributed by Vladimír Michl, converted to the test suite. Thankyou! It fails at the moment; I don't know if that's a test bug or an rsync bug. A testsuite/unsafe-links.test commit 3d90ec146fab1637a864e9473288a796a7b70c72 Author: Martin Pool Date: Fri Apr 5 06:17:50 2002 +0000 Doc M TODO commit 1bc209b441a7461f50fe4d0ceb8519d399e4d8e8 Author: Martin Pool Date: Wed Apr 3 06:55:24 2002 +0000 Fix completely braindead previous patch. Thanks Jos. M batch.c commit 1433e6da69406b3ff50bbf3c52eaebd9a40ac48f Author: Martin Pool Date: Wed Apr 3 06:03:27 2002 +0000 Patch from Zoong Pham and Albert Chin to improve detection of getaddrinfo on Tru64. Also configure.in test for mkfifo and sys/un.h, although we don't actually use that yet. M NEWS M configure.in commit f8f4c862e8e66360925a28a593836cc7b69a3242 Author: Martin Pool Date: Wed Apr 3 05:55:54 2002 +0000 Change code that writes s_count to a batch file to squish it into an int first -- a stopgap for compilers that reasonably complain about a ternary that returns either a size_t or an int. Really we should not write an int, but rather a larger type. Somebody more familiar with the batch code should look at it. M batch.c commit 226df8e7172e4be3ae4f65fcdd5b86ee5ba4e16d Author: Martin Pool Date: Wed Apr 3 04:29:19 2002 +0000 Support Doxygen pretty-printer A Doxyfile commit 6c92af20679dcb079ea3014dc80bce82d6a35155 Author: Martin Pool Date: Wed Apr 3 02:33:42 2002 +0000 Commit patch based on one from John L. Allen to fix "forward name lookup failed" on AIX 4.3.3. When doing an name->addr lookup on the client address, there's no point including the service name, because it can't be spoofed and it apparently causes trouble when not present in /etc/services. M NEWS M clientname.c commit 54c7298ce43c686d66110e32e9c20375522a412d Author: Martin Pool Date: Wed Apr 3 02:13:42 2002 +0000 Roll over version and news. M NEWS M OLDNEWS M configure.in commit 642a979a27a4f8f50256df45951392075e35f954 Author: Martin Pool Date: Wed Apr 3 00:10:11 2002 +0000 Note about --dry-run. M TODO commit e733c934230c146d496423209f9461c34f33a16e Author: Martin Pool Date: Tue Apr 2 02:00:29 2002 +0000 Remove warning about "run autoconf". It tends to break too much with CVS. M Makefile.in commit ffdb58a51aace8d55824cc03e4248c25d8c57b62 Author: Martin Pool Date: Tue Apr 2 01:41:58 2002 +0000 Bump to 2.5.5. M NEWS M configure.in commit c053133207468241f0c21364b70e9fea3a4f6bf3 Author: Martin Pool Date: Wed Mar 27 05:10:44 2002 +0000 If configured with --enable-maintainer-mode, then on receipt of a fatal signal rsync will try to open an xterm running gdb, similarly to Samba's "panic action" or GNOME's bug-buddy. M INSTALL M NEWS M configure.in M main.c commit 9098bbf3b37e6e90b3bcbf2531b73ee0fb21b120 Author: Martin Pool Date: Wed Mar 27 01:03:13 2002 +0000 Improved network error handling. (Greg A. Woods) M NEWS M cleanup.c M clientserver.c M main.c commit 68618b8810cae27eba15ab093b2e98d538a287fb Author: Martin Pool Date: Tue Mar 26 10:36:45 2002 +0000 Shell scripts should explicitly "exit 0" for portability. Thanks Jos. M testsuite/hands.test commit e553d27f41edd990622479b386e9ba991eda30fb Author: Martin Pool Date: Tue Mar 26 10:28:57 2002 +0000 Fix suggested by Jos for hands.test. Some of the functionality previously built into Phil's test was clashing with the runtests.sh framework. I think one of the core problems might be that scripts which don't explicitly "exit 0" have return codes which vary depending on the particular shell. (c.f. the autoconf portability guide.) This might break the Debian test suite but I'm afraid I don't know enough about how it works yet. Hopefully eventually it can become just a wrapper around our 'make check'. M testsuite/hands.test M testsuite/rsync.fns commit d092924c63463a77eebea3bc8d1bbfa24b7a130d Author: Martin Pool Date: Tue Mar 26 05:15:09 2002 +0000 Updated spec file from Jason Haar. Seems to mostly just change the path for manuals, and bumps the version. M packaging/redhat/7.1/rsync.spec commit 34027489e0edb2d52ee96b542d8933a6dac1c8da Author: Martin Pool Date: Tue Mar 26 01:27:24 2002 +0000 Ignore autoconf cache. (??) M .cvsignore commit d1239eae921d013ffeb118b1a768308e28bd9f11 Author: Martin Pool Date: Tue Mar 26 01:25:47 2002 +0000 Jos points out that test -L is still broken on Solaris. Now we try up front to detect a command that will work properly, and use that consistently. Also, in test report, show setting of $preserve_scratch. Reset version. M NEWS M configure.in M runtests.sh M testsuite/rsync.fns commit 331050969b7edfa86a03da85d94795ed63337638 Author: Martin Pool Date: Mon Mar 25 23:22:08 2002 +0000 Bump version to 2.5.5rc1. M NEWS M configure.in commit 259c3e72b087eb7acd26819f565e51d914f45c19 Author: Martin Pool Date: Mon Mar 25 23:09:31 2002 +0000 Add note about possible hardlink bug. M TODO commit 8f7a38336d8a0804aef0635955f4ed7dcc49e0ee Author: Martin Pool Date: Mon Mar 25 09:42:36 2002 +0000 Make the situation w.r.t. dynamically linking zlib and libpopt clear. A popt/README.rsync M zlib/README.rsync commit 999dfffc9b101c78897ae6d2bd7ceb8760f29afb Author: Martin Pool Date: Mon Mar 25 07:29:43 2002 +0000 Add link to Apple bug. M rsync.h commit 527a51cec52260bf79d1d9b2888d34ee7aea234f Author: Martin Pool Date: Mon Mar 25 07:07:03 2002 +0000 Doc M hlink.c commit 20c15aead567fa0f6030dbaa0593fe267744d92f Author: Martin Pool Date: Mon Mar 25 06:59:17 2002 +0000 Hm, strange off-by-one bug. M hlink.c commit fb859e5674f3794abaa674114b9d767411fe005d Author: Martin Pool Date: Mon Mar 25 06:49:08 2002 +0000 Apparently the OS X port of gcc gags on __attribute__. M rsync.h commit 4f2dcb17140f30f0c53c10d9556e9ab8c040dd07 Author: Martin Pool Date: Mon Mar 25 06:27:44 2002 +0000 If we discover a hardlink with -vv say what it's a link to. M hlink.c commit 64e74631e0bb81b5e781c619c4f91417096d4ee8 Author: Martin Pool Date: Mon Mar 25 06:06:29 2002 +0000 Fix from Jos for batch mode on Solaris. M batch.c commit fba31efb7453e51a7fa2c1f02c4b0463b6c81339 Author: Martin Pool Date: Mon Mar 25 05:54:31 2002 +0000 Disambiguate hard link messages. M generator.c commit 435f1ed70d102873ef51a69e2b530fda20dd41c4 Author: Martin Pool Date: Mon Mar 25 04:36:56 2002 +0000 Apparently SGI make doesn't like $< in non-implicit rules. M Makefile.in commit 94f34ca10a55352a33cde3529dec50a8038820ea Author: Martin Pool Date: Mon Mar 25 04:04:23 2002 +0000 Doc. M loadparm.c commit b0633744fa493938cd9718a4479059a3aa6b7857 Author: Martin Pool Date: Mon Mar 25 03:56:38 2002 +0000 Note about mkdir bug. M NEWS commit c127e8aaec2b0ea408a3cd3a36fd910520249332 Author: Martin Pool Date: Mon Mar 25 03:51:17 2002 +0000 Add a test case for trim_trailing_slashes, and make it handle other cases. M Makefile.in M syscall.c A testsuite/trimslash.test A trimslash.c commit bf4e725d5d3c0a06c9a8d74cb9b1c183e161f148 Author: Martin Pool Date: Mon Mar 25 03:29:47 2002 +0000 Code that was meant to trim trailing slashes from mkdir() paths actually did not; fix it. M syscall.c commit 663717f465a82e1955508b4e40dfdee8789a03cb Author: Martin Pool Date: Mon Mar 25 03:26:28 2002 +0000 Need to also delete getgroups when cleaning. M Makefile.in commit 12b159ac4110e23553e94c805b8a121944f47698 Author: Martin Pool Date: Mon Mar 25 03:18:36 2002 +0000 Define NGROUPS if not already done. M getgroups.c commit 9299c8f0b485f52e519fd410c3b8f7b089deab96 Author: Martin Pool Date: Mon Mar 25 03:16:35 2002 +0000 Clean testtmp*, because we now put tests in their own directories. Add "make cleantests" M Makefile.in commit dfef3f1099468a3b57f69840002184c527259558 Author: Martin Pool Date: Mon Mar 25 03:01:37 2002 +0000 Change chgrp.test to use our getgroups rather than the system's. M Makefile.in M testsuite/chgrp.test M testsuite/rsync.fns commit fa3690f48870fada1b9495dbbb16acbc1f511c52 Author: Martin Pool Date: Mon Mar 25 02:58:59 2002 +0000 Initial revision. A doc/.cvsignore commit 4acbfa2ade4b81fbc5af5bc30f97b9feb9a40545 Author: Martin Pool Date: Mon Mar 25 02:55:52 2002 +0000 Add our own little tool to call getgroups(2) because it's too hard to find a portable shell command that does it. M Makefile.in A getgroups.c commit ef86d7473669c65984c2cfbed9de708ff0fa63d7 Author: Martin Pool Date: Fri Mar 22 22:36:22 2002 +0000 Clean up text. M NEWS commit 118f39d45bd5afd5872ec53e9c76b3b762a53b85 Author: Martin Pool Date: Fri Mar 22 22:33:49 2002 +0000 Clean up text. M NEWS commit 77867907edaf22b6aafd5be6c426d40d88a4108f Author: Martin Pool Date: Fri Mar 22 06:22:53 2002 +0000 Doc permissions while testing. M testsuite/rsync.fns commit 98c1b32565fc808ca2a428dbd1a5485e7997ad7d Author: Martin Pool Date: Fri Mar 22 06:12:51 2002 +0000 Rather than literally "nobody", try using uid/gid = 65534 as "nobody". The existing code kind-of assumes this. M testsuite/rsync.fns commit 7a176e87d56de890fed07b1621277ab74b21b706 Author: Martin Pool Date: Fri Mar 22 06:09:09 2002 +0000 Better messages. M testsuite/devices.test commit 79c9d8a1803d0b7437bd88bc9ee84b91886bcbe4 Author: Martin Pool Date: Fri Mar 22 06:07:50 2002 +0000 Proper messages for skipped tests. M testsuite/chown.test M testsuite/duplicates.test M testsuite/ssh-basic.test commit 7d8219327b7d79406869cd2462eaa75e31c26d2c Author: Martin Pool Date: Fri Mar 22 06:03:46 2002 +0000 If tests are skipped, explain why. M runtests.sh M testsuite/rsync.fns commit 4ac4bdbb3854ffc307a202dd6e4856955357c6e6 Author: Martin Pool Date: Fri Mar 22 06:02:28 2002 +0000 More sgml cleanups. M doc/rsync.sgml commit f494f2864cc392ed9fb5cdb448f67135b040d1a8 Author: Martin Pool Date: Fri Mar 22 05:59:12 2002 +0000 Doc about checkit. M testsuite/rsync.fns commit 017f22b47fbb09f3efd5f3c87ce97f54030f4ed3 Author: Martin Pool Date: Fri Mar 22 05:52:09 2002 +0000 Add /usr/xpg4/bin/ to PATH to help solaris. M runtests.sh commit dec41b556bf900e8f24e726a93a534371a007a54 Author: Martin Pool Date: Fri Mar 22 05:20:47 2002 +0000 Cope on systems without the whoami command. M runtests.sh commit be2961da2c7cad6a4af440cfdf1fb902930c8b71 Author: Martin Pool Date: Fri Mar 22 05:19:19 2002 +0000 If there's an error in start_socket_client, print an explanation as well as failing. Doc. Trying to work out why daemon-gzip-download.test fails on SCO with rsync error: unexplained error (code 190) at main.c(886) M clientserver.c commit 914cc65c9d751c6dd812e9cf8bd2d3169e288921 Author: Martin Pool Date: Fri Mar 22 05:14:44 2002 +0000 Doc. M io.c commit 6479c2ed3f08ee11929449d01e01c9b4c87b1314 Author: Martin Pool Date: Fri Mar 22 05:11:39 2002 +0000 Notes on logging etc M TODO commit c1a04ecbfdf06ad3ca27f4bb294bb0c92115b7dd Author: Martin Pool Date: Fri Mar 22 05:08:53 2002 +0000 Doc. M main.c commit 69b06c50c4a2a94adbf0ca1d3eaef02fab511390 Author: Martin Pool Date: Fri Mar 22 05:06:36 2002 +0000 Use `id -G` rather than `groups` to get a list of groups for this user, so that we can cope on systems like Cygwin that tend to have group names containing spaces. M testsuite/chgrp.test commit 6aaf8d8c1041b524d985bf09b9a3f5e371cf8ac2 Author: Martin Pool Date: Wed Mar 20 05:53:40 2002 +0000 * Make "make install-strip" works properly, and "make install" accepts a DESTDIR variable for help in building binary packages. (Peter Breitenlohner) M Makefile.in M NEWS commit 4cf64834ed182e6c10f2213f84d8d33a273b3896 Author: Martin Pool Date: Wed Mar 20 01:09:49 2002 +0000 Patch from Paul Haas: * Fix situation where failure to fork (e.g. because out of process slots) would cause rsync to kill all processes owned by the current user. Yes, really! (Paul Haas, Martin Pool) Also, add a little more documentation and paranoia to make sure we never call kill(2) with a negative pid. M NEWS M util.c commit b8709f5046cc361526db994ee05e6c2cdaadfd73 Author: David Dykstra Date: Tue Mar 19 20:16:42 2002 +0000 Now that whole_file and no_whole_file are separate variables, have the --whole-file and --no-whole-file options set/reset both variables so if more than one option is specified the last one will be the one honored. M generator.c M options.c commit 24448f741fdd0d77b5a4aa3d3b0201ded4f5518f Author: Martin Pool Date: Tue Mar 19 05:52:34 2002 +0000 Clean up sgml. Add note about building with gcc. M doc/rsync.sgml commit 76533c52dcdda2af52c892cb2b13206e7070c0a6 Author: Martin Pool Date: Tue Mar 19 05:23:04 2002 +0000 todo: Versions of read() and write() that corrupt the stream, or abruptly fail M TODO commit 3ff984d7a7fd12bcc9bbc9eddd426de6902c53ef Author: Martin Pool Date: Tue Mar 19 05:09:19 2002 +0000 Fix --help layout. M options.c commit 7a52790b50065dafa41da714942a579f17472249 Author: Martin Pool Date: Tue Mar 19 05:01:36 2002 +0000 Fix overly long line in version. M options.c commit 7b329a2d798d24d5f3928b3a8653cedb16d3425e Author: Martin Pool Date: Tue Mar 19 05:00:05 2002 +0000 Follow advice from GPL to insert a disclaimer of warranty in the version and help information. M options.c commit 599dc93c643352ef76d84de0bf9fc25e72e72178 Author: Martin Pool Date: Tue Mar 19 04:14:30 2002 +0000 Doc: Pipe program that makes slow/jerky connections. M TODO commit 8b54f004668e0f04d33f609ba3160d58d31d7efd Author: Martin Pool Date: Tue Mar 19 04:10:07 2002 +0000 Include all fields in the options table to quieten gcc warnings about missing initializers. M options.c commit 8469faef038a262cc0aabae822bdd99fcda654c6 Author: Martin Pool Date: Tue Mar 19 03:59:51 2002 +0000 Intentional test of assert :_) M options.c commit bceec82f357618356fd209578dfccbbd6b52efba Author: Martin Pool Date: Tue Mar 19 03:39:42 2002 +0000 Previous solution for --no-whole-file would probably break when connecting to old servers that don't have --no-whole-file. Instead, we handle no_whole_file and whole_file separately, without the magic -1 value. We don't modify no_whole_file after initialization. M generator.c M main.c M options.c commit ed521de52512ea778f39b16c5d8221a80281614c Author: Martin Pool Date: Tue Mar 19 03:27:33 2002 +0000 Sending --no-whole-file is no good because it will not work with old versions of rsync. M options.c commit d157de203a0c230d61e90a53904bc2d949ac48a2 Author: Martin Pool Date: Tue Mar 19 03:23:08 2002 +0000 Typo. M generator.c commit 1bfbf40bd57f086f69971165feef54c13c6fadfd Author: Martin Pool Date: Tue Mar 19 03:21:53 2002 +0000 Fix --whole-file problem that caused it to be the default even for remote connections. (Frank Schulz) Also, add documentation for whole_file and add assertions that the value is valid. M NEWS M generator.c M options.c M rsync.h commit 6d19c6742c58313d4c37fee3478dff03665bc6b0 Author: Martin Pool Date: Sat Mar 16 09:26:33 2002 +0000 Need a test for "refuse options" M TODO commit a628b06977dbcb58281b11024f4b76227666d7d0 Author: Martin Pool Date: Sat Mar 16 09:11:56 2002 +0000 Note about 100295@bugs.debian.org M TODO commit 6b2d24de2c672476ae2591d28b82ff747d42a101 Author: Martin Pool Date: Sat Mar 16 09:00:44 2002 +0000 Make sure that freeaddrinfo is called on all code paths leading away from a call to getaddrinfo. (Dave Dykstra) <20011219085021.A23107@lucent.com> M NEWS M socket.c commit e23d790fa73c6c615a81e16d21a7f7684922253c Author: Martin Pool Date: Sat Mar 16 08:23:08 2002 +0000 Doc: Note from Dave Dykstra that getaddrinfo calls must be paired with freeaddrinfo(). M socket.c commit 2a5904a580ad3a10a43214e06846f086d8f7479e Author: Martin Pool Date: Sat Mar 16 08:21:15 2002 +0000 Add more rules for make distclean. M Makefile.in commit 4610ac79c24c27b309887dd493c5900568948670 Author: Martin Pool Date: Sat Mar 16 08:18:19 2002 +0000 "make distclean": We try to delete built files from both the source and build directories, just in case somebody previously configured things in the source directory. M Makefile.in commit 142f5be922393e2a86f364da6fff4cd15499a9d6 Author: Martin Pool Date: Sat Mar 16 00:00:43 2002 +0000 Note about --progress patch. M NEWS commit b17dd0c435d754abc8cafcb5b1464c44f92f73fe Author: Martin Pool Date: Fri Mar 15 14:01:43 2002 +0000 Note about debian #28416 M TODO commit 3669201179327e6257122858b9aaa05f4d0e673f Author: Martin Pool Date: Fri Mar 15 13:42:42 2002 +0000 Add debian bug # M TODO commit a5c48193c7c4a02fbee04c31718f68026673f86a Author: Martin Pool Date: Fri Mar 15 13:38:12 2002 +0000 Keep stderr and stdout properly separated (Debian #23626) M TODO commit 4366275bab47eb9904314c9284c63d95e0114906 Author: Martin Pool Date: Fri Mar 15 12:53:21 2002 +0000 Doc: Debian uses "nogroup" instead of group "nobody", so our defaults are not so good. M loadparm.c commit c579310a009dc21a0f2b378c711980336f79add6 Author: Martin Pool Date: Fri Mar 15 12:45:10 2002 +0000 If we've finished transferring a file, show the time taken; otherwise show expected time to complete. That's kind of inconsistent, but people can probably cope. Hopefully we'll get more consistent and complete progress reporting soon. (Cameron Simpson) M util.c commit 96553aa7ef09f5ce0bc50bd8dc3baefbb82deb8c Author: Martin Pool Date: Fri Mar 15 06:29:22 2002 +0000 Typo. M testsuite/rsync.fns commit 2094283b80456181d66db5761e89a03f81d50555 Author: Martin Pool Date: Fri Mar 15 06:28:58 2002 +0000 On Solaris, put /usr/ucb/bin at the end of the path to help find utilities we might need. (Like 'whoami' in this case.) M testsuite/rsync.fns commit 4c631ac621e34e712f25045bd721876c173e6709 Author: Martin Pool Date: Fri Mar 15 01:22:09 2002 +0000 Try to handle 'test -L' on Sun. M NEWS commit d96d3893ddc9d5b2d3cb8405d2fccb5b75a8b717 Author: Martin Pool Date: Fri Mar 15 01:08:53 2002 +0000 Try to handle 'test -L' on Sun. M testsuite/rsync.fns M testsuite/symlink-ignore.test commit b73b51a9e4a196dc352c3336064bcc21f82797e9 Author: Martin Pool Date: Fri Mar 15 01:04:25 2002 +0000 More notes M TODO commit 3c1edccb7b5bf8266ca51ee258397061cbf096c5 Author: Martin Pool Date: Fri Mar 15 01:03:24 2002 +0000 Suggestion from david.e.sewell to add --diff. M TODO commit b23c29063064570b1d9f7d8922251455a85927bd Author: David Dykstra Date: Thu Mar 14 21:20:20 2002 +0000 Eliminate extraneous "done" messages in verbose mode. Problem reported by Lee Eakin. M flist.c commit c7b562becf9c926f65b9845ed6cd1c3a4635cf83 Author: Martin Pool Date: Thu Mar 14 12:00:12 2002 +0000 Correct the plural in "1 file to consider." (Greg Louis) M flist.c commit 5648a819360b016c527b7a56b33571699f273e53 Author: Martin Pool Date: Thu Mar 14 10:42:52 2002 +0000 Add phony target to run Splint. M Makefile.in commit daa3d0e2da1410a88046de97fb0b4d73380e6978 Author: Martin Pool Date: Thu Mar 14 10:38:55 2002 +0000 "make install-strip" works. (Greg Louis) M Makefile.in M NEWS commit c9a66d41fe0ba582ba22bae7d81939c656ac0422 Author: Martin Pool Date: Thu Mar 14 10:33:59 2002 +0000 Roll over news file; put in page markers. M NEWS M OLDNEWS commit 0ee1bd82c587a671846f1a6a9becf499b27355d7 Author: Martin Pool Date: Thu Mar 14 03:10:23 2002 +0000 Bump version to 2.5.5cvs M configure.in commit 53e1f937bc8fdfdf4caa1ec9e10101bee3d67d99 Author: Martin Pool Date: Thu Mar 14 03:04:36 2002 +0000 Show user name and `uname -a` in the test output header, to aid in bug reports. (We mostly want to know if they're root or not.) M runtests.sh commit 604f343c49fcc8ec396e439cc6146a862a111405 Author: Martin Pool Date: Thu Mar 14 02:55:11 2002 +0000 Doc: "opening tcp connection to %s port %d" is kind of misleading when running the test case. M clientserver.c commit e9c4c3018b3ff80063e51a1e31b7f70fba36f567 Author: Martin Pool Date: Wed Mar 13 04:25:10 2002 +0000 More notes on testing. M TODO commit db1babe6a9066a90e96da2f1bd6f49dc75e4ad74 Author: Martin Pool Date: Wed Mar 13 00:25:00 2002 +0000 If a child of the rsync daemon dies with a signal, we should notice that when we reap it and log a message. M TODO commit f1abcc7a4c4babb67d117f3b0288ceb42d641c87 Author: Martin Pool Date: Wed Mar 13 00:03:34 2002 +0000 Bump version to 2.5.4. M NEWS M configure.in commit 97e1254a2db20f02405c2883041c0f1d345f3cd7 Author: Martin Pool Date: Tue Mar 12 23:55:33 2002 +0000 Notes on chmod. M TODO commit 89b0a3d963097d8b1f7d807d8bd617c1477937b4 Author: Martin Pool Date: Tue Mar 12 06:08:36 2002 +0000 If we get an error writing to a socket, then we should perhaps continue trying to read to see if an error message comes across explaining why the socket is closed. I'm not sure if this would work, but it would certainly make our messages more helpful. M TODO commit 3a79260d3a3510b011ed76a7c201d60619893817 Author: Martin Pool Date: Tue Mar 12 05:48:57 2002 +0000 Add link to purify replacement. M TODO commit 43a4dc1053bd3bfec67f3cc6a6fa4edc1f394a82 Author: Martin Pool Date: Tue Mar 12 05:47:45 2002 +0000 Add link to purify replacement. M TODO commit e53fe9a278881d1d96e73372bb13b57ebcbed73d Author: Martin Pool Date: Tue Mar 12 05:41:25 2002 +0000 Note about TDB. M TODO commit f5a95bb50b582e0cf7885cd6ce7d1a4e38363f40 Author: Martin Pool Date: Tue Mar 12 05:39:29 2002 +0000 Notes on testing. M TODO commit 0e23e41d484b0edc653f2b402bb2ea0a18e00444 Author: Martin Pool Date: Tue Mar 12 05:33:39 2002 +0000 Note about splint. M TODO commit ac69049ec2c354299b260fb859d029609fba91e5 Author: Martin Pool Date: Tue Mar 12 02:07:36 2002 +0000 Additional trivial merge patch from Jos M zlib/infblock.c commit b2a2dd115446f905458368f9e4d20df457fd7a87 Author: Martin Pool Date: Tue Mar 12 01:26:01 2002 +0000 Get ready for new release. M OLDNEWS commit 31837783c01ce647390fb9aa153160f8e5bd5049 Author: Martin Pool Date: Tue Mar 12 01:22:56 2002 +0000 Update NEWS. M NEWS commit d40fb72395de38e208ca3b454a11fba4e1f80d22 Author: Martin Pool Date: Tue Mar 12 01:18:20 2002 +0000 Get ready for new release. M NEWS M OLDNEWS commit 1c548d5e59417f3552dcb3c5ee3bf2657fe9bdb6 Author: Martin Pool Date: Tue Mar 12 01:15:49 2002 +0000 Bump version to 2.5.4pre1. M configure.in commit be59d0ec2329bd6949bd2fd87ebd9ff69770cfb9 Author: Martin Pool Date: Tue Mar 12 01:14:58 2002 +0000 Patch from Jos Backus to merge zlib-1.1.4. M zlib/ChangeLog M zlib/Makefile M zlib/README M zlib/adler32.c M zlib/crc32.c M zlib/deflate.c M zlib/deflate.h M zlib/infblock.h M zlib/infcodes.c M zlib/infcodes.h M zlib/inffast.c M zlib/inffast.h M zlib/inflate.c M zlib/inftrees.c M zlib/inftrees.h M zlib/infutil.c M zlib/infutil.h M zlib/trees.c M zlib/zconf.h M zlib/zlib.h M zlib/zutil.c M zlib/zutil.h commit 0bc467516a83259a1a4b4059001caa6fe0383b46 Author: Martin Pool Date: Tue Mar 12 00:33:51 2002 +0000 Merge the zlib fix properly; back out tridge's bandaid. M zlib/infblock.c M zlib/zutil.c M zlib/zutil.h commit 844f11f284a1b146bab0a96a5af2f920b37cf053 Author: Martin Pool Date: Tue Mar 12 00:22:22 2002 +0000 Clarify behaviour of installcheck. M testsuite/README.testsuite commit 1cf1e7b3b4366e39ae61e941e4d28d4ee18c40ef Author: Martin Pool Date: Tue Mar 12 00:20:16 2002 +0000 Rename to README.testsuite, and bring it up to date. D testsuite/README A testsuite/README.testsuite commit 18b72cc8294b4b07bf1373154d2effc35eb10343 Author: Martin Pool Date: Tue Mar 12 00:11:35 2002 +0000 Try to download a tree over a compressed connection to a daemon. A testsuite/daemon-gzip-download.test commit 271f87e5d415ced858fb63de972fb320c1304079 Author: Martin Pool Date: Tue Mar 12 00:09:09 2002 +0000 This test tries to upload a file over a compressed connection to the server. This ought to exercise (exorcise? :-) a bug in 2.5.3. It ought to fail there and pass with later versions. A testsuite/daemon-gzip-upload.test commit 2e6c7f454924fe6e289d054d67f89dda3c2875c6 Author: Martin Pool Date: Tue Mar 12 00:04:03 2002 +0000 Fix generated rsyncd.conf file for testing. M testsuite/rsync.fns commit 681930474072737451ca95ab5682c7ad69e95060 Author: Andrew Tridgell Date: Mon Mar 11 18:54:51 2002 +0000 a quick fix for a segmentation fault in zlib I am getting whenever I try to upload a file from rsync 2.5.2 to rsync 2.5.3 M zlib/zutil.c M zlib/zutil.h commit a795ab99c73ecf5cd577a8fc092074a850314664 Author: Martin Pool Date: Mon Mar 11 05:58:31 2002 +0000 Set version to 2.5.3. M NEWS M configure.in commit 567e56313a9c14e877814c1223f5dc8839dc95b3 Author: Martin Pool Date: Mon Mar 11 05:55:33 2002 +0000 Merge zlib double-free bug forwarded by Mark J Cox. M zlib/infblock.c commit 9e95e92bdff9c742e06ab237b5aef3d08603e94e Author: Martin Pool Date: Mon Mar 11 05:52:22 2002 +0000 Note on zlib patch merge. M NEWS commit be60c7b9d1d2f7556e29436f6f536a2c5e2dcb17 Author: Martin Pool Date: Mon Mar 11 03:56:35 2002 +0000 Try to merge across changes in zlib from 1.1.2 to 1.1.3. M zlib/Makefile M zlib/README commit 7d81641065fb40dadd6c02527998dba54cf1b3ca Author: Martin Pool Date: Mon Mar 11 03:44:44 2002 +0000 Note about merging zlib 1.1.3. M NEWS commit 17d8573ef03a174d94c8c012295c9b7209e4bc05 Author: Martin Pool Date: Mon Mar 11 03:40:23 2002 +0000 Bump version to 2.5.3pre3. M configure.in commit e2dd78f7442ce404608fdad6e064d86386e81013 Author: Martin Pool Date: Mon Mar 11 03:39:49 2002 +0000 Add CVE number. M NEWS commit 06b91d8eb97dd7ba1fa8af3f58e5aee28d831b3f Author: Martin Pool Date: Mon Mar 11 03:35:35 2002 +0000 Try to merge across changes in zlib from 1.1.2 to 1.1.3. M zlib/ChangeLog M zlib/deflate.c M zlib/deflate.h M zlib/infblock.c M zlib/infcodes.c M zlib/inffixed.h M zlib/inftrees.c M zlib/trees.c M zlib/zconf.h M zlib/zlib.h M zlib/zutil.c M zlib/zutil.h commit 9ec5422c37fb38725523c8617df403954beb61dc Author: Martin Pool Date: Mon Mar 11 00:58:36 2002 +0000 Try adding some FAQs from the FoM M doc/rsync.sgml commit 1935e11c3c5c06b1f2871ce0d6b89734af9baa70 Author: Martin Pool Date: Mon Mar 11 00:38:03 2002 +0000 Use SGML rather than texinfo. D doc/rsync.texinfo commit ec14031abd6eaa4268559cf605fc754271c0e36f Author: Martin Pool Date: Mon Mar 11 00:36:47 2002 +0000 More merges into SGML. M doc/rsync.sgml commit 024a9bafbdbf462f609f88771104de3dd6157d71 Author: Martin Pool Date: Mon Mar 11 00:27:42 2002 +0000 Notes on processing the SGML stuff. A doc/README-SGML commit 27741d9fd96988b03608d9c2493602012b9b37cf Author: Martin Pool Date: Fri Mar 8 04:41:11 2002 +0000 Notes from Rasmus about statistics. M TODO commit e3bdb76326a4a06023bc1f24e5e0dd271df87825 Author: David Dykstra Date: Wed Feb 27 23:15:55 2002 +0000 Cygwin doesn't have setgroups() so probe for the function in configure and don't try to call it if it doesn't exist. M clientserver.c M configure.in commit 93695764591e638d19e9ba858aceaa90374e1d33 Author: David Dykstra Date: Wed Feb 27 22:49:57 2002 +0000 I had accidentally deleted the case for --include-from when I added the --no-blocking-io and --no-whole-file options. This adds it back in. M options.c commit 8a405c6ca15248347b8683184bc7e61f725ed027 Author: Martin Pool Date: Mon Feb 25 20:07:11 2002 +0000 Try out DocBook SGML to see if it's easier than Texinfo. A doc/rsync.sgml commit 94ad1c647792ec934999cf9bde660b58cb05a84c Author: Martin Pool Date: Mon Feb 25 18:54:27 2002 +0000 Start of Python code to generate likely-looking pseudo random file trees to reproducibly test performance on specified size sets. A testhelp/maketree.py commit 6f039cc2ac0112fd8eb1dc7c432f8b344b086871 Author: Martin Pool Date: Mon Feb 25 18:52:02 2002 +0000 Merge Texinfo onto head. A doc/rsync.texinfo commit 6216ca2c70e48be27b635e78fc5f40d4fb860e73 Author: Martin Pool Date: Mon Feb 25 18:48:25 2002 +0000 Add targets to build documentation from Texinfo. M Makefile.in commit c6e27b608e6567a52c39c45b37c152cd70964ae9 Author: Martin Pool Date: Mon Feb 25 18:28:37 2002 +0000 More discussion about zlib. M TODO commit f76584a57ca515ffe2a586aa05117b911f58ffea Author: Martin Pool Date: Mon Feb 25 18:06:33 2002 +0000 Scrappy notes on hot functions that should be fixed A doc/profile.txt commit 7bea78ced6f9156a8b5c37c4ae8cb15698ead4cd Author: Martin Pool Date: Sat Feb 23 01:00:33 2002 +0000 With -vv, client shows a message when opening a daemon connection via an HTTP proxy. This parallels the recent addition of a log message for opening ssh connections. M socket.c commit 1264288cb551c516d46f36cdc8704b22f33321f7 Author: Martin Pool Date: Sat Feb 23 00:57:30 2002 +0000 With -vv, client shows a message when opening a daemon connection. This parallels the recent addition of a log message for opening ssh connections. M clientserver.c commit 0f0ea7f779623fc4cad2bbf8c955b32d37588127 Author: Martin Pool Date: Sat Feb 23 00:17:50 2002 +0000 Add UNUSED macro that expands to a parameter attribute annotation on gcc, to quieten its worries about parameters that must always be unused. M main.c M rsync.h commit 0b4af330ced1003dcac7d169d0012ecf5c79e29f Author: Martin Pool Date: Sat Feb 23 00:12:11 2002 +0000 Doc. M main.c commit 6dd41b67fbe371b60f73e83a717e818dd2567f63 Author: Martin Pool Date: Sat Feb 23 00:05:06 2002 +0000 print_child_argv can be static. M util.c commit 1521eefb6242d0ea0f422d010718dee9e8e20aa9 Author: Martin Pool Date: Sat Feb 23 00:02:07 2002 +0000 Make "make proto" work for VPATH builds. M Makefile.in commit a036a0e818a9a022bf51cd4546fda4b23089b66c Author: Martin Pool Date: Thu Feb 21 00:56:11 2002 +0000 Revert 1.134 -- this breaks Net/Free BSD. M configure.in commit 7583ded808be86e0267a83b558892b29ee278e15 Author: Martin Pool Date: Thu Feb 21 00:45:48 2002 +0000 Make setgroups(0,0) unconditional -- accidentally thinking we have don't it on a machine that does have supplementary groups would be a security hole. If this breaks anything we'll fix it later. M clientserver.c M configure.in commit 78818f44653a94a4eb1d157cc9c93f9a67d5a86c Author: Martin Pool Date: Thu Feb 21 00:26:06 2002 +0000 Add bug # for #132272 M NEWS commit 7a49cb56675fd44455fb473557afa2ec50e690bb Author: Martin Pool Date: Tue Feb 19 23:40:47 2002 +0000 Patch from Albert Chin to fix getaddrinfo on Tru64 UNIX 5.x. M configure.in commit 23212669acb865b1095bcd49ba70515272109dc6 Author: Martin Pool Date: Tue Feb 19 02:16:37 2002 +0000 Bump version to 2.5.3pre1 M configure.in commit 3ce0f9a653c2b6a0a4c8b3b2192ab03084213032 Author: Martin Pool Date: Tue Feb 19 01:41:20 2002 +0000 Clean up error message M io.c commit d834adc14f737d21bfee78606c0a375e4701514d Author: Martin Pool Date: Tue Feb 19 01:39:11 2002 +0000 Doc M TODO commit b84ba8967a591b52abda755f809842e3bcd74f98 Author: Martin Pool Date: Tue Feb 19 01:07:24 2002 +0000 rsync prefix on mkdir and pushdir error messages. M main.c commit 79845f28349b27e9b08ee1965337c12de927be2a Author: Martin Pool Date: Mon Feb 18 23:36:10 2002 +0000 Doc. M socket.c commit 78ece130a45c30211fc0727e4f9105c82f87bc36 Author: Martin Pool Date: Mon Feb 18 23:09:50 2002 +0000 Change shell syntax to try to please Solaris M testsuite/symlink-ignore.test commit bd37c6663080198fc8ba60a50f3ccfe11b09fe69 Author: Martin Pool Date: Mon Feb 18 22:58:49 2002 +0000 Fix error handling for failing to fork after accepting a connection -- close fd, sleep, then try again. M socket.c commit 371d1c36b33d89b3a2c0defc0888440e6d18660a Author: Martin Pool Date: Mon Feb 18 22:55:21 2002 +0000 Solaris does not have diff -u. M testsuite/rsync.fns commit d0f821ad3d2627b842cf18770f91266a808b83b8 Author: Martin Pool Date: Mon Feb 18 22:49:00 2002 +0000 Must use STRUCT_STAT not "struct stat" to be compatible with other rsync functions. M tls.c commit ded8347d6b8aca7fafaeb8fea40b789d6425addd Author: Martin Pool Date: Mon Feb 18 22:44:23 2002 +0000 Cope with BSD systems on which mkdir() will not accept a trailing slash. M NEWS M syscall.c commit c4a5c57dc3ad079ca7017f1881613937a602e72e Author: Martin Pool Date: Mon Feb 18 22:38:03 2002 +0000 If the daemon is unable to fork a child to accept a connection, print an error message. (Colin Walters) M NEWS M socket.c commit 404e813c5233db8d6cc0cc74b7b49922c0953773 Author: Martin Pool Date: Mon Feb 18 22:25:55 2002 +0000 Add -vvv trace statement to set_modtime to help with Debian bug #100295. M util.c commit 90d0a8db38fd6e5cbf5ea0a97e5b4b9a46300db6 Author: Martin Pool Date: Mon Feb 18 22:14:46 2002 +0000 This test must specify --times because it compares listings that include mtimes. M testsuite/chgrp.test commit 956ff9ff72519d2ec4826654bfda1567d89555e5 Author: Martin Pool Date: Mon Feb 18 22:07:44 2002 +0000 Fix bug that made tls.o not be removed by 'make clean'. M Makefile.in commit 1eca49c6edbdf24593e6bcefbd11822bb7a21af0 Author: Martin Pool Date: Mon Feb 18 21:46:49 2002 +0000 Doc: #defiine lchown chown could be bad on systems which have no lchown and where chown follows symbollic links. On such systems it might be better not to try to chown symlinks at all. M rsync.h commit 34758d5c1565188352c6a58a9ae223e44db7e46d Author: Martin Pool Date: Mon Feb 18 20:06:57 2002 +0000 Ignore SIGPIPE and allow EPIPE to get through to the program so that we don't get stuck in a recursive loop trying to report a broken pipe across that same broken pipe. Debian bug #128632 (Colin Walters) M main.c commit befbfe61156f63a8dadaf0efaaae4bfbf435c00c Author: Martin Pool Date: Mon Feb 18 19:54:00 2002 +0000 Fix for rsync server processes hanging around after the client unexpectedly disconnects. (Colin Walters) (Debian bug #128632) M NEWS M io.c commit 900748fca13ed9b4305b6ae323e1cc3b27ac00c6 Author: Martin Pool Date: Mon Feb 18 19:51:12 2002 +0000 rwrite: Doc. M log.c commit 87ee248169774a0589e0ca3a87f088ea5ab400ca Author: Martin Pool Date: Mon Feb 18 19:44:04 2002 +0000 Document multiplex stuff. M io.c commit bb7c4fa3612a6202e92611acca7f25c0d8bcf799 Author: Martin Pool Date: Mon Feb 18 19:10:28 2002 +0000 Doc. M exclude.c commit c613d3704853c399f6b30b35fb1c9e63045b761a Author: David Dykstra Date: Mon Feb 18 18:29:48 2002 +0000 If a daemon prints an error message of @ERROR, have the client treat the message as an FERROR rather than an FINFO. M clientserver.c commit d52a22e4dbd23ce9120c66f005ee717bd3b5d2fc Author: David Dykstra Date: Thu Feb 14 15:27:55 2002 +0000 Add item about fixing "out of memory in flist_expand" on Sunos4. M NEWS commit 6dfb45bcdf7f40e970a7be7bb67a567dd1484744 Author: David Dykstra Date: Wed Feb 13 18:57:06 2002 +0000 Added the two most important bug fixes to NEWS to make sure they're not forgotten for the next release. M NEWS commit 145794936fc7e87c500dd809e8e67313105825fb Author: David Dykstra Date: Wed Feb 13 18:45:17 2002 +0000 Patch from Jos Backus to use HAVE_SOCKADDR_LEN rather than HAVE_SOCK_SIN_LEN around use of sin_len. Correct usage was already in place in clientname.c. M socket.c commit 301c680fd7689527bf5078ca8139eaa5458009de Author: David Dykstra Date: Wed Feb 13 18:42:20 2002 +0000 Suggested patch from Jim Ogilvie to print out the system error message when mkstemp fails. M receiver.c commit d27cbec598136ff8ff767ebbfb5d9d39e0b7c03e Author: David Dykstra Date: Wed Feb 13 18:30:27 2002 +0000 Reversing the order of maybe_emit_filelist_progress() and emit_filelist_progress() makes the native compilers on systems including Solaris and Irix happier. M flist.c commit f5be54d6abe3f3a331f40e58f899f66a60165a3c Author: David Dykstra Date: Wed Feb 13 18:06:36 2002 +0000 Some systems, notably Sunos4, do not support realloc(NULL, n), so if nothing has yet been malloced in flist_expand(), call malloc instead of realloc. Problem introduced in revision 1.106 of flist.c on January 25. M flist.c commit 1e19f7ba5fbe801ab2dcc2c48f3b34834542ea84 Author: Martin Pool Date: Wed Feb 13 02:57:55 2002 +0000 At least change INO64_T and DEV64_T back to just 'int64', not 'unsigned int64'. This should fix some compile problems on machines where int64 is not a simple integer type, but I'm not convinced it is the ideal fix. M rsync.h commit db719fb0d77ad232c74a3a73c348e1e69672fe61 Author: Martin Pool Date: Wed Feb 13 02:44:31 2002 +0000 Factor out code for filelist progress. Copy&paste considered harmful. Add a little doc about potential optimization of stat() calls. M flist.c commit b0d4f4c10ed89cff36ceec26a510ac36d51dea0a Author: Martin Pool Date: Sat Feb 9 07:43:13 2002 +0000 Add a test that --owner correctly propagates ownership of files for a local transfer as root. A testsuite/chown.test commit 238d23d7751da9f7141cc867e959f5b27a3c2cc2 Author: Martin Pool Date: Sat Feb 9 07:42:37 2002 +0000 Add a test that --group correctly propagates groups of which the local user is a member. A testsuite/chgrp.test commit c019068f06ca394532a7674aa50c165a0f2a0859 Author: Martin Pool Date: Sat Feb 9 03:36:33 2002 +0000 Add $preserve_scratch and $always_log so if you want to see details about successful tests, you can. M runtests.sh commit 715d1f45046ac6f45b6b84c239e1ad4a9c616215 Author: Martin Pool Date: Sat Feb 9 03:30:22 2002 +0000 Oops -- have to call setgroups() before giving up root. Doc some of the peculiarities about starting rsyncd as root vs non-root. M clientserver.c commit 4f092bee9fd818de4248f420388bf2d6eacea987 Author: Martin Pool Date: Sat Feb 9 02:18:42 2002 +0000 Make sure we call setgroups() after setuid(). (Ethan Benson) M NEWS M clientserver.c M configure.in M log.c commit 1bbd10fe070d8b07a8c4991e17d1fc04295fe42e Author: David Dykstra Date: Thu Feb 7 16:36:12 2002 +0000 Remove the "rsync:" prefixes on FINFO messages. Return the "building file list ... done" to the way it was in 2.5.1 and before when not using -P. Apply the file list progress messages when receiving files in addition to sending files. M clientserver.c M flist.c M generator.c M util.c commit 088aac85971f3f1571c7f90569c95d5025b1fd82 Author: David Dykstra Date: Wed Feb 6 21:20:48 2002 +0000 Make batch mode actually work and add man page documentation. From Jos Backus. M NEWS M batch.c M errcode.h M log.c M main.c M options.c M rsync.yo commit 81c652d5d28efcc9bd9c69173305dc237b85c9d4 Author: Martin Pool Date: Wed Feb 6 04:37:09 2002 +0000 Merge modified --with-rsh patch: we now determine the default remote-execution command as follows: 1) if --with-rsh is specified, use that. 2) otherwise if remsh is in the path, use that. 3) otherwise use rsh If remsh is present, we always modify the order of parameters to suit it. This is a bit strange. M configure.in M rsync.h commit d7761c14803aea387fec917a6081721b3bf5fb7f Author: Martin Pool Date: Wed Feb 6 04:34:40 2002 +0000 Doc: Rusty's /*/* exclude hack produces spurious output with -vv. M exclude.c commit 93689aa51a1541cbc53bd9fa261b9c01ce0d0a95 Author: David Dykstra Date: Tue Feb 5 23:05:31 2002 +0000 Add --no-whole-file and --no-blocking-io options M NEWS M main.c M options.c M rsync.yo commit 46e6ad492a87595d271279e7dda5df4f8be9e730 Author: Martin Pool Date: Tue Feb 5 00:37:53 2002 +0000 Only print the command used to open connections with -vv, not just -v. M NEWS commit 97efa5c36cde8410c75a0a36607b04a9aba2dc54 Author: Martin Pool Date: Tue Feb 5 00:35:31 2002 +0000 Roll over NEWS M NEWS M OLDNEWS commit 0b1ffe27551d571f105109a248f3080b22a66372 Author: Martin Pool Date: Tue Feb 5 00:34:03 2002 +0000 Only print the command used to open connections with -vv, not just -v. M util.c commit 8c35542d1f37d479779de7519494680bf09f4a07 Author: Martin Pool Date: Tue Feb 5 00:25:52 2002 +0000 Patch from wayned so that add_exclude_list produces clearer debugging output with -vvv. M exclude.c commit 0e9480317dbb5b8003535a769f4a03bc720d5f5f Author: Andrew Tridgell Date: Sun Feb 3 01:38:39 2002 +0000 the signed/unsigned change seems to have caused a logic bug on some systems (only those without large file support perhaps?) this fixes it M match.c commit b695d088cfc64096516f2171e88f630dbc00c9b8 Author: David Dykstra Date: Tue Jan 29 21:52:57 2002 +0000 Better explanation of --force. It is applicable whenever --delete is not in effect. M rsync.yo commit 81dc5750ca131658e42f3a830443849a9b6d119b Author: David Dykstra Date: Mon Jan 28 21:09:03 2002 +0000 A more accurate description of --force as I know it. M rsync.yo commit d82434cf27f71d18013c626a2baff068c00d84c1 Author: David Dykstra Date: Mon Jan 28 17:06:04 2002 +0000 Clarify the --force entry in the rsync man page. M rsync.yo commit cd6058f3d4213d884d27e39c26c4c66439d33fa9 Author: Martin Pool Date: Fri Jan 25 23:19:21 2002 +0000 Oops, version should be just 2.5.2. M NEWS M configure.in commit 9be3ba223c72f3e193404f503f10acece5d646e7 Author: Martin Pool Date: Fri Jan 25 23:16:18 2002 +0000 Bump version to 2.5.3. M NEWS M configure.in commit a261989cda6f671352e6323f11d2d98e923c622e Author: Martin Pool Date: Fri Jan 25 23:07:33 2002 +0000 More signedness fixes; should be harmless. M fileio.c M flist.c M match.c M receiver.c M sender.c M util.c commit 7b5c3eb05efb0d67348c92d81da599c64e0c03db Author: Martin Pool Date: Fri Jan 25 23:01:50 2002 +0000 io_end_buffering doesn't need (or use) it's fd parameter: there's only one multiplexed stream. M io.c commit 0feec72eee8680d0e6912774c8b94afb350ef23e Author: Martin Pool Date: Fri Jan 25 23:00:21 2002 +0000 DEV64_t and INO64_T should probably be unsigned M rsync.h commit be8bd99aa47295aa0b52b5052f530dcb27c63975 Author: Martin Pool Date: Fri Jan 25 22:59:37 2002 +0000 check_name doesn't need a socklen_t, because it knows what is inside each sockaddr type. M clientname.c commit 355b8bcd73745553449c6666abf92326590af9a4 Author: Martin Pool Date: Fri Jan 25 10:56:43 2002 +0000 Add test case for device nodes. This test will be skipped unless you run "make check" as root. A testsuite/devices.test commit d58e4c273c6a8d770c4e0cd80d5f1b70270eb229 Author: Martin Pool Date: Fri Jan 25 10:55:59 2002 +0000 When comparing directories, use `find .` to call diff, rather than diff -r. Two reasons: diff -r might not work everywhere, and it also might complain about nonregular files. M testsuite/rsync.fns commit a217ad3095f621eca116ce19e47cfccbb9c09836 Author: Martin Pool Date: Fri Jan 25 10:47:47 2002 +0000 Add test_skipped function. M testsuite/rsync.fns commit 3d6feada8a8462c38cc2f70ec5f2fb00eee58f31 Author: Martin Pool Date: Fri Jan 25 10:42:23 2002 +0000 New --ignore-existing option, patch previously distributed with Vipul's Razor. (Debian #124286) M NEWS M generator.c M options.c M rsync.yo commit 5f78da202569ff1a4126c85a497156f5a7604e9a Author: Martin Pool Date: Fri Jan 25 10:39:08 2002 +0000 Fix for device nodes. (dann frazier) (Debian #129135) M flist.c commit a05e4fa512f9a0956b0c1049986d6fa01137b472 Author: Martin Pool Date: Fri Jan 25 10:28:13 2002 +0000 Fix for device nodes. (dann frazier) (Debian #129135) M NEWS commit 2119a4c46215d8fd1eadd6b34b7437493fe19080 Author: Martin Pool Date: Fri Jan 25 10:16:11 2002 +0000 Another DEV64_T change. M flist.c commit 1d5a1da9f82f71e42e1609a4f91ef9020855be4b Author: Martin Pool Date: Fri Jan 25 10:12:36 2002 +0000 With -vv, when the file list grows, show a message. M flist.c commit 2e7d19945c6fa8ff4a2dbd4561cc499e94ac56c4 Author: Martin Pool Date: Fri Jan 25 10:12:02 2002 +0000 With -vv, when the file list grows, show a message. M flist.c commit 5d2c5c4c7338004528d8df111e37fd992622e092 Author: Martin Pool Date: Fri Jan 25 10:09:00 2002 +0000 Undo overzealous deletion. M flist.c commit 869431269586507d77909cbbe1f2640c40bb8a40 Author: Martin Pool Date: Fri Jan 25 10:06:36 2002 +0000 Add dummy show_flist_stats(). M flist.c M main.c commit d9d6bc5278f96c2327fafa697324c8fc90142dbc Author: Martin Pool Date: Fri Jan 25 10:05:49 2002 +0000 Factor out code to grow the file list into a common location. M flist.c commit ebed4c3af07f87648db56fa864aade583144e772 Author: Martin Pool Date: Fri Jan 25 09:59:00 2002 +0000 indent -kr -i8 M flist.c commit 172875cf15dea66c37e8bae2b9df2a8858fcc816 Author: Martin Pool Date: Fri Jan 25 09:54:21 2002 +0000 Add link to the message that introduced string_area. M flist.c commit 4d26e9e4f42b617378e68cceb871bd85bc0ca6be Author: Martin Pool Date: Fri Jan 25 09:45:45 2002 +0000 mallinfo is implemented. M TODO commit 8f4455f296952dba877c15721d67d6f42db9d3fc Author: Martin Pool Date: Fri Jan 25 09:44:17 2002 +0000 Notes about flist. M TODO commit 2e1d43deb2fe270a97bc0f596d4a0c175fccf2c3 Author: Martin Pool Date: Fri Jan 25 02:53:48 2002 +0000 Ignore autoconf fluff. M .cvsignore commit 6780f7200009a2b2603cee8f808170a93600891a Author: Martin Pool Date: Fri Jan 25 02:45:09 2002 +0000 Add code to compare sin6_addrs. M clientname.c commit 39e01d2d4b4bc1f86f30e7a02d7b2b1141b79c56 Author: Martin Pool Date: Fri Jan 25 02:43:35 2002 +0000 Back out last change -- to see whether an address is spoofed, we don't want to look at the whole sockaddr, but rather just at the sin_addr that it contains. Also fix silly bug where ai_flags was set incorrectly for getaddrinfo. M clientname.c commit f75502950b37cf202332387df3af2dec27e65535 Author: Martin Pool Date: Fri Jan 25 02:37:20 2002 +0000 compare_addrinfo_sockaddr: Add code to compare AF_INET6 addresses. M clientname.c commit 974f27e7e9844f483b5eb74c2f09e37f3f294462 Author: Martin Pool Date: Fri Jan 25 02:29:53 2002 +0000 Split out code to compare addrinfo and sockaddr into it's own function. The comparison cannot be done just byte-by-byte, because different parts of the sockaddr will be meaningful depending on the protocol. It looks like on some systems the library sets the unused parts to 0, but this is not reliable. IPv6 not implemented yet. M clientname.c commit af32f69eb09f4aff718879ba8e53debd7325ddd3 Author: Martin Pool Date: Fri Jan 25 02:15:58 2002 +0000 Doc. M clientname.c commit 0cd2f40764dd156de309f7536f3867968b6c0fdd Author: Martin Pool Date: Fri Jan 25 02:13:04 2002 +0000 The name resolution stuff is getting complicated -- split it out into its own file. M Makefile.in A clientname.c M socket.c commit 0d9582499579ffc8507e56d60b28f0efc44f5f65 Author: Martin Pool Date: Thu Jan 24 09:42:52 2002 +0000 Verbose messages for spoof check... doesn't work on old linux libc? M socket.c commit bbc09ffba9ffc29381e72249df5375e60e9d5463 Author: Martin Pool Date: Thu Jan 24 08:52:28 2002 +0000 When doing a name->addr translation to check for spoofing, give the resolver the address family of the original address as a hint, so that we're more likely to find the correct A or AAAA record., M socket.c commit a4677968cf0f439b58180ea72d5d53ad464ef832 Author: Martin Pool Date: Thu Jan 24 08:50:35 2002 +0000 Message on successful configuration. M configure.in commit 03b1cddc3133a8c777e72726db177755298ae32f Author: Martin Pool Date: Thu Jan 24 08:42:21 2002 +0000 Fix comment. Bump version to 2.5.2pre3 M configure.in commit 9c2dd04993611e289a16f9b417f71a0a96d50a9b Author: Martin Pool Date: Thu Jan 24 08:20:51 2002 +0000 Name resolution on machines supporting IPv6 is improved. M NEWS commit a84a93fafeea6763973ef26a4dcd4000afb9fcef Author: Martin Pool Date: Thu Jan 24 08:19:28 2002 +0000 ignore gmon.out M .cvsignore commit 5fdcc397b1006262aac7bfdfd0d03318a7fa59f4 Author: Martin Pool Date: Thu Jan 24 08:16:27 2002 +0000 Fix getpeername call. M socket.c commit 5664871e5f11465cae8a1264d32dbf4a36df3821 Author: Martin Pool Date: Thu Jan 24 08:09:46 2002 +0000 size_t fix. M batch.c commit 55d9e0fadacbc50a8758297c1d6ccfcf2fe9a867 Author: Martin Pool Date: Thu Jan 24 08:08:56 2002 +0000 write_batch_csums_file: Opaque IO buffers should be void*. M batch.c commit 929e3011c6fe8475c80708275086a86a189ee25f Author: Martin Pool Date: Thu Jan 24 08:07:35 2002 +0000 Fix cast that was breaking HP/UX. M batch.c commit 07d70ff56063411c54aafafe4f1716287dcb9470 Author: Martin Pool Date: Thu Jan 24 08:05:22 2002 +0000 Move both calls to getpeername into a common wrapper function that handles IPV4_MAPPED addresses. M socket.c commit 58c2960960782a41d796892d7ead4b60e149b797 Author: Martin Pool Date: Thu Jan 24 07:22:38 2002 +0000 Must get declarations from addrinfo.h before prototypes. M rsync.h commit 00d943d513e9fb5863f2247f19340e0b7f476041 Author: Martin Pool Date: Thu Jan 24 05:57:49 2002 +0000 Another size_t warning M socket.c commit 71c780da06b839598694f0bc8e2c3ccae4b29479 Author: Martin Pool Date: Thu Jan 24 05:57:22 2002 +0000 check_name: Print out name *before* clobbering it. M socket.c commit 3b18cba8890665787f035135fca9d8d9fdfd0aa0 Author: Martin Pool Date: Thu Jan 24 05:54:47 2002 +0000 Try to fix error on Solaris: + [ -f /export/home/build/build_farm/rsync/testtmp.symlink-ignore/to/referent ] + [ -d /export/home/build/build_farm/rsync/testtmp.symlink-ignore/to/from ] + [ -L /export/home/build/build_farm/rsync/testtmp.symlink-ignore/to/dangling ] ./testsuite/symlink-ignore.test: test: argument expected Solaris says it supports -L, so I'm not sure what's happening... M testsuite/symlink-ignore.test commit 2974e205508600519337abdb92354013b381a2db Author: Martin Pool Date: Thu Jan 24 05:41:46 2002 +0000 If name lookup fails, then show the relevant IP address in the error message. M socket.c commit 430d841a2c6ee003d8ea5c9e083bcab98c939687 Author: Martin Pool Date: Thu Jan 24 04:49:07 2002 +0000 At the connections that just get a list of modules are not logged, but they should be. M TODO commit 31ec50d7da5836163fa8d8ea15038ca3f88caf3e Author: Martin Pool Date: Thu Jan 24 04:41:09 2002 +0000 rsync_module: If host-based access fails, show the exact name/address used for the check in the error message. (Just in case...) M clientserver.c commit 5ad0e46f080cf071a3fbd77d764ae7fc33adaf16 Author: Martin Pool Date: Thu Jan 24 04:36:00 2002 +0000 Show command used to start connection child. M NEWS M util.c commit 1b5814e33876c8f2637ec23e8b33556541b938f9 Author: Martin Pool Date: Thu Jan 24 04:26:55 2002 +0000 indent -kr -i8 M util.c commit 255810c0d6bf747e6942fa81aebf231903a5c48f Author: Martin Pool Date: Thu Jan 24 04:24:12 2002 +0000 Doc. Oops, connection program message was in the wrong place. M socket.c commit 5d2640376e3b5b21f6049161b55baf6f4e2acce8 Author: Martin Pool Date: Thu Jan 24 04:21:42 2002 +0000 Show helper program with -v when opening connection. Doc. M socket.c commit d02984bbb773470bd28238db5721765d20dcf4ce Author: Martin Pool Date: Thu Jan 24 04:19:41 2002 +0000 Doc. M socket.c commit 0f9555207a9549a0340d8de49abe9a9438be7018 Author: Martin Pool Date: Thu Jan 24 04:07:07 2002 +0000 Fix const M socket.c commit 885448d74c7d85c4957112fd2b69fc1147f3bab9 Author: Martin Pool Date: Thu Jan 24 04:03:06 2002 +0000 Unbreak the old behavior of using UNKNOWN as a hostname if any of the addr->name->addr translations fail, because people might count on this in "hosts deny" lines. M socket.c commit b14545b3ff4d08e8072ba265e7889541fb2cc972 Author: Martin Pool Date: Thu Jan 24 03:31:28 2002 +0000 Fix inverted sense of error check. M socket.c commit 9a5a86734fdebb816d81b3276a82b8befc65a740 Author: Martin Pool Date: Thu Jan 24 03:28:20 2002 +0000 Refactor client_name() into smaller functions. Better messages for DNS failure. If we can get a reverse name for an IP address, but not confirm that it is correct using a forward lookup then we still proceed to use the name, but also emit a warning. M socket.c commit d1d15050454d0d8a43726f05048fda0380a54c01 Author: Martin Pool Date: Thu Jan 24 03:03:20 2002 +0000 Doc. M socket.c commit 144ce1dc21f990527c55a238b00de98bf97b4fa7 Author: Martin Pool Date: Thu Jan 24 03:01:42 2002 +0000 Bump version to 2.5.2pre2. M configure.in commit aa126974ba0c77b29a0896888bd58b2bee750f20 Author: Martin Pool Date: Thu Jan 24 02:41:38 2002 +0000 log_formatted: Fill the log buffer with nuls to make sure we cannot accidentally leave the string unterminated. M log.c commit 707de53457d7ab7c849c2fa3c8380f16c54680ad Author: Martin Pool Date: Thu Jan 24 02:33:45 2002 +0000 Another harmless size_t warning. M authenticate.c commit 10f83cf43d69bcd090044899fc8235a7f38264c7 Author: Martin Pool Date: Wed Jan 23 08:08:48 2002 +0000 Doc. M rsync.h commit 59ee743c5f8d131b3e95a206f331c77b923bd5de Author: Martin Pool Date: Wed Jan 23 08:04:54 2002 +0000 More size_t fixes. M log.c commit d54765c44250fdef784f1d1d540690fe246048b6 Author: Martin Pool Date: Wed Jan 23 07:57:43 2002 +0000 Just for variety we have some socklen_t fixes too. M socket.c commit 91262d5d3e6991035cd8c37b2d605c29d8c23da6 Author: Martin Pool Date: Wed Jan 23 07:54:13 2002 +0000 Refactor code in send_sums to remove repeated ternaries. M generator.c commit 1c09c743b123af3471ac673fc37f09b28b83238a Author: Martin Pool Date: Wed Jan 23 07:52:52 2002 +0000 indent -kr -i8 M rsync.h commit 06ce139fcc8c843fdfe7d030cba0e1215287d181 Author: Martin Pool Date: Wed Jan 23 07:48:35 2002 +0000 Fix more ints that ought to be size_t's. M io.c commit fae5bb3183eb08b7f4f3ecf3e5cf23c87e372b92 Author: Martin Pool Date: Wed Jan 23 07:42:30 2002 +0000 Doc. do_hard_links() actually only looks at the global hardlink table, so it can be a (void) fn. (Another gcc warning...) M hlink.c M receiver.c commit 6fe25398d613689411548ea48c09fa8615009abb Author: Martin Pool Date: Wed Jan 23 07:36:23 2002 +0000 Fix another int that ought to be a size_t. M io.c commit 909ce14fc4ee350f4067730db563cbf0961891a3 Author: Martin Pool Date: Wed Jan 23 07:34:26 2002 +0000 indent -kr -i8 M io.c commit 935b92012021dfa722ffdd924659784b646d575b Author: Martin Pool Date: Wed Jan 23 07:32:29 2002 +0000 Another signedness fix to quieten Sun cc warning. M batch.c commit b31427cd4ad69c359c8f58c492c638e6c330296e Author: Martin Pool Date: Wed Jan 23 07:28:38 2002 +0000 Skip this for now; it's a known bug M testsuite/duplicates.test commit e2e3379d79891226838dd348a6264485994ea667 Author: Martin Pool Date: Wed Jan 23 07:22:03 2002 +0000 Bump version to 2.5.2pre1. M configure.in commit 6b1ef85dd8c4a5d5ba2053b42c5a1b44f22ba5e7 Author: Martin Pool Date: Wed Jan 23 07:18:58 2002 +0000 Note batch-mode changes. M NEWS commit 92325ada0c4db192e03e7e36eb93c62980426f32 Author: Martin Pool Date: Wed Jan 23 07:12:57 2002 +0000 Note about proxy authentication and SOCKS. M TODO commit 1707e0f9e2185d58a62ea02dea097ef6f1f92300 Author: Martin Pool Date: Wed Jan 23 06:48:13 2002 +0000 Indent. M generator.c commit 7ff701e816db0c89cf17d46e3ae6081ae94926d5 Author: Martin Pool Date: Wed Jan 23 05:59:10 2002 +0000 Update thankyou list. Clarify email addresses. M rsync.yo commit 2e3c14179559362dbdf1878b57d3df41c3d7b65c Author: Martin Pool Date: Wed Jan 23 05:53:58 2002 +0000 Note that batch mode is currently experimental. M rsync.yo commit 76f79ba748adeacdb966d01fa09d75f0dfb69f3b Author: Martin Pool Date: Wed Jan 23 05:51:06 2002 +0000 Patch from Jos Backus -- Fix breakage from dev_t to DEV64_T in batch mode. Also, drop -f and -F for batch mode: these should be reserved for options that are more commonly used. It also appends a newline to the argvs file and skips adding the source directory to the command line. M batch.c M main.c M options.c M rsync.yo M sender.c M util.c commit 9dd891bb28f6cc558b87905f1adc5e3d4180b6b3 Author: Martin Pool Date: Wed Jan 23 04:57:18 2002 +0000 Signedness security patch from Sebastian Krahmer -- in some cases we were not sufficiently careful about reading integers from the network. Also, make sure log messages are always nul-terminated. M NEWS M exclude.c M fileio.c M flist.c M io.c M log.c M receiver.c M rsync.h M util.c commit 99f106d1cfe06f6696d649bcb3533b44cfb4f562 Author: Martin Pool Date: Wed Jan 23 03:52:06 2002 +0000 If using gcc, then also turn on -W to get even more warnings. Remove obsolete message. M configure.in commit 3816cae7456a9abd70283c92c8c9dd4681cdee94 Author: Martin Pool Date: Mon Jan 21 01:57:13 2002 +0000 Don't need to reread configuration on SIGHUP because we always do that on new connections. M TODO commit 759c0627e1cf7638371e9143a8d33c8677a634f2 Author: David Dykstra Date: Tue Jan 15 21:25:55 2002 +0000 Aack! Since released version 2.5.0, the --whole-file option was accidentally changed to --whole. Change it back. Anybody who wants to use this option with any version of rsync will have to switch to using -W. M options.c commit e03dfae507d291785d65f454b50a358a79113cfe Author: Martin Pool Date: Tue Jan 15 11:50:32 2002 +0000 Change gratuituous strlcat's into strlcpy, since we already know the length of the existing string. M flist.c commit c7677b892a068d169a64fb699b6e41b0a342e390 Author: Martin Pool Date: Tue Jan 15 11:32:30 2002 +0000 Clearer doc. M lib/compat.c commit da7b63972d83c1b755f3f096d3f2724261e77e65 Author: Martin Pool Date: Tue Jan 15 11:20:26 2002 +0000 Add --enable-profile to turn on gprof. This is not perfect, because it seems to only write to ./gmon.out, and that causes trouble when there are several rsync processes in the same directory. But you can make it work. M configure.in commit 499957d9ba8c13d62fe7be67964fa53d70cd077d Author: Martin Pool Date: Tue Jan 15 10:47:59 2002 +0000 Update M NEWS M OLDNEWS commit 582250008b4d5552d73b0eb36a6776bd3b8622b5 Author: Martin Pool Date: Tue Jan 15 10:43:51 2002 +0000 The Ted T'so school of program optimization: make progress visible and people will think it's faster. So now with --progress rsync will show you how many files it has seen as it builds the file_list. M flist.c commit a9b31409d52f9c5527c9b04b9b49818035011ce0 Author: Martin Pool Date: Tue Jan 15 10:04:48 2002 +0000 Remove unused variable. M socket.c M util.c commit 98355b80864de1c52ffbdcf6855dabaa8a84b4a9 Author: Martin Pool Date: Tue Jan 15 10:04:11 2002 +0000 Oops, getaddrinfo returns an error code (not -1) for error. -Wall is good. M socket.c commit 70ed474b3868def0f14623e2093494112b4b5b48 Author: Martin Pool Date: Tue Jan 15 09:53:27 2002 +0000 Define _GNU_SOURCE so that we get all necessary prototypes. M configure.in commit 4775934364a15296fe874339d3f48c938cb24dd7 Author: Martin Pool Date: Tue Jan 15 09:43:21 2002 +0000 If using GCC, try to turn on -Wall. I want to be clean with respect to -Wall. M configure.in commit 25f2cb3d6b7537149b5645ed13cdd9785fa225ab Author: Martin Pool Date: Mon Jan 14 00:16:51 2002 +0000 Fix for temp files must be opened through do_open so that binary modes is used on cygwin. (Chris Boucher) M syscall.c commit 154f9a3acae2694db5593ccd28f3e556744babbe Author: Martin Pool Date: Sun Jan 13 23:57:13 2002 +0000 Ignore testtmp directories. M .cvsignore commit b9df3bf20cfeecd544544a08412625f81d8e0cde Author: Martin Pool Date: Fri Jan 11 08:37:42 2002 +0000 DOc. M rsync.h commit 6abd193fe3f8e7b986c388e7642adc08516e8279 Author: Martin Pool Date: Fri Jan 11 08:25:32 2002 +0000 Always use 64-bit ino_t and dev_t internally, so that we can detect hardlinks if coming from a larger platform. Add heaps of comments explaining why this is so. M batch.c M flist.c M options.c M receiver.c M rsync.h commit 362099a51230fd80c6d54ef6f0e72927529c8dfb Author: Martin Pool Date: Fri Jan 11 08:24:34 2002 +0000 More comments about IPv6 stuff. If a reverse name lookup fails, show the name that we were trying to look up. M socket.c commit fdfc3dc9f3e501a9b612af9ed871b621bb386984 Author: Martin Pool Date: Fri Jan 11 08:08:34 2002 +0000 When checking what was copied, use specific -d -f -L flags to test rather than -e. (Perhaps Solaris doesn't have test -e?) M testsuite/symlink-ignore.test commit 49374592254ece4c0e20128a55c3c43bd32438f6 Author: Martin Pool Date: Fri Jan 11 08:02:43 2002 +0000 The current version of rsync is expected to fail to eliminate all duplicates from list. M testsuite/duplicates.test commit be2f866b4cacadbed2d18bd6b3e23ae0afc04d4e Author: Martin Pool Date: Fri Jan 11 08:01:05 2002 +0000 Add concept of expected-failure. M runtests.sh M testsuite/rsync.fns commit f08aacf7d66fac3004dbf0871006b9880968cec1 Author: Martin Pool Date: Fri Jan 11 07:41:50 2002 +0000 Give cleaner output from "make check" M runtests.sh commit 4fa6112efedbb5cb825f0ac897cfecf501ca094f Author: Martin Pool Date: Fri Jan 11 07:30:50 2002 +0000 Bump version number. Now finished merging across work from experimental BK repository. M configure.in commit 1623ba68891761a3a8d44acf35afeb9d4d5e8ba2 Author: Martin Pool Date: Fri Jan 11 07:29:53 2002 +0000 Improved duplicates test: check that each file is copied once and exactly once. M testsuite/duplicates.test commit 766526c7915ea42c85d1e3fc044b9f17f591c45a Author: Martin Pool Date: Fri Jan 11 07:29:02 2002 +0000 Check whether code to eliminate duplicate filenames works (hint: it does not.) A testsuite/duplicates.test commit 5c15e29f2b51632c80741028fa381f2ca8c6e5c3 Author: Martin Pool Date: Fri Jan 11 07:26:39 2002 +0000 Better mallinfo() output in --stats M main.c commit 0413e1605f4f9148ebb7508df58b3146f4a6e011 Author: Martin Pool Date: Fri Jan 11 07:25:54 2002 +0000 Update copyright M options.c commit 0e5a1f8352635a291be1ac5afe954a76dbc1664e Author: Martin Pool Date: Fri Jan 11 07:24:31 2002 +0000 Doc M TODO commit e5a2b8544dee410dcdeafbc2f1b82f9a8f4faf23 Author: Martin Pool Date: Fri Jan 11 07:16:11 2002 +0000 Look for mallinfo() and use it to display heap usage information in --stats M configure.in M main.c M rsync.h commit 736a6a291cf0fc9ab9410f300174a70e868e4122 Author: Martin Pool Date: Fri Jan 11 07:15:16 2002 +0000 In protocol version 26, always send 64-bit ino_t and dev_t. We also need to try to use 64-bit ino_t internally *even if* this platform does not have 64-bit inums itself, because we need to find duplicate inums when coming from a larger platform with --hardlinks. M flist.c M options.c M rsync.h commit 6e69cff118cf6533854052d90295fdc7d117511d Author: Martin Pool Date: Fri Jan 11 07:11:43 2002 +0000 Autoindent Add copyright M hlink.c commit cf72f20426c4b6c9c2467185f85e09e0028d39b6 Author: Martin Pool Date: Fri Jan 11 07:11:23 2002 +0000 Improved test framework and test for hardlink handling M runtests.sh M testsuite/hardlinks.test M testsuite/rsync.fns commit d479210cee5b19beba32e20dc66bf141f3fee56d Author: Martin Pool Date: Fri Jan 11 07:10:25 2002 +0000 Bump version M configure.in commit b781537597496326f3c3c20d1d5757ebc42c4f92 Author: Martin Pool Date: Fri Jan 11 07:09:53 2002 +0000 Merge ChangeSet@1.12: Add test case for -H A testsuite/hardlinks.test commit ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef Author: Martin Pool Date: Fri Jan 11 07:09:22 2002 +0000 Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H M tls.c commit d2e9d069b4d4ef7ae2da612665ffe31eaa08225f Author: Martin Pool Date: Fri Jan 11 07:07:49 2002 +0000 Merge ChangeSet@1.10: Documentation about flist scalabilityTODO M TODO commit 58379559cc969196f702a3ec99195ace95c4b3d5 Author: Martin Pool Date: Fri Jan 11 07:07:30 2002 +0000 Merge ChangeSet@1.9: Documentation about flist scalability M TODO commit b3e6c8156529f78b097820ff964bff3e14753286 Author: Martin Pool Date: Fri Jan 11 07:05:30 2002 +0000 Merge ChangeSet@1.4: Documentation about flist scalability M TODO commit a6a3c3df453f0551e68f08ef3a15d015848b8695 Author: Martin Pool Date: Fri Jan 11 07:04:37 2002 +0000 Merge ChangeSet@1.4: Documentation about future development. M TODO commit 6e3d4c40458947ccb958cf047a0326ecd8eb2ba1 Author: Martin Pool Date: Thu Jan 3 07:18:17 2002 +0000 Oops, fix date. M NEWS commit ca60b701eec16b98db8f906131b51f1be6090d34 Author: rsync-bugs Date: Thu Jan 3 07:11:10 2002 +0000 preparing for release of 2.5.1 M configure.in M packaging/lsb/rsync.spec M packaging/redhat/5.0/rsync.spec M packaging/redhat/7.1/rsync.spec commit e24c0b98d704bb16bd02e4708b38bc19be61e089 Author: Martin Pool Date: Thu Jan 3 07:08:35 2002 +0000 Cleanup. M NEWS commit f389ac80a9d8890a271aac96401070c83fdac8f3 Author: David Dykstra Date: Thu Dec 20 15:33:13 2001 +0000 Removed debugging statement that was added to sig_int() by the rsync+ patch integration. It was causing the format of the daemon log to be messed up because of the leading \n. M rsync.c commit 50f2f002d90d6fc0209cd02fb1c1d52ec6a7ca45 Author: Martin Pool Date: Thu Dec 20 01:23:28 2001 +0000 Suggestion from David Stein verbose output Indicate whether files are new, updated, or deleted M TODO commit 9ec752847572bf5d71058be47b5ca687e340a3c9 Author: Martin Pool Date: Tue Dec 18 06:48:56 2001 +0000 Typo M socket.c commit a8e2a43a099cfe25e8fb47a561574aa5ad908306 Author: Martin Pool Date: Tue Dec 18 06:47:40 2001 +0000 Get rid of global_opts struct as suggested by Dave -- too many problems with initialization. M rsync.h commit eb06fa95e422822e67e986e5e9c3818afbba45bb Author: Martin Pool Date: Tue Dec 18 06:45:28 2001 +0000 Documentation fixes based on mail from Edward Welbourne, and an attempted explanation of rsync's symbolic-link handling. M rsync.yo commit 1db8b61de7fd31b9c7b02918e6c194255979f030 Author: Martin Pool Date: Tue Dec 18 06:26:26 2001 +0000 Add an "unsafe" symlink to the symlink test case so we can see what happens. M testsuite/rsync.fns commit 38c66db8d664f716824e6ec069cb94ae0f334f2a Author: Martin Pool Date: Tue Dec 18 06:25:31 2001 +0000 Note about hardlink performance. M TODO commit f8be7d42193dd3a0c4327d928e60f382a2c2ea8b Author: Martin Pool Date: Tue Dec 18 06:21:33 2001 +0000 Refactor code for setting local address on outgoing connections. If a local address is specified, then try all addrinfo records for it. M socket.c commit 13e29995f5f08300ea946374079dff50f8cb6bd7 Author: Martin Pool Date: Tue Dec 18 05:54:57 2001 +0000 Get rid of global_opts struct as suggested by Dave -- too many problems with initialization. Change the algorithm from trying to open an inbound socket with getaddrinfo: keep trying suggested addresses until we find one on which we can both get a socket and bind. Not convinced this is the best, but it's probably better. M clientserver.c M options.c M socket.c commit 7c583c73160714a2f61034515adb1a4a32f9d818 Author: Martin Pool Date: Tue Dec 18 01:33:56 2001 +0000 Note rsyncd-over-ssh and documentation TODOs. M TODO commit 9fecec5e85d2844c43a71e641d48b933161dae54 Author: Martin Pool Date: Tue Dec 18 01:32:27 2001 +0000 Fix from Jeff Garzik for inet_ntop prototype errors on some Linux distributions: we were failing to define HAVE_INET_NTOP, so our prototype in rsync.h came through. Also rerun autoheader, and have comment for HAVE_SOCKADDR_STORAGE. M NEWS M configure.in commit 9e696bd4689956e41ef8bca861e0b8047cc078d9 Author: Martin Pool Date: Tue Dec 18 01:07:20 2001 +0000 Update README so that Paulus doesn't get bug reports anymore :-) I think this document needs to be reworked to better explain how to use rsync, but not right now. M README commit 6ab6d4bfc11512565c77ee6ab322b4e214d2074d Author: David Dykstra Date: Fri Dec 14 18:25:51 2001 +0000 When INET6 is not defined, meaning that IPv6 is not supported, need to initalize the global_opts.af_hint to AF_INET or systems such as Linux that have a native getaddrinfo() because they support IPv6 will attempt to create IPv6 sockets. This brings up a problem with the new global_opts structure; in order to initialize them to a value other than 0, we need to explicitly initialize them all in an order that matches the order in rsync.h. I think that's more inconvenient & error prone than keeping global variables. M options.c commit cb1bcc7ebbb84a056a63fd09e47c456509c52411 Author: David Dykstra Date: Fri Dec 14 18:00:54 2001 +0000 open_socket_in was attempting to try all the protocols returned from getaddrinfo(), but only if a corresponding call to socket() returned one of three *NOSUPPORT errno codes. A Redhat 6.2 system was observed returning EINVAL instead so it never went on to try IPv4. This update adds EINVAL to the list. Question: why not always continue through the list regardless of what errno is? M socket.c commit 19ba7d6318a897841f029a10453870fd430b89ef Author: Martin Pool Date: Fri Dec 14 05:55:21 2001 +0000 Verbose. M testsuite/symlink-ignore.test commit 7753ca1f492e6319436c712f951f83a21949dfb7 Author: Martin Pool Date: Fri Dec 14 05:54:24 2001 +0000 Only show test output if it failed. M runtests.sh commit d52a796c39be1d2cb486f1f8b1c55fae28d153cc Author: Martin Pool Date: Fri Dec 14 05:52:25 2001 +0000 Be less verbose. M testsuite/longdir.test commit 60514d457c854593e18aa3e032d6cee1d249f26c Author: Martin Pool Date: Fri Dec 14 05:44:04 2001 +0000 Fix quoting. M testsuite/symlink-ignore.test commit 5bc00efe427251be598ac9514b9a79c9a2fe7892 Author: Martin Pool Date: Fri Dec 14 05:27:42 2001 +0000 Perhaps Solaris sh wants us to explicitly exit 0, rather than just using the last return code? M testsuite/symlink-ignore.test commit c45f3133bc6f75d5cf553809c3d8190e2eaded32 Author: Martin Pool Date: Fri Dec 14 05:19:15 2001 +0000 More error messages. M testsuite/symlink-ignore.test commit fb47591de0ec12fab8cd8408eed11b9986db84cc Author: Martin Pool Date: Fri Dec 14 05:17:52 2001 +0000 Typo. M generator.c commit 514d129c494e614f3d7a0df53368479deebfecaa Author: Martin Pool Date: Fri Dec 14 05:01:48 2001 +0000 Make scratch directory properly. M runtests.sh commit db843fc12d4581e72669eb75a9752066c17c2977 Author: Martin Pool Date: Fri Dec 14 02:18:31 2001 +0000 Doc. M testsuite/symlink-ignore.test commit 63787382d8590f0f8eea8d4fd4f7cc396c59c980 Author: Martin Pool Date: Fri Dec 14 02:16:20 2001 +0000 Clearer error messages. M generator.c commit 85d4d142d8d6928ae6affdc2228e10654b5304e9 Author: Martin Pool Date: Fri Dec 14 02:14:58 2001 +0000 Clearer error messages. M generator.c commit 3cd2af41e48710dbb27af4ebcbe3ca6e7ea7b2de Author: Martin Pool Date: Fri Dec 14 02:01:46 2001 +0000 Add a test that when none of -l, -L, -a are specified symlinks are not copied at all. M testsuite/rsync.fns A testsuite/symlink-ignore.test commit b214eda4f077515f328802cd8f6b0b48aaff661c Author: Martin Pool Date: Fri Dec 14 01:52:43 2001 +0000 Clean scratch directory between each test run. M runtests.sh commit 0771727d41929db4e7e592f85a9691ca473e6251 Author: Martin Pool Date: Fri Dec 14 01:48:48 2001 +0000 Readlink(2) does not nul-terminate the output buffer, so we were getting corrupt output when listing more than one symlink. M tls.c commit a5d74a1876cd6ca28eec7dab427a974000bf6007 Author: Martin Pool Date: Fri Dec 14 01:09:23 2001 +0000 Fix contact details. M rsync.yo commit 23bf32f767246a88d0689c05c9a45d92f3931634 Author: Martin Pool Date: Sun Dec 9 21:48:13 2001 +0000 Don't define DEBUG with --enable-debug, because that makes zlib emit strange messages M configure.in commit 87a819edee4d3d7484b6ef312dcd4c6f1aa07023 Author: Martin Pool Date: Wed Dec 5 13:48:41 2001 +0000 IRIX cc cares that the operands to the ternary have the same type. M flist.c commit 27a1234874277d06822bbaf94f4c6e6a7a716d0e Author: Martin Pool Date: Wed Dec 5 13:45:51 2001 +0000 Be more strict about 'enum logcode' rather than int. IRIX compiler picked this up -- quite neat. M options.c commit 51f289d1e66335a90ddea70c0b16699a659ad2b4 Author: Martin Pool Date: Wed Dec 5 13:44:37 2001 +0000 Some platforms don't have sa_family_t. M socket.c commit d0d6dc61e837295f72e8ba040d199792d48bebf1 Author: Martin Pool Date: Wed Dec 5 13:41:38 2001 +0000 Bump version M configure.in commit d91c8c50d22f086a48c1cb4c275b0669278ef714 Author: Martin Pool Date: Wed Dec 5 13:25:29 2001 +0000 RFC2553 just says that sockaddr_storage has to have initial fields isomorphic to sa_family etc from a struct sockaddr, not what they're called. On some platforms they seem not to be called ss_family. Rather than guess, we will try casting to a sockaddr and looking through that -- I think this is what the RFC intends. M socket.c commit e20a4f84d6f42b2a95471e424c27f940b958bc9f Author: Martin Pool Date: Wed Dec 5 13:19:16 2001 +0000 Some platforms may have getaddrinfo() but not sockaddr_storage. M rsync.h M socket.c commit bbd6f4ba8e1a36de8a3cae4b013c99ffa77d9f8d Author: Martin Pool Date: Wed Dec 5 13:10:24 2001 +0000 Document --no-detach. M NEWS M rsync.yo commit 2a951cd2f9d672aa3b025759c18608f50a6c7767 Author: Martin Pool Date: Wed Dec 5 13:06:26 2001 +0000 Fix help message for --address option M options.c M rsync.yo commit a538066d5acd059903cff5103d944cad1fb5c7b2 Author: Martin Pool Date: Wed Dec 5 13:03:16 2001 +0000 Add --no-detach option for W32, daemontools, etc. M clientserver.c M options.c M rsync.h commit c10b0bdd50af38eedd4f06abb417babd05d143c3 Author: Martin Pool Date: Wed Dec 5 13:02:11 2001 +0000 Doc M TODO commit 431efc89796646ebb049cf29e5545263114e0c5e Author: Martin Pool Date: Wed Dec 5 12:56:06 2001 +0000 Doc. M clientserver.c commit 2d6dbe290c1ccc52b550753c4f9240ac716d5a24 Author: Martin Pool Date: Wed Dec 5 12:48:46 2001 +0000 Change back to using sockaddr_storage rather than sockaddr_in. If sockaddr_storage is not defined, then supply our own definition that will hopefully satisfy RFC2553 but also compile on all supported platforms. Thankyou to YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun" Hagino. M NEWS M configure.in M socket.c commit c33e3e396769854fee718a747c19e0ca52610053 Author: Martin Pool Date: Wed Dec 5 12:25:36 2001 +0000 Suggestions from KAME IPv6 newsletter. M TODO commit 71b3374bd5f8af075218b79fee789a1517451230 Author: Martin Pool Date: Wed Dec 5 00:58:20 2001 +0000 Note from tpot that sighup should have standard behaviour of reinitializing. M TODO commit de343e3ccea541b62970e53cba03f5ab5804ce5e Author: David Dykstra Date: Mon Dec 3 18:37:33 2001 +0000 Don't print out the directory name twice in verbose mode; it was being printed a second time when the modification time of the directory was being set, and that time around recv_files() calls recv_generator() with an f_out of -1 so check that before printing the directory name. M generator.c commit 384958ed3dcd18e8ec7cf2e5a6142812f14229d8 Author: Martin Pool Date: Sun Dec 2 22:47:30 2001 +0000 Note about crash from Ayamura KIKUCHI M batch.c commit 1cd5beeb06e9df035aa36c89cdb9c3173a8e0bd6 Author: Martin Pool Date: Sun Dec 2 22:28:50 2001 +0000 batch reindent M batch.c commit 4c70e359d0cf23d9f5bd7ad39d9111c4446b541d Author: Martin Pool Date: Sun Dec 2 22:26:09 2001 +0000 Bump version M configure.in commit f9c3005bff7a2da9b350e3881e714f15f0d5263f Author: Martin Pool Date: Sun Dec 2 14:12:03 2001 +0000 Fix FP usage. M util.c commit 9147074d8b6692a23fe4ba30eb2c9b0bf053df69 Author: Martin Pool Date: Sun Dec 2 13:58:03 2001 +0000 Oops, units bug. M util.c commit 7007bddaef35027ba683e36514905ca266661b96 Author: Martin Pool Date: Sun Dec 2 13:45:38 2001 +0000 Show time-remaining as hh:mm:ss. M util.c commit 2f8dc29182506d5afec3ed3fb30ce635afc187d1 Author: Martin Pool Date: Sun Dec 2 13:22:55 2001 +0000 Update notes M NEWS commit 6066594bbe82c6a652ea1a59f4532e079847b856 Author: Martin Pool Date: Sun Dec 2 13:07:07 2001 +0000 Improved estimation algorithm for time-to-complete. M util.c commit 40c02891763869160a4b8400c6b7cb3629088d7f Author: Martin Pool Date: Sun Dec 2 13:02:17 2001 +0000 Typo fix by Tom Schmidt M runtests.sh commit acf1af0cd976394e0540d2dd92ca3e31c2c1abc5 Author: Martin Pool Date: Sun Dec 2 12:37:48 2001 +0000 const-cast required for silly UNICOS headers M tls.c commit 62791bdfa2d7d0d335d1b8c2304feb28fa23a984 Author: Martin Pool Date: Sun Dec 2 08:56:25 2001 +0000 Also estimate time remaining. M util.c commit 47f1218d6949a1156034f734cc746b19e759566f Author: Martin Pool Date: Sun Dec 2 08:38:51 2001 +0000 Progress indicator now shows estimated rate of transfer (e.g. kB/s). Based on a patch from Rik Faith, but modified to make sure we do only one rprintf call, and that we never end up with two copies of the line printed out. M util.c commit 1179355dab021be45e57c675b2ef1ecaa0d9c805 Author: Martin Pool Date: Sun Dec 2 08:16:15 2001 +0000 Revert change from 1.39, because it causes a crash because of attempting to free a static string. (Thankyou to Paul Mackerras.) There's still a small leak here. M loadparm.c commit 3d807132e4a24f61505af76f10c396204935599f Author: Martin Pool Date: Sun Dec 2 07:22:54 2001 +0000 Fix test suite breakage in calling tls. Clean up test directory on completion. M testsuite/hands.test M testsuite/rsync.fns commit 42d0b4c280dfbc2a557e84528ac176d652d3b5e6 Author: Martin Pool Date: Sun Dec 2 07:21:55 2001 +0000 Bump version M configure.in commit d313ae7d23d2afde67e88bacb9c2262d46adc2de Author: Martin Pool Date: Sun Dec 2 07:17:50 2001 +0000 Move old news from release 2.5.0. M NEWS A OLDNEWS commit 28a69e25ea84cdf89b5afc1085b3c3a48a16f943 Author: Martin Pool Date: Sun Dec 2 07:07:43 2001 +0000 More notes from email. M TODO commit ad911a7ac3be70a80707fbf2477526147c59fa24 Author: Martin Pool Date: Sun Dec 2 06:17:33 2001 +0000 Typo fix from Matt Kraai M rsync.yo commit 5575de140d17f201f370fe6a1ea091c5ee592800 Author: Martin Pool Date: Sun Dec 2 05:12:39 2001 +0000 Add note about device major/minor numbers, and about ACLs M TODO commit a5ce1eb1af49b8511c84438e3c766363b9b79f0f Author: David Dykstra Date: Fri Nov 30 22:21:20 2001 +0000 Add "$(OBJS): config.h" so everything will rebuild if config.h changes. M Makefile.in commit 76a78cd8bc8eda730b78d7161ddbfdd8408fb263 Author: Martin Pool Date: Fri Nov 30 22:06:29 2001 +0000 Add message to ignore warnings about mktemp M Makefile.in commit 0b25efc12a695cff4c83eb235c0fa93fc60cd8a1 Author: rsync-bugs Date: Fri Nov 30 00:31:06 2001 +0000 Modified file stored as well A packaging/lsb/rsync.spec commit 64cae087b6dc893bce341f363de39c3492da6008 Author: rsync-bugs Date: Fri Nov 30 00:29:46 2001 +0000 preparing for release of 2.5.0 M packaging/redhat/7.1/rsync.spec commit b7cc59c5030e13db41c00e7fb40446dd4a634744 Author: Martin Pool Date: Fri Nov 30 00:29:20 2001 +0000 Spec file needs to be generated from a template to include the version number. A packaging/redhat/7.1/rsync.spec.tmpl commit 7eb8d18a999f4323aaa3306cbe2507608266920d Author: rsync-bugs Date: Fri Nov 30 00:23:11 2001 +0000 preparing for release of 2.5.0 M configure.in M packaging/redhat/5.0/rsync.spec commit e7bf3e5e874556f792d905bb5a2834aecfde328c Author: Martin Pool Date: Fri Nov 30 00:17:53 2001 +0000 Last bug fix for 2.5.0? Make the documentation for -a point out that it does not in fact propagate hardlinsk. M rsync.yo commit 5aafd07b37b997696f81d98f4c0c54aab0f98041 Author: Martin Pool Date: Fri Nov 30 00:16:14 2001 +0000 Note error cases that we ought to improve. M TODO commit 053f3a831defdbd30f15e58fd0cb23b3f71c5af7 Author: Martin Pool Date: Fri Nov 30 00:15:32 2001 +0000 Note other supported platforms M NEWS commit a2d2e5c047d3689c677a0068677bfe4a2bc98ae0 Author: Martin Pool Date: Thu Nov 29 01:31:31 2001 +0000 Add notes on things to do mentioned on the list in the last few months. M TODO commit dd3a9220353a498677c31f0f8e3b199d79ec6c37 Author: Martin Pool Date: Thu Nov 29 00:23:29 2001 +0000 IPv6 support is now merged. M TODO commit 0e916c6038927a3f4717196d91ce5dd9769b355a Author: Martin Pool Date: Thu Nov 29 00:15:20 2001 +0000 Just include rsync.h rather than all the individual headers. (Suggestion from Dave Dykstra.) M lib/permstring.c commit 87fcb63975824b48532b673fe3ebd5238424eb41 Author: Martin Pool Date: Thu Nov 29 00:08:36 2001 +0000 No need to test for memcmp, because even broken ones are good enough for our purposes. (Patch from Dave Dykstra.) M configure.in commit 68b2cc55389d4691fdf6e124feb26e08258db967 Author: Martin Pool Date: Thu Nov 29 00:04:48 2001 +0000 Show version when configuring. If we don't seem to have an ANSI compiler, then omit a warning as soon as that is discovered, because it is likely to break later configure tests. This doesn't seem to catch the particular HP-UX compiler I was after, which is non-ANSI but only emits a warning on this configure test. Nevertheless probably better to have it in. M NEWS M configure.in commit 4dcf3697ff627f0e219b83f10df117cbd38184e3 Author: Martin Pool Date: Wed Nov 28 07:49:32 2001 +0000 Add list of platforms that build. M NEWS commit ea7752554632890646f1b8ad6e25329f769c3a9c Author: Martin Pool Date: Wed Nov 28 07:12:09 2001 +0000 Note half-baked Darwin IPv6 support. M INSTALL commit 17d5a07ec2f60e4ea58f7f9f0a0bebb43f8ad857 Author: Martin Pool Date: Wed Nov 28 06:52:04 2001 +0000 Put back the --disable-ipv6 option. This should only be needed if your platform seems to support ipv6, but actually it breaks. This seems to be the case for "powerpc-apple-darwin1.4". M configure.in commit 3966b9c609fef966743d50b5dca8d783a30c396d Author: Martin Pool Date: Wed Nov 28 04:32:33 2001 +0000 Call this 2.4.7pre4 M configure.in commit 1c47fbd96b32bf4c42b1c705d19c5c2ec74af5c2 Author: Martin Pool Date: Wed Nov 28 04:10:39 2001 +0000 Note on HP-UX's bundled so-called C compiler. M INSTALL commit 1691bdcafc85269066be844a77d4192325580867 Author: Martin Pool Date: Wed Nov 28 03:12:20 2001 +0000 HP's cpp apparently can't handle whitespace before #include M aclocal.m4 commit 6a5ef41fb3bd36e7ac0e3b209bf5e483f5cbe2f5 Author: Martin Pool Date: Wed Nov 28 02:55:20 2001 +0000 HP's cpp chokes on preprocessor directives that have whitespace before the '#'. Off to the Implant Office with you! M configure.in commit 09b6f4b00d5a953c10f7a1c3b0325ab67204be43 Author: Martin Pool Date: Wed Nov 28 01:29:41 2001 +0000 Fix inet_ntop/pton names M lib/inet_ntop.c M lib/inet_pton.c commit 7067b0aa2800bec29f14f8db8570c21eb1b6c224 Author: Martin Pool Date: Wed Nov 28 00:36:32 2001 +0000 Protect AF_INET6 references with #ifdef INET6 M lib/inet_pton.c commit 112e7311505f712d8cf40e6001144fad7ce1030a Author: Martin Pool Date: Tue Nov 27 07:59:34 2001 +0000 Fix sh M testsuite/rsync.fns commit 1336e4146079b92460fcfd67cbec5ed8ad7bdafa Author: Martin Pool Date: Tue Nov 27 07:56:33 2001 +0000 Show symlink targets M tls.c commit 7c1b7890d36774133ede2756e687bd0c007cc3ae Author: Martin Pool Date: Tue Nov 27 07:54:48 2001 +0000 Be a bit more verbose M testsuite/rsync.fns commit dd0700b02550094a7e94d3533be3d16965114cea Author: Martin Pool Date: Tue Nov 27 07:54:03 2001 +0000 mtime and ownership of symlinks can be random, so don't print them. M tls.c commit 04d8e8b25f14316e8a87f387870e8f1a89b802cc Author: Martin Pool Date: Tue Nov 27 07:32:42 2001 +0000 Be a bit more verbose M testsuite/longdir.test commit 3723efcb1d5ff37771174f9b90aee40b438f34e6 Author: Martin Pool Date: Tue Nov 27 07:23:58 2001 +0000 Try to fix headers for UNICOS M lib/inet_ntop.c M lib/inet_pton.c commit 054b40b6fa4442096ad31684b1b49743ea92357c Author: Martin Pool Date: Tue Nov 27 07:19:37 2001 +0000 Unbreak recursive ls test M testsuite/rsync.fns commit 6773a7798f41aece4794044dd851f26d29362b4d Author: Martin Pool Date: Tue Nov 27 07:09:47 2001 +0000 Oops, fix bash syntax M testsuite/rsync.fns commit 2d4c8e5945375d244a361c2f97f9370f8d88ac11 Author: Martin Pool Date: Tue Nov 27 07:07:36 2001 +0000 The size of anything but a regular file is probably not worth thinking about. M tls.c commit 087173c887686611d039e10be0e3698843c26930 Author: Martin Pool Date: Tue Nov 27 07:05:33 2001 +0000 When producing a ls-style permissions string, also handle sticky/setuid/setgid bits the same way as GNU ls. M lib/permstring.c commit 57835c00ad83d218d12dc6c777c5d9f66b926d3f Author: Martin Pool Date: Tue Nov 27 06:51:51 2001 +0000 Use tls rather than the OS's ls(1) so that we have more chance of reproducible results. M Makefile.in M testsuite/rsync.fns commit 4ed886ae6ef86b4eba3a2a92e441261c42969cbf Author: Martin Pool Date: Tue Nov 27 06:45:47 2001 +0000 Also list permissions, ownership, size, and mtime. M tls.c commit 740819ef7b3b96451e16b2fa3891d46cfc73ec64 Author: Martin Pool Date: Tue Nov 27 06:43:17 2001 +0000 Split code to generate "rwx-----" strings into lib/permstring.c so it can be reused in tls. M flist.c A lib/permstring.c A lib/permstring.h M rsync.h commit 829230689ee4e3de7ad638e6dffea640fdd08375 Author: Martin Pool Date: Tue Nov 27 06:41:38 2001 +0000 Build getaddr/nameinfo into lib/. M configure.in commit 77ba4cc2f97eb1496569cc1ff79fed5ed1296d40 Author: Martin Pool Date: Tue Nov 27 06:39:02 2001 +0000 make clean can rm config.cache but not config.h, or it wil jam. Build getaddr/nameinfo into lib/. Split code to generate "rwx-----" strings into lib/permstring.c so it can be reused in tls. M Makefile.in commit e94989fe4de1a731bfa3fa627d62ecd14ef1d00e Author: Martin Pool Date: Tue Nov 27 06:17:33 2001 +0000 Try to fix LIBOBJ detection of ntop/pton. M configure.in commit c11b88061f14594ac2d131cc922195c56735d4f3 Author: Martin Pool Date: Tue Nov 27 06:01:05 2001 +0000 Fix missing parameter in log call. M socket.c commit 647c5433f81a0c756f704bf61e252252373fa9c6 Author: Martin Pool Date: Tue Nov 27 05:35:14 2001 +0000 Make clean should also remove the autoconf cache etc. M Makefile.in commit 8f694072a524ab0f7edc4c3402fb5fc41ecbfa5e Author: Martin Pool Date: Tue Nov 27 05:22:23 2001 +0000 Add Paul Vixie's implementation of inet_ntop and inet_pton for platforms that don't have them. M NEWS M configure.in A lib/inet_ntop.c A lib/inet_pton.c M rsync.h commit 9a689986c6d416c66195d2a16f54fcb74dc7d805 Author: Martin Pool Date: Tue Nov 27 04:53:08 2001 +0000 Look in -lresolv for inet_ntop M configure.in commit 3174b31d96adf0dad334e187ad6442acc6b75a62 Author: Martin Pool Date: Tue Nov 27 03:49:53 2001 +0000 Check for inet_ntop and inet_pton, which may be missing. M configure.in commit 4eb61975b7807e025a9567fba5879dd551d292bb Author: Martin Pool Date: Tue Nov 27 02:28:36 2001 +0000 Explain IPv6 merge. M NEWS commit 76e26e10423f1b3fbd9d11b456aa06bdf8489967 Author: David Dykstra Date: Mon Nov 26 19:15:53 2001 +0000 Better fix for case of excluded symlinks that point nowhere when using --copy-links. The readlink_stat() does need to be done in the normal case before checking the exclude patterns because it needs to know whether or not a file is a directory in order to properly handle a trailing slash in an exclude pattern. This fix makes make_file() go ahead and call readlink_stat() but then if the latter returns an ENOENT and copy_links is on then it will only print an error if the path is not excluded. M flist.c commit 9069dfd00513f169b497e88c3edd21833315aca7 Author: Martin Pool Date: Mon Nov 26 08:21:30 2001 +0000 Fix rename of global option M options.c commit 2be5d2daad47684b5d2728652c4a80bf8846a507 Author: Martin Pool Date: Mon Nov 26 08:21:14 2001 +0000 Remove kame cruft M socket.c commit 22cd0063e5c00aa3d009d8fa8065aba326362a3c Author: Martin Pool Date: Mon Nov 26 08:20:13 2001 +0000 Attempted clean up some of the IPv6 tests. M configure.in commit 3d2e458a4d66ad09932cc350359e5f273de072eb Author: Martin Pool Date: Mon Nov 26 07:58:47 2001 +0000 Fix a small memory leak that was causing an Insure warning. M loadparm.c commit a57568d7167cb54b9b0802aeabf5a424749fbd65 Author: Martin Pool Date: Mon Nov 26 07:47:59 2001 +0000 Oops, no C++ comments. M socket.c commit 61f543cade5926794ed16807d2e83fbe4f03252d Author: Martin Pool Date: Mon Nov 26 07:11:55 2001 +0000 Kill a function for jra. M socket.c commit b8771f9615ecfa8989e8982aac33bb31eeaaec22 Author: Martin Pool Date: Mon Nov 26 07:10:06 2001 +0000 Try to be better about handling the results of getaddrinfo(): when opening an inbound socket, we might get several address results, e.g. for the machine's ipv4 and ipv6 name. If binding a wildcard, then any one of them should do. If an address was specified but it's insufficiently specific then that's not our fault. However, some of the advertized addresses may not work because e.g. we don't have IPv6 support in the kernel. In that case go on and try all addresses until one succeeds. M socket.c commit d5d4b282203f9cb06e77e67021ffdd62abb24d89 Author: Martin Pool Date: Mon Nov 26 04:52:19 2001 +0000 Put the new address family option into an options struct. We have too many globals already. Better error messages for network-related failures. M clientserver.c M options.c M rsync.h M socket.c commit a037edaccd8bc706f8d170c5d2c5a637b3ca5ad5 Author: Martin Pool Date: Mon Nov 26 01:49:33 2001 +0000 Silly autoconf M configure.in commit 356bbb8351ac64cf612a2cfed3e1d411efa30cac Author: Martin Pool Date: Mon Nov 26 01:15:12 2001 +0000 Check for -lnsl, -lsocket, etc, *before* looking for getaddrinfo, because on Solaris (for one) it's not in libc. M configure.in commit 1f0fa9318a11ebb622fc9d7fc6d004aaba32fa7c Author: Martin Pool Date: Mon Nov 26 00:41:11 2001 +0000 Remove highly suspicious redefinition of sockaddr structure -- there seems no point using anything but the platform's native definition, and if we can't get that from the system headers we're hosed anyhow. M configure.in M socket.c commit 15c17078871c69f16f10b087af6a8389e1eba862 Author: Martin Pool Date: Mon Nov 26 00:23:29 2001 +0000 Remove check for buggy getaddrinfo for the time being -- it's unclear how this is supposed to help. Check for netdb.h M configure.in commit 9dec7aa9c10e72a365378bb88745c6c64c76b4ae Author: Martin Pool Date: Sun Nov 25 09:30:36 2001 +0000 Make some of the headers used by the KAME getaddrinfo implementation be conditional -- they are missing on e.g. Solaris. Not sure if this will fix it. M configure.in commit bc3d7454e095686fc476cd4d336bf8bb5b6a8673 Author: Martin Pool Date: Sat Nov 24 05:38:35 2001 +0000 Fix KAME patch to use proper autoconf AC_MSG macros rather than just echo/exit. M configure.in commit 56901bc7c3e4b2bcff9db602c70118373765775a Author: Martin Pool Date: Sat Nov 24 05:33:35 2001 +0000 Call this pre3. M configure.in commit 5c7f570b16bceced8bab9a9caffde2eb4bf1bf6b Author: Martin Pool Date: Sat Nov 24 05:31:40 2001 +0000 IPv6 is off by default. M NEWS commit 4f6e5fe3236e7809795fe78ecf51cf88743b1aba Author: Martin Pool Date: Sat Nov 24 05:30:27 2001 +0000 IPv6 is off by default -- it seems to break header files on too many systems. M configure.in commit 7d682ffea7e91740c18538c2d2ecad2495bebecf Author: Martin Pool Date: Sat Nov 24 05:13:12 2001 +0000 Note IPv6 and nohang patches. M NEWS commit cef40af20967675efc04f125d433a4bc9c774b75 Author: Martin Pool Date: Sat Nov 24 05:06:07 2001 +0000 Get rid of rule disliked by Sun Make. M Makefile.in commit a358449ab17f4e3c400d2a96acc900cfd0022f95 Author: Martin Pool Date: Sat Nov 24 04:57:41 2001 +0000 Set rsync version in configure.in Show IPv6 availability in --version. M Makefile.in M clientserver.c M configure.in M options.c M rsync.h D version.h commit 8ef6b72514b9138653f0cdcde5bca00685470432 Author: Martin Pool Date: Sat Nov 24 04:33:07 2001 +0000 Fix Makefile syntax problem when LIBOBJS is defined. M Makefile.in commit 620bbabc610b8d1e1efbd8f9048f79fcdd865d8d Author: Martin Pool Date: Sat Nov 24 04:29:37 2001 +0000 Try to get IPv6 support, unless --disable-ipv6 is explicitly specified. M configure.in commit 7ef6aa6405c90db2d64cc1ec230cef258af43791 Author: Martin Pool Date: Sat Nov 24 04:22:20 2001 +0000 Improved error messages. M socket.c commit 7ad1d4fd667bcb1bae23fd09f2207c1df078d685 Author: Martin Pool Date: Sat Nov 24 04:16:18 2001 +0000 Rebuild if headers changed. M Makefile.in commit bf5c2bf604d6ade2ec150c2f9f61d750803734fb Author: Martin Pool Date: Sat Nov 24 04:12:54 2001 +0000 More autoconf fixes. M aclocal.m4 M configure.in commit b8fe70a516c71fd2fa8154b5341ab2cef2383f42 Author: Martin Pool Date: Fri Nov 23 07:37:26 2001 +0000 Ignore trash M popt/.cvsignore commit 06963d0fca72b8af5c708544ba7972582b54d90b Author: Martin Pool Date: Fri Nov 23 07:35:49 2001 +0000 Merge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnames or literal IP addresses to rsync, and if your platform supports them they will be used. Also there are -4 and -6 command-line options to choose the default address type. Thankyou! M Makefile.in M acconfig.h M clientserver.c M configure.in M options.c M socket.c commit b964901f7d01ad04717535ce3d328200d616be32 Author: David Dykstra Date: Fri Nov 16 19:19:44 2001 +0000 Fix to make_file() to exit earlier if a file is excluded, because doing readlink_stat() on an excluded file can be a problem when using the --copy-links option (also known as -L) and the excluded file is a symlink that points nowhere. M flist.c commit b52c1d9d3aec51afbc9d1c5561d2b70d8bcecf54 Author: Martin Pool Date: Fri Nov 9 06:58:39 2001 +0000 Document chroot confusion. M clientserver.c commit a24e12e6dd814f7da77d121fcedf862f05f061f5 Author: Martin Pool Date: Wed Sep 12 14:35:39 2001 +0000 More notes. M rsync3.txt commit 3c6cd53b238daeeb5ba2afa87616df7cc90a429b Author: Martin Pool Date: Wed Sep 12 14:20:44 2001 +0000 Think think. M rsync3.txt commit 4f69fe59c7df335de04bd4409a369885eb31ab2a Author: Martin Pool Date: Wed Sep 12 08:51:24 2001 +0000 Start to wrap up all thoughts on what should happen for rsync 3. A rsync3.txt commit d2e02b7d96585d2b5dc02f6f396d45942cfa8d44 Author: Martin Pool Date: Wed Sep 12 08:46:29 2001 +0000 Fix from Marc Espie to make included-popt work with VPATH builds. M configure.in A popt/dummy.in commit a57873b71028ac790cc81f41468514d008d5c771 Author: Andrew Tridgell Date: Sun Sep 9 04:42:09 2001 +0000 fixed check for timeout in generator the generator can easily make no progress for a long time, so don't do timeout processing checks M generator.c M io.c commit 30ce7e8a648284a177c798804b609e45f6712aa2 Author: Andrew Tridgell Date: Sun Sep 9 04:41:14 2001 +0000 64-bit files depends on the size of OFF_T, not off64_t M options.c commit f0af1e5ec651dded245e9f3fcdd0455f70735ecb Author: Andrew Tridgell Date: Sat Sep 8 12:48:50 2001 +0000 debian stable screws up largefile support for fcntl locking. This adds a test for the screwup and disables largefile support M configure.in commit f7ca98bdc47f30fef67b6c232a88af7e6c44ac5e Author: Martin Pool Date: Fri Sep 7 07:57:10 2001 +0000 Doc. M runtests.sh M tls.c commit 7df0935a5124dbe1ce81f3b462645464bd17aa9d Author: Martin Pool Date: Fri Sep 7 07:52:34 2001 +0000 Add a little implementation of ls(1) so that we can look at all and only the attributes of files that rsync is meant to synchronize. Test cases should depend on testing tools. M .cvsignore M Makefile.in commit f22ee865172a42b7c4b291472b6fddb484c8db66 Author: Martin Pool Date: Fri Sep 7 07:52:09 2001 +0000 Add a little implementation of ls(1) so that we can look at all and only the attributes of files that rsync is meant to synchronize. A tls.c commit 8f98c608b91af5aba17e219b5e929d5ecbd5b3a2 Author: Martin Pool Date: Fri Sep 7 07:50:31 2001 +0000 Remove test trace stuff. M runtests.sh M testsuite/rsync.fns commit 32c58f06e01b1826cf6c74f0d3f29802ae8a28a9 Author: Martin Pool Date: Fri Sep 7 07:49:34 2001 +0000 Try to exit 0 if nothing fails. M runtests.sh commit 040f7b659595c500a5faf06032be066bbe195ea6 Author: Martin Pool Date: Fri Sep 7 07:35:08 2001 +0000 Update copyright notice. M options.c commit d2476f0db3d3769eb23c9a4907d24e526cb61307 Author: Martin Pool Date: Thu Sep 6 13:12:28 2001 +0000 Debug exit status -- on Sun1/cc all the tests pass, but make sees an exit status of 1. ??? M runtests.sh commit 952cf8f4f34feba3d40f2cda90d2453f70aa2b3a Author: Martin Pool Date: Thu Sep 6 13:07:52 2001 +0000 Oops, some machines don't have `which`. M testsuite/rsync.fns commit a138e47560c701145461fd6f81065c77ff1dc67e Author: Martin Pool Date: Thu Sep 6 13:04:48 2001 +0000 Oops, some machines don't have `which`. M testsuite/rsync.fns commit 7d6916547f572e1d7e246b73d403265ff9b59714 Author: Martin Pool Date: Thu Sep 6 06:34:24 2001 +0000 See if head(1) works -- broken on some systems? M testsuite/rsync.fns commit 6cd7888e46fb7611668c981ff8193c5f3d16d8a6 Author: Martin Pool Date: Thu Sep 6 06:30:09 2001 +0000 You cannot do "export VAR=VALUE" all on one line; the export must be separate from the assignment. (SCO SysV) M runtests.sh M testsuite/daemon.test commit 1d54358e5207f5f5326dc9e9f362671275c86b22 Author: Martin Pool Date: Thu Sep 6 06:27:02 2001 +0000 Fix selective definition of *snprintf. (Welcome to mbp's breakage world.) M rsync.h commit 4c80c473ed131310ac30478c15f0030f7ce5346d Author: Martin Pool Date: Thu Sep 6 06:21:15 2001 +0000 More testsuite cleanups. Now I hope we cope without 'cp -a', though we still need 'cp -p'. M testsuite/hands.test M testsuite/rsync.fns commit 571a4b265410cdc6b8301580f2b04ee29cff214a Author: Martin Pool Date: Thu Sep 6 06:06:13 2001 +0000 BSD machines don't seem to have head(1). M runtests.sh M testsuite/rsync.fns commit 501972bf72bea1b291afd50e1752cbb007fcd0b6 Author: Martin Pool Date: Thu Sep 6 05:57:27 2001 +0000 Split the 'longdir' test into its own script, and make it work without 'mkdir -p'. M testsuite/hands.test A testsuite/longdir.test M testsuite/rsync.fns commit 99cdaff70da08dffb209ba58cd5cae4b1a4fb736 Author: Martin Pool Date: Thu Sep 6 05:52:40 2001 +0000 Add a makepath() function to cope with machines that do not have 'mkdir -p'. (Stone knives and bearskins...) M testsuite/rsync.fns commit c36b5017b8ecfd4ec05d60278558bda785b0659a Author: Martin Pool Date: Thu Sep 6 05:50:48 2001 +0000 Doc. Look at $whichtests to run just a subset -- good for calling from Make. M runtests.sh commit a4cf6bec192051aaa58c04398e647f1c1c90c9ea Author: Martin Pool Date: Thu Sep 6 04:56:55 2001 +0000 Fix comment. M runtests.sh commit 0154b302ce36e9ee8889005c732fba21c9d4d881 Author: Martin Pool Date: Thu Sep 6 04:56:02 2001 +0000 Fiddle umask again. M testsuite/rsync.fns commit ec99e9da819e00f76ae25fb0a4acb7306c6b7e5d Author: Martin Pool Date: Thu Sep 6 02:30:06 2001 +0000 Clean up output a little. M runtests.sh commit e052b21f32e69c0368ec1379b4cd22ebe662e557 Author: Martin Pool Date: Thu Sep 6 02:26:21 2001 +0000 Set umask so that symlinks will have the right permissions on BSD. M testsuite/rsync.fns commit b2f02464985e9a9e0b8416635ab2d592e31c5096 Author: Martin Pool Date: Tue Sep 4 03:12:55 2001 +0000 For log messages containing ridiculously long strings that might overflow a buffer rsync no longer aborts, but rather prints an ellipsis at the end of the string. (Patch from Ed Santiago.) M NEWS M log.c commit c1659c79ef18a34d6954689ddd03475cbfdbb1c7 Author: Martin Pool Date: Fri Aug 31 09:27:35 2001 +0000 Clean up from rsync+ patch; fix compiler warning. M sender.c commit 4a7cb3e8a82c5b641ef4344a41af33847922f4c2 Author: Martin Pool Date: Fri Aug 31 09:26:34 2001 +0000 Fix sh syntax for FreeBSD. M runtests.sh M testsuite/rsync.fns commit 0de40240bbe5d1edc85bdf32e5c014be88a3a14a Author: Martin Pool Date: Fri Aug 31 09:23:06 2001 +0000 If we're using built-in *printf functions, then provide prototypes. M rsync.h commit d79c77caca3d14a4bb7f6eb3cf8b387776d1b30a Author: Martin Pool Date: Fri Aug 31 08:22:00 2001 +0000 Cope on machines without INADDR_LOOPBACK. M rsync.h commit 2b106d0b3ae921fbdf60772e4ae6a226e310affe Author: Martin Pool Date: Fri Aug 31 08:16:23 2001 +0000 Ignore test tmp dir. M .cvsignore commit 8fef0245283dadaa2d6b86096b13c78bfcae0b34 Author: Martin Pool Date: Fri Aug 31 08:13:57 2001 +0000 Run the daemon test using faked tcp connections. M testsuite/daemon.test M testsuite/rsync.fns commit 6963e540db9a7b297d9f5ee0713f690ac65eca8d Author: Martin Pool Date: Fri Aug 31 08:12:35 2001 +0000 Grammar fix. M rsyncd.conf.yo commit 3ef526f5fa28b6a77ef55d3bf37ec37789dde8ae Author: Martin Pool Date: Fri Aug 31 08:08:42 2001 +0000 Add comment about handling of 'use chroot' M clientserver.c commit eecd22ff7b041c6dc3cd5ff517aef64d2b69607c Author: Martin Pool Date: Fri Aug 31 07:06:13 2001 +0000 Merge in the LIBSMB_PROG idea from samba, so that you can do RSYNC_CONNECT_PROG='./rsync --daemon' ./rsync -vvvvvv localhost:: to test as a daemon without actually having to listen on a port. M clientserver.c M rsync.h M socket.c commit add7e8fb6ba143bfb3f8aa2ac1e2c01734ab8e81 Author: Martin Pool Date: Fri Aug 31 06:48:35 2001 +0000 Doc. Try to give a better error message when there is a remote option error. M options.c commit f6e09367a702252982147334bdc844a7812ceb2e Author: Martin Pool Date: Fri Aug 31 06:29:45 2001 +0000 Option should be --recursive, not --recurse. (This is what it was in --help and 2.4.6.) M options.c commit 3aae15ecfba78001055a547f79f801ccdbc17158 Author: Martin Pool Date: Fri Aug 31 05:49:16 2001 +0000 Fix rsyncd.conf generation. M testsuite/daemon.test M testsuite/rsync.fns commit f5ad6eb18d535a3133b221c1773469f85952053f Author: Martin Pool Date: Fri Aug 31 05:48:19 2001 +0000 Fix message. M testsuite/ssh-basic.test commit 7f1b717ac74fa3ce61d8f51375717c5a4d4f75ca Author: Martin Pool Date: Fri Aug 31 05:45:49 2001 +0000 Show rsync version before doing anything else. R100 testsuite/rsync-hello.test testsuite/00-hello.test commit 55bdb416328baa61f7d5b05e70f38c657f085e2f Author: Martin Pool Date: Fri Aug 31 05:41:45 2001 +0000 Skip SSH tests if $rsync_enable_ssh_tests is not set M testsuite/ssh-basic.test commit 7c06e407ecb9c99abce58665f85551d8e99707a9 Author: David Dykstra Date: Thu Aug 30 16:24:03 2001 +0000 The --compare-dest option was not listed as accepting a string parameter like it was supposed to. There should probably be a testsuite test for --compare-dest. M options.c commit c13ad7ec4738990b45d7dc586f5b8e9931797fdd Author: Martin Pool Date: Thu Aug 30 08:28:53 2001 +0000 fix bashism M testsuite/daemon.test commit d2094cc33dd87229f453176918e4ae2c2536f88e Author: Martin Pool Date: Thu Aug 30 07:14:57 2001 +0000 Split out generic functions for starting rsyncd. M testsuite/rsync.fns commit c3469aed19e87b08f8c5964e7c56c34e614b02a3 Author: Martin Pool Date: Thu Aug 30 07:11:46 2001 +0000 Notes on an interactive shell for rsync. A rsyncsh.txt commit 232ce2b2c8ce48020b4d5d26969c5dca9337a883 Author: Martin Pool Date: Thu Aug 30 07:10:45 2001 +0000 Start testing daemon functionality A testsuite/daemon.test commit 882582b3075e8dea1e0511a2448def52c20ee920 Author: Martin Pool Date: Thu Aug 30 07:10:20 2001 +0000 Run all scripts in the testsuite/ directory, not just named ones. I'd like to make this script not rsync-specific if possible. M runtests.sh commit ebaa0489b4c4d9ae2cc5142e80bfbca6094ca228 Author: Martin Pool Date: Thu Aug 30 06:56:57 2001 +0000 Abandoned D testsuite/rsync-address.test commit 1a1c244dc3de301cf7b7ae28c9b91e83752e7cef Author: Martin Pool Date: Thu Aug 30 06:54:59 2001 +0000 Obsolete D testsuite/runlist commit 320989b05d7242149be03cd021d11e7201e4f937 Author: Martin Pool Date: Thu Aug 30 06:54:15 2001 +0000 On BSD, this seemed to always exit after test failure. Try different shell syntax. M runtests.sh commit 9d682a8dc19a7f74084714ada301804bf0b22176 Author: Martin Pool Date: Thu Aug 30 06:51:58 2001 +0000 More debug output for testing SSH. M testsuite/ssh-basic.test commit 37c3cf430d996cf0501b083c2c3279a0bc7da95f Author: Martin Pool Date: Thu Aug 30 06:35:48 2001 +0000 Try using `diff -c' not `diff -u' because the latter seems to be broken on SCO2. M testsuite/rsync.fns commit 751411c40d2fd4bbb0df2dde10c176171fb0d669 Author: Martin Pool Date: Wed Aug 29 09:38:28 2001 +0000 Use rsync source rather than /etc for files because things in /etc might be protected or missing on some systems. M testsuite/rsync.fns commit 6a46226b3a4ee1c7ab1a4929c8dddeb70c6c5473 Author: Martin Pool Date: Wed Aug 29 09:27:43 2001 +0000 BSD doesn't have /etc/resolv.conf or /etc/inittab, and hands.test was trying to use them as a source of noise. M test.sh commit 42e66aa24cacea99d62b203d1c1a4bad234a1f1a Author: Martin Pool Date: Wed Aug 29 09:24:35 2001 +0000 Apparently `set -x' in the shell works on some Bourne shells, but not SCO. M runtests.sh commit 5cb1f5c7950771429df39ee829b4744749132930 Author: Martin Pool Date: Wed Aug 29 09:23:19 2001 +0000 Apparently '!' to invert a pipeline result doesn't work on UnixWare. M runtests.sh commit 12b9c8409e2bfcd8f5eada3fad3d40cdbd673509 Author: Martin Pool Date: Wed Aug 29 09:20:35 2001 +0000 Return the *number of tests that failed*, so that it will show up nicely in the overall summary. M runtests.sh commit e8ca59014212d539dbddcdf6d0d320d70fc2857c Author: Martin Pool Date: Wed Aug 29 09:18:45 2001 +0000 Cleanup check_logs feature. `ps ax' is not portable -- don't use it to generate random text. Use `ls -lR' instead. M testsuite/hands.test M testsuite/rsync.fns commit 863dff5179921b8214f7f6a874e620f3e9bb2d9a Author: Martin Pool Date: Wed Aug 29 09:15:17 2001 +0000 Cleanup check_logs feature. M runtests.sh M testsuite/rsync.fns commit 3fedd74ba21c4dd9d64d384881271d19fc80dc47 Author: Martin Pool Date: Wed Aug 29 09:13:01 2001 +0000 Clean up Phil's test more. Make the checkit() routine more generic. Split out ssh tests. M testsuite/hands.test A testsuite/rsync-address.test M testsuite/rsync.fns A testsuite/ssh-basic.test commit 78ffe4787fbe6c3d175d9196ef4c2bc9f4521b5f Author: Martin Pool Date: Wed Aug 29 09:12:05 2001 +0000 $RSYNC and similar variables must be set to absolute path so that it can be passed to --rsync-path. Add a nopersist=yes option that makes runtests bomb out as soon as one test fails -- this is good if you're watching the trace output. M runtests.sh commit a4b4af889bde3f92f151b870db05416d3ceb4ab9 Author: Martin Pool Date: Wed Aug 29 09:11:14 2001 +0000 $RSYNC must be set to absolute path so that it can be passed to --rsync-path M Makefile.in commit d286ee98b915721150ba20e4a954f83fbc6df30f Author: Martin Pool Date: Wed Aug 29 08:48:00 2001 +0000 Count overall failure if some expected scripts were missing. M runtests.sh commit 42be591878cbd96775528ccc27404cd090c819db Author: Martin Pool Date: Wed Aug 29 08:46:18 2001 +0000 Remove testtmp directory on 'clean'. Run test scripts in POSIX mode to try to catch portability problems. M Makefile.in commit 3a4c683f0445965c5800a81e3a54eedf17f2f319 Author: Martin Pool Date: Wed Aug 29 08:13:19 2001 +0000 More test case work: * make sure to build rsync before running 'make check' * Put back in the loglevel concept from the samba scripts. If >8, then turn on shell tracing. * Allow tests to return 77 if they want to count as 'skipped'. * Add more docs. * Mangle Phil's script to get ready to run on non-Linux systems: we need to not use shell functions, cp -a, etc. Not there yet. M Makefile.in M runtests.sh M testsuite/hands.test M testsuite/rsync.fns commit e7d29902a6a7d9cea7c8a524478bb70062100d34 Author: Martin Pool Date: Wed Aug 29 07:33:27 2001 +0000 Redraft testsuite driver script to unify 'make check', 'make installcheck' and buildfarm tests. Add note from discussion with Tim about finding files/directories under different circumstances. Now works (?) with VPATH build. M .cvsignore M Makefile.in M configure.in A runtests.sh R100 testsuite/config.sh.in shconfig.in D testsuite/master.test commit 64bd756832d93c0767e72a3432fda29b30d69405 Author: Martin Pool Date: Wed Aug 29 07:23:30 2001 +0000 Add comment: cyeoh says that getpass is deprecated, because it may return a truncated password on some systems, and it is not in the LSB. M authenticate.c commit 8642efd0d6bb172c5fed17d545afa615148cfe6b Author: David Dykstra Date: Mon Aug 27 16:23:41 2001 +0000 The --with-rsync-path configure option was using the wrong configure variable "$with_rsync_name" instead of "$with_rsync_path". M configure.in commit 063393d62ddb2de75a0ec2f11295b12a4b929cc3 Author: Martin Pool Date: Thu Aug 23 06:14:54 2001 +0000 Only use the "@RSYNC EXIT" tag if we're talking to a client about version 25. This prevents it appearing and messing up the module list when an old client connects to a 2.4.7 server. M clientserver.c M csprotocol.txt M rsync.h commit 7a55d06e0d6771625ed2041f08470f2cdbd25965 Author: Martin Pool Date: Wed Aug 22 04:15:50 2001 +0000 Allow the server to terminate the module list by just closing the socket, rather than sending a proper EXIT command. Keep the global-variable hack to do this, but try to make it only apply in the specific case where that occurs, not on all lines we read. M clientserver.c M io.c commit 6f82f7a6f67bd9f5dd88bc3977c1f633405244f0 Author: Martin Pool Date: Wed Aug 22 04:14:05 2001 +0000 Add a little more protocol documentation. M csprotocol.txt commit 33d213bb37a004b9f58642f9d186d6b68747e6d5 Author: Martin Pool Date: Wed Aug 22 04:09:07 2001 +0000 Note about cross-testing different versions. M TODO commit a426e396c47cd5a5dfbf6466bcb0025912804379 Author: Martin Pool Date: Tue Aug 21 14:06:52 2001 +0000 Return 1 if any tests failed so that the build farm can pick it up. M testsuite/master.test commit fafeb69cb65de9668b3bdfb6fd457bebf1f305a6 Author: Martin Pool Date: Tue Aug 21 13:44:08 2001 +0000 Change test directory again. M testsuite/master.test commit b9277bdb6a68a7e4b27e59e56a65da55a0ca71eb Author: Martin Pool Date: Tue Aug 21 13:26:30 2001 +0000 Don't look at $srcdir if it's not set. (Why isn't it set??) M testsuite/master.test commit b53713d322f4731822bae81a3138caf016aa00f1 Author: Martin Pool Date: Tue Aug 21 13:20:53 2001 +0000 Show trace while testing. M testsuite/master.test commit 2f22174f2178f0ea53b7264b5967a003117bf58c Author: Martin Pool Date: Tue Aug 21 13:10:18 2001 +0000 Try again to find the right directory on both local and farm builds. M testsuite/master.test commit d820215b3547e4c2303a34cdb0f6e2234476e92e Author: Martin Pool Date: Tue Aug 21 13:00:55 2001 +0000 More test suite stuff A testsuite/config.sh.in A testsuite/rsync.fns commit ea4a03762a61b4472019622da92ed2deb2a3bacc Author: Martin Pool Date: Tue Aug 21 12:49:23 2001 +0000 Print source directory. M testsuite/master.test commit 46ef7d1dc8e8f25ef2e2f9d13272c8edb77545b6 Author: Martin Pool Date: Sat Aug 18 23:50:27 2001 +0000 Update notes; add idea about rsyncsh M TODO commit e340a8203ede66bbd36a6c715d1330735b4a5aa9 Author: Martin Pool Date: Fri Aug 17 01:57:42 2001 +0000 Export autoconf settings to test scripts. Use this to cope with systems that don't use "echo -n". M configure.in M testsuite/hands.test M testsuite/master.test commit 3459d319d1ea16c51937ec5e2046a48d8f54050c Author: Martin Pool Date: Fri Aug 17 01:44:13 2001 +0000 Set up scratch directory for tests. M .cvsignore M Makefile.in M testsuite/master.test commit 09ec75a62937ec83f3ea266927021734509c90df Author: Martin Pool Date: Fri Aug 17 01:43:13 2001 +0000 Don't pause at end of tests. M testsuite/hands.test commit 4df7868d39f4f6c5708dc2fd15af7dcd5a9cbae1 Author: Martin Pool Date: Fri Aug 17 01:34:31 2001 +0000 Try to fix "make check" directory path. Don't wait for input at end of tests. M Makefile.in M testsuite/master.test M testsuite/rsync-hello.test commit bc888e05da803d80f880339150deb609958693c0 Author: Martin Pool Date: Fri Aug 17 00:58:21 2001 +0000 Find the right directory to run the test components. M testsuite/master.test commit 26c7f120e6452c7043475ece3bcc8380c57fe421 Author: Martin Pool Date: Fri Aug 17 00:51:20 2001 +0000 Try to get test scripts to run properly. M testsuite/master.test commit 5b7be6ee4aeaeceb45599fbafd74ffc01c1e8257 Author: Martin Pool Date: Thu Aug 16 09:37:54 2001 +0000 Show number of passed/failed/skipped tests. M testsuite/master.test commit 951351a537b0b8f7148a9c53ca329c2f5302ee3f Author: Martin Pool Date: Thu Aug 16 09:35:21 2001 +0000 Don't print test headers unless the test is about to run. M testsuite/master.test commit 0b21c485ec4cda007e2e0ca2f57f0dc5fce2e89c Author: Martin Pool Date: Thu Aug 16 09:16:08 2001 +0000 Note test suite. Note autoconf2.52 is required. M NEWS commit 068a7221ce17fbe7fe18be574e8b90288c15e43c Author: Martin Pool Date: Thu Aug 16 09:13:37 2001 +0000 Move Phil Hand's test under the control of the master test suite. A testsuite/hands.test M testsuite/master.test commit a4772a4dbca5db5082b35882aae7cdbe0dbb8e83 Author: Martin Pool Date: Thu Aug 16 09:08:29 2001 +0000 Start to unify the "make check" and build farm test suites M Makefile.in M testsuite/README A testsuite/master.test M testsuite/rsync-hello.test D testsuite/rsync.fns M testsuite/runlist commit 2ee91aedb1cd1e7935bca55788ba5a2490f3069e Author: Martin Pool Date: Thu Aug 16 08:13:13 2001 +0000 Use set -x until this script works properly. M testsuite/rsync-hello.test commit d95447229b6329aee52107602e6b62ff51088460 Author: Martin Pool Date: Thu Aug 16 08:12:55 2001 +0000 Fix typo. M testsuite/rsync.fns commit 40ec33b604a9bd03688d9409523bc1cc1ad9ffeb Author: Martin Pool Date: Thu Aug 16 07:08:26 2001 +0000 Gave directory its proper name D tests-dont-exist/oh-yes-they-do D tests-dont-exist/rsync-hello.test D tests-dont-exist/rsync.fns D tests-dont-exist/runlist commit 35e3b2d5559b5982c9eab832fcee8b44a28bc32c Author: Martin Pool Date: Thu Aug 16 06:27:51 2001 +0000 fix filename M testsuite/runlist commit aa9c2df9d9c824f6437152405c17f72839ce6899 Author: Martin Pool Date: Thu Aug 16 06:24:56 2001 +0000 Updated directory name for rsync tests M testsuite/rsync-hello.test A testsuite/rsync.fns M testsuite/runlist commit f472cdf01795a2d3bdfb361cbe101cb182395ef1 Author: Martin Pool Date: Thu Aug 16 05:44:17 2001 +0000 Try to execute rsync --version as part of the test suite -- see if this works on the farm. A tests-dont-exist/oh-yes-they-do A tests-dont-exist/rsync-hello.test A tests-dont-exist/rsync.fns M tests-dont-exist/runlist commit 1dc587af1b41a1e048a858e57d9fa0f626d1856d Author: Martin Pool Date: Wed Aug 15 08:52:10 2001 +0000 Fix cast warning. M options.c commit aeb6292d0d237454120bd99f5269ba2f923d2f90 Author: Martin Pool Date: Wed Aug 15 08:06:26 2001 +0000 Try to get tests to run with old buildfarm clients A tests-dont-exist/runlist commit 7d91d5a619207c60d5c5d9695d01867208057b68 Author: Martin Pool Date: Wed Aug 15 07:52:28 2001 +0000 Check that gethostbyname does actually return AF_INET addresses, since that's all we can handle. Also, try a new method of handling in_addr and hostent that will hopefully work on Cray machines without 32-bit types. M socket.c commit 7169bb4aa91cafc1f36b6f5907ec1bcdd19ad024 Author: Martin Pool Date: Wed Aug 15 07:50:07 2001 +0000 Fix a bug introduced in 1.119, whereby strings like "mirror.aarnet.edu.au::" were not properly digested. It wasn't even my bug! :-) M main.c commit 2db52650fccb4647349a3c5d51b9309bf4039c6c Author: Martin Pool Date: Wed Aug 15 06:50:46 2001 +0000 Fix another format cast. M batch.c commit c1f62a573a8351dbc663467e744800935c7574d5 Author: Martin Pool Date: Wed Aug 15 06:47:40 2001 +0000 Use socklen_t for getpeername, since we hopefully now have it defined on all platforms. M socket.c commit 08a740ff436a4c0dc1aa53d671f6f14b8bf2348a Author: Martin Pool Date: Wed Aug 15 06:41:24 2001 +0000 Fix casts when some variables are printed out. M batch.c M clientserver.c M flist.c M main.c commit b67381d0dcd437cb60cef565264b69137918c69f Author: Martin Pool Date: Wed Aug 15 06:38:23 2001 +0000 Drop dead variables introduced in rsync+ patch. M main.c commit 07e9500818c26d7cfd1a3e251f3fcf509f7b9967 Author: Martin Pool Date: Wed Aug 15 06:34:28 2001 +0000 Fix trace message which was missing a parameter. Drop dead variable introduced in rsync+ patch. M sender.c commit c77cf82206b89c2415d69df418542aee472d4285 Author: Martin Pool Date: Wed Aug 15 05:47:57 2001 +0000 Add the start of a buildfarm test suite for rsync. It doesn't do much yet -- I just want to see if it runs. A testsuite/README A testsuite/rsync-hello.test A testsuite/runlist commit f8014b864e81af1220ed6d339332b4d203fe510d Author: Martin Pool Date: Wed Aug 15 05:47:29 2001 +0000 Typo. Shouldn't depend on assert(). M socket.c commit d58911fb37252f7cf593aee482556fbbf4f75c92 Author: Martin Pool Date: Wed Aug 15 05:08:07 2001 +0000 Better error messages for DNS. M socket.c commit b335d74565edf53d38056b9b83a5674e2203e1ff Author: Martin Pool Date: Wed Aug 15 05:07:29 2001 +0000 Fix bug in --address handling. M options.c commit 3405fe45f40b050176e92be0ce00fc04a8345509 Author: Martin Pool Date: Tue Aug 14 02:28:12 2001 +0000 Note UNICOS works again M NEWS commit 095efec1d68de043e701c8cd750c62c675d85257 Author: Martin Pool Date: Tue Aug 14 02:24:09 2001 +0000 Spec file from Jason Haar that works on RedHat 7.1. Not tested by me yet. A packaging/redhat/7.1/rsync.spec commit 7ca6e8564990a7e8d5b4ea623ce22bdaaae0bc1b Author: Martin Pool Date: Tue Aug 14 02:18:04 2001 +0000 Commit getconf/socklen_t/largefile patch suggested by Albert Chin. This is tested on Solaris 2.5.2, 2.6, 7, 8/SPARC, HP-UX 10.20, 11.00, Tru64 UNIX 4.0D, 5.0A, IRIX 6.2, 6.5, AIX 4.3.2 and it works ok. This patch *requires* autoconf 2.52. M aclocal.m4 M configure.in commit 74be4fc399887ee6beeda794b16dcdf2497b6550 Author: Martin Pool Date: Tue Aug 14 02:14:09 2001 +0000 Remove incorrect news message M NEWS commit 3b4b1984ef280e966b62d37817dbc720c38becd7 Author: Martin Pool Date: Tue Aug 14 02:08:17 2001 +0000 Update version message to mention batch files. M options.c commit 6902ed178ba54c8e1c410519f7ee576ddb42554c Author: Martin Pool Date: Tue Aug 14 02:04:47 2001 +0000 Merge across rsync+ patch; add a little documentation to the manpage. More documentation would be better. M Makefile.in M NEWS A batch.c M compat.c M flist.c M main.c M match.c M options.c M rsync.c M rsync.yo M sender.c M token.c M util.c commit fab9a9c54729984199d20b637ea8cc163c73d2e2 Author: Martin Pool Date: Wed Aug 8 10:04:40 2001 +0000 Another try at socklen_t: just check for it, and otherwise use int. The HP manual says this will work on old HP/UX versions; I'm not sure about other systems. Possibly it will break on old BSD-derived systems with 32-bit int, 64-bit size_t and no socklen_t, if there are any such. M aclocal.m4 M configure.in commit 376acbfad54c4a24ade440a880bc8e0b87951811 Author: Andrew Tridgell Date: Wed Aug 8 08:55:24 2001 +0000 don't need to lookup our own name in open_socket_in() M socket.c commit 12458878c26f738a76883c67b02a89c617036d9b Author: Martin Pool Date: Wed Aug 8 08:11:50 2001 +0000 Try various different types as replacements for socklen_t until we find one that works. This helps on platforms like HP/UX and UNICOS where the argument to getsockopt is neither socklen_t nor int. M aclocal.m4 M configure.in commit 546434f8671d3137a7bb9347395111a8043d1f59 Author: Martin Pool Date: Mon Aug 6 12:31:23 2001 +0000 Two more instances of socklen_t. M socket.c commit ac2a1a449d04d27feb72a61ef0739bae1fb52f52 Author: Martin Pool Date: Mon Aug 6 12:27:04 2001 +0000 Use socklen_t if defined, or otherwise int. This tries to fix warnings on platforms (e.g. AIX) where this type is defined and not int. M configure.in M socket.c commit e1bd49d6f3f7a5793cc9cd06d57498ce976f81e0 Author: Martin Pool Date: Mon Aug 6 12:25:45 2001 +0000 Try to fix "infinite loop" warning on AIX and other compilers. (We exit on a signal.) M main.c M util.c commit ab94af5c6f93c3b81af95888197f60522e2eb144 Author: Martin Pool Date: Mon Aug 6 12:23:50 2001 +0000 Correct over-zealous edit for UNICOS. M flist.c commit c88ca682ef8ee2cfea99ce3a50e702166cbe2121 Author: Martin Pool Date: Mon Aug 6 12:16:20 2001 +0000 Fix for UNICOS CC: first argument to readlink must not be const, or we get an error. M flist.c commit fc990e81cb7cf425ab0c24753931ce868192441a Author: Martin Pool Date: Mon Aug 6 08:51:48 2001 +0000 Document autoconf updates. M NEWS commit e2ba16cceac9289c52a1fd0af9a229c1b6d51807 Author: Martin Pool Date: Mon Aug 6 08:49:19 2001 +0000 Fix check for ino_t to work with both autoconf2.50 and autoconf2.13. M configure.in M rsync.h commit 76d4988d0623e9d85d6b8cbe76b4e4dce4531e3f Author: Martin Pool Date: Mon Aug 6 08:41:13 2001 +0000 Fix m4 quoting to make autoconf2.50 happy. I checked it still works on 2.13. See "info:(autoconf)New Macros". M aclocal.m4 commit 25ea348bd19f1b7b69d114fff72a7cb905db4b1b Author: Martin Pool Date: Mon Aug 6 04:31:05 2001 +0000 Summarize all the changes since 2.4.6 so we have them in one place. A NEWS commit 8ca5756339487aa97594c4ea60555c9050a703bf Author: Andrew Tridgell Date: Sun Jul 22 02:39:06 2001 +0000 updated config scripts from subversion M config.guess M config.sub commit 029c171330dff85dc651060b09ee6e7de8b02a6a Author: Andrew Tridgell Date: Tue Jul 17 10:48:31 2001 +0000 reap children in sigchld handler M main.c commit 8f04bb36e7f8070591f88114be99be644f637083 Author: Andrew Tridgell Date: Tue Jul 17 10:45:54 2001 +0000 prevent nasty error msgs when listing shares M clientserver.c commit b7334b4c3102c2c307249f778c7aa5db0cec6f02 Author: Andrew Tridgell Date: Thu Jun 28 05:07:15 2001 +0000 removed remnant test code for cray M lib/mdfour.c commit a7f8404ecdad8cc94f20f6a599131535d5c856ef Author: Andrew Tridgell Date: Tue Jun 26 03:09:14 2001 +0000 fixed md4 on 64 bit boxes M lib/mdfour.c commit 6c65e14634d9d2a7b103fe53aa7585b196c38227 Author: Andrew Tridgell Date: Tue Jun 26 01:20:42 2001 +0000 applied simple nohang patch from Wayne Davison M main.c commit ddd491d45e7fc3bb21443876bb91c78d098f99a1 Author: David Dykstra Date: Fri Jun 22 20:36:43 2001 +0000 Improve the description of --with-default-rsync. M configure.in commit 5d78a10232490229a5e157bf8e87b96404e6a8fd Author: Andrew Tridgell Date: Fri Jun 22 10:16:04 2001 +0000 allow shell wildcards in auth users lines M authenticate.c M rsyncd.conf.yo commit 4d66e00afac22e5e0f3ba908bbdbabec6dd80e37 Author: Martin Pool Date: Thu Jun 21 06:19:00 2001 +0000 If binding to a low-numbered port fails with EACCES, then the error message should explain that you probably need to be root. (Why leave off the final S? Kernighan must have been a *really* slow typist.) M socket.c commit 531d06b82464e77b81453cbd618a56af7d1542b8 Author: Martin Pool Date: Thu Jun 21 06:15:34 2001 +0000 Fix from Wayne Davison: The --cvs-exclude option is broken in the CVS version of rsync because of a cut-and-paste-induced bug in exclude.c: This bug could cause the sending rsync to crash when it dereferenced a NULL pointer. M exclude.c commit c6a7f2f48aa3d317343c54e4f47a9d278ab84f2b Author: David Dykstra Date: Wed Jun 13 16:47:22 2001 +0000 Simplify the --with-rsync-path option implementation. Can directly pass the double-quotes to AC_DEFINE_UNQUOTED instead of having a separate step. M configure.in commit d4e4cbe105d6e7d9e472eb52e7d33bddc4960d71 Author: David Dykstra Date: Tue Jun 12 21:35:26 2001 +0000 Use 3rd parameter in AC_DEFINE and AC_DEFINE_UNQUOTED to avoid having to manually put the defines into acconfig.h. M acconfig.h M configure.in commit 41bd28fee315c7b1d61c04dbe6441afba4d0b789 Author: David Dykstra Date: Tue Jun 12 19:33:41 2001 +0000 Add --with-rsync-path option. M acconfig.h M configure.in M options.c commit a1a440c23e50c1a711bbe404456234895b8db79d Author: David Dykstra Date: Tue May 29 14:37:54 2001 +0000 Make --whole-file the default when source and target are on the local machine. M main.c M rsync.yo commit 089e73f8d690a819cd79d26cfc711af78d916478 Author: David Dykstra Date: Thu May 24 18:01:56 2001 +0000 Ran rsync.yo through yodl2man to produce rsync.1. I found that the string "file(s)" in rsync.yo was being improperly translated by yodl2man so I changed it to just "files". M rsync.yo commit 2c5548d25e4e62819a4eb906b85d62f134782681 Author: David Dykstra Date: Tue May 22 14:33:38 2001 +0000 Add --ignore-errors documentation. M rsync.yo commit 65c2a918d47e70f9dcb41e32e45370c5c6a37db0 Author: Andrew Tridgell Date: Mon May 7 08:59:48 2001 +0000 forgot 1 place that used slprintf M lib/compat.c commit 8950ac03f8fd0fb645c7d2374195ea884d091f72 Author: Andrew Tridgell Date: Mon May 7 06:59:37 2001 +0000 imported new snprintf.c from samba, got rid of slprintf M acconfig.h M backup.c M clientserver.c M configure.in M exclude.c M generator.c M io.c M lib/snprintf.c M log.c M options.c M receiver.c M rsync.c M socket.c M util.c commit 26ef00bd3c6c66240a4640aa54db1106d8b901fc Author: Andrew Tridgell Date: Sun May 6 13:25:11 2001 +0000 no space after -I or Tru64 barfs M configure.in commit efe3037cf5cfba379cffb4068775c75b5b0172db Author: Andrew Tridgell Date: Wed May 2 11:13:21 2001 +0000 use _S_IFLNK not S_IFLNK M flist.c commit f62c17e3786ac6643981d9ec68a1cd130ffcf149 Author: Andrew Tridgell Date: Wed May 2 08:33:18 2001 +0000 use mkstemp on systems where it is secure M Makefile.in M acconfig.h M configure.in M lib/compat.c M receiver.c M syscall.c commit 0f621785808f8a5104259171c197fe5e384ab6d9 Author: Andrew Tridgell Date: Wed May 2 05:05:12 2001 +0000 better pid file location M rsyncd.conf.yo commit 81c99202d3a60703d651edb8e967e300648cd8f1 Author: Andrew Tridgell Date: Fri Apr 13 12:25:19 2001 +0000 use %.0f instead of %ld M io.c commit 3473b5b4d88befb4370a1b861e5c2f414cf4ffc4 Author: David Dykstra Date: Fri Mar 23 15:12:52 2001 +0000 Add the words "on destination machine" to the --compare-dist description in rsync.yo. Re-ran yodl2man which I see pulled in a few other changes from rsync.yo that hadn't yet made it into rsync.1. M rsync.yo commit ba35824322939b54352443461bc645c29f61cfb6 Author: Andrew Tridgell Date: Fri Mar 23 03:46:56 2001 +0000 "rsync error" is better than "transfer error", especially for -h M log.c commit 6afe7f23b0440d3261fb99e3f7b4d56bd00713cc Author: Andrew Tridgell Date: Fri Mar 23 03:44:50 2001 +0000 got rid of dependency on alloca in popt M popt/findme.c M popt/popt.c M popt/poptconfig.c M popt/poptparse.c commit 19b27a485e833e08160ef0bae8f604c6f60e5ef8 Author: Andrew Tridgell Date: Fri Mar 23 01:26:04 2001 +0000 improved error handling again. Now we report messages for the remote shell failing and propogate errors in a better fashion M cleanup.c M errcode.h M log.c M main.c M util.c commit ff81e809f46293171a332a2faa320aca57277b4b Author: Andrew Tridgell Date: Thu Mar 22 07:36:51 2001 +0000 new error handling system we now give a non-0 exit code if *any* of the files we have been asked to transfer fail to transfer M cleanup.c M clientserver.c M compat.c M io.c M log.c M main.c commit fd2dd2aa231954db2bcc0b60f2a696bc38161aa9 Author: Andrew Tridgell Date: Wed Mar 21 23:44:48 2001 +0000 better error msg for "invalid uid" and "invalid gid" M clientserver.c commit 82ed9106304afc7af5df7bed12ba7d3e2c5c6134 Author: Andrew Tridgell Date: Wed Mar 21 23:36:23 2001 +0000 i hate makefiles that automatically run configure :) M Makefile.in commit 90ba34e27c74c9fd8a8a00a360132caf20877fc2 Author: Andrew Tridgell Date: Wed Mar 21 13:12:44 2001 +0000 I came up with a new way of avoiding the error handling lockup bug in rsync. It isn't pretty, but it does work and should completely avoid that class of lockup. M io.c M log.c commit 8ee3d639b2733276a93d92132ff4d8102ceb4d94 Author: Martin Pool Date: Tue Mar 20 05:26:27 2001 +0000 Check for alloca.h and mcheck.h, as included popt needs to know about them. M configure.in commit 0c5a792ac7e8d9f415aaafd18f7500256de133af Author: Martin Pool Date: Mon Mar 19 08:19:11 2001 +0000 Oops, fix edit mistake. M log.c commit 2af27ad9aabae8d32ca24cca677086ca8c4b2b1e Author: Martin Pool Date: Sat Mar 17 01:35:59 2001 +0000 More accurately, the uid/gid is set to -2, not "nobody". M clientserver.c M rsyncd.conf.yo commit 3b2b53456759d614a92f178fa43f9c9ec1332f8e Author: Martin Pool Date: Sat Mar 17 01:34:22 2001 +0000 Add some todo comments. M clientserver.c commit 3fa64fd0080caf4b44ac069f3b6172b68f274e6f Author: Martin Pool Date: Sat Mar 17 01:06:34 2001 +0000 Don't unconditionally define _LARGEFILE_SOURCE, but instead include some autoconf-2.13 macros that make the appropriate settings. Thanks to Albert Chin and Paul Eggert . M aclocal.m4 M configure.in M rsync.h commit b557c4c7eb79fe3ecd1107486a0fce132095f5f9 Author: Martin Pool Date: Fri Mar 16 05:23:33 2001 +0000 Define _LARGE_FILES to turn on LFS support on AIX (and some others?). See http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lrg_files.htm Thanks to Todd Willeat M rsync.h commit 0882faa2b21c3e153eda96646f2c91b05cb0c9e8 Author: Martin Pool Date: Fri Mar 16 02:11:53 2001 +0000 Doc. M main.c commit 3cd5eb3b3b2eb98287c781b1b8fedf16e4b0f976 Author: Martin Pool Date: Tue Feb 27 01:49:19 2001 +0000 Add my name and a suggestion to read the FAQ for unanswered questions. M rsync.yo commit 4ff3d9d6b44bc69c15cd960fa0c062abd4c4e03a Author: Martin Pool Date: Tue Feb 27 01:46:34 2001 +0000 Explain that the mktemp warning is harmless. If the autoconf inputs are changed, then try to reconfigure. Don't worry if we can't do it, though. M Makefile.in commit 26c08b6c2183b2b22b7dbdd2dad3814bf0c07cb1 Author: Martin Pool Date: Sat Feb 24 01:45:21 2001 +0000 Add some brief notes on how to install. A INSTALL commit 4db414928370edd557a1ff09cacc3aee2b39656c Author: Martin Pool Date: Sat Feb 24 01:39:19 2001 +0000 popt-1.5 is const-correct. M options.c commit 1ac15cd8adfb364965189261a860a94ca37c9b6b Author: Martin Pool Date: Sat Feb 24 01:37:48 2001 +0000 Upgrade from including popt1.2 to a version of popt1.5 trimmed down to include only source and build from our Makefile. Don't scan for libpopt if we're using our own; this makes autoconf confused. M Makefile.in M configure.in commit b348deae3ddbb25802a5b533d91e06832212b48a Author: Martin Pool Date: Sat Feb 24 01:32:22 2001 +0000 Upgrade from popt 1.2 to a cut-down 1.5 D popt-1.2/.cvsignore D popt-1.2/CHANGES D popt-1.2/Makefile.am D popt-1.2/Makefile.in D popt-1.2/acconfig.h D popt-1.2/aclocal.m4 D popt-1.2/autogen.sh D popt-1.2/config.h.in D popt-1.2/configure D popt-1.2/configure.in D popt-1.2/install-sh D popt-1.2/missing D popt-1.2/mkinstalldirs D popt-1.2/po/.cvsignore D popt-1.2/po/Makefile.in D popt-1.2/po/Makefile.in.in D popt-1.2/po/POTFILES D popt-1.2/po/POTFILES.in D popt-1.2/po/ro.po D popt-1.2/popt.3 D popt-1.2/popt.spec D popt-1.2/poptint.h D popt-1.2/stamp-h.in D popt-1.2/test-poptrc D popt-1.2/test1.c D popt-1.2/testit.sh A popt/.cvsignore A popt/CHANGES R100 popt-1.2/COPYING popt/COPYING R100 popt-1.2/README popt/README A popt/config.log R068 popt-1.2/findme.c popt/findme.c R081 popt-1.2/findme.h popt/findme.h R053 popt-1.2/popt.c popt/popt.c R061 popt-1.2/popt.h popt/popt.h R083 popt-1.2/poptconfig.c popt/poptconfig.c R061 popt-1.2/popthelp.c popt/popthelp.c A popt/poptint.h R052 popt-1.2/poptparse.c popt/poptparse.c A popt/system.h commit 18c71e96f8f9281f570046095433df38c6785fd6 Author: Martin Pool Date: Fri Feb 23 01:45:46 2001 +0000 Doc. M log.c M syscall.c commit f0f5767f151100e679b4cab69f3cdad3884c1d5a Author: Martin Pool Date: Fri Feb 23 01:44:56 2001 +0000 Change from getopt to popt -- requires const-correctness on arguments. M exclude.c commit 15b7b73d7dd5dc3a70943e40551dabce74bb629f Author: Martin Pool Date: Fri Feb 23 01:44:04 2001 +0000 Change from getopt to popt. Add comments. Show listening port number in startup log message. M clientserver.c commit e420b9d85485a0c136da4f28972cdbd88fffc3d0 Author: Martin Pool Date: Fri Feb 23 01:02:55 2001 +0000 Change from getopt to popt. Add comment. M rsync.h commit 2855f61f4a0003d508b9e4cc1314f9bd52f2cf42 Author: Martin Pool Date: Fri Feb 23 01:02:31 2001 +0000 Change from getopt to popt. Include more details in --version output: say whether symlinks and hardlinks are supported. When hardlink support is missing, explain whether the problem is on the client or server. When a bad option is encountered, don't just print it to stderr but send it to the rsync log mechanism. (However, server errors currently seem to get lost in transit because of bugs in logging.) M options.c commit 2d1ebe9c722c8dfd3d892d6c00efce0bad78aae7 Author: Martin Pool Date: Fri Feb 23 00:48:11 2001 +0000 Change from getopt to popt. Automatically build included libpopt if there is none on the system, or if --with-included-popt is specified. Add --enable-debug. M configure.in commit c485a357cc3bb71a27ed7ed0b6f199f0f05f470a Author: Martin Pool Date: Fri Feb 23 00:47:09 2001 +0000 Change from getopt to popt. Automatically build included libpopt if there is none on the system. M Makefile.in commit 50135767058f40b26c1683e467ec015dba162ea8 Author: Martin Pool Date: Fri Feb 23 00:45:07 2001 +0000 Change from getopt to popt. D lib/getopt.c D lib/getopt.h M main.c A popt-1.2/.cvsignore A popt-1.2/po/.cvsignore commit 8886f8d0e6bed423ff12a6e7b5517ed164216967 Author: Martin Pool Date: Thu Feb 22 13:02:39 2001 +0000 Add comments. Better error message in the case of eof on read_timeout. M io.c commit fcb6d28d0bcfa9ac630ee7cf38ff08a1978ee01c Author: Martin Pool Date: Thu Feb 22 13:01:27 2001 +0000 Note about multiplexing. M csprotocol.txt commit 62402cb14bd322ffc8fa03f20cd8b8703efe5356 Author: Martin Pool Date: Thu Feb 22 13:01:09 2001 +0000 Check in built-in copy of libpopt in preparation for switching from getopt A popt-1.2/CHANGES A popt-1.2/COPYING A popt-1.2/Makefile.am A popt-1.2/Makefile.in A popt-1.2/README A popt-1.2/acconfig.h A popt-1.2/aclocal.m4 A popt-1.2/autogen.sh A popt-1.2/config.h.in A popt-1.2/configure A popt-1.2/configure.in A popt-1.2/findme.c A popt-1.2/findme.h A popt-1.2/install-sh A popt-1.2/missing A popt-1.2/mkinstalldirs A popt-1.2/po/Makefile.in A popt-1.2/po/Makefile.in.in A popt-1.2/po/POTFILES A popt-1.2/po/POTFILES.in A popt-1.2/po/ro.po A popt-1.2/popt.3 A popt-1.2/popt.c A popt-1.2/popt.h A popt-1.2/popt.spec A popt-1.2/poptconfig.c A popt-1.2/popthelp.c A popt-1.2/poptint.h A popt-1.2/poptparse.c A popt-1.2/stamp-h.in A popt-1.2/test-poptrc A popt-1.2/test1.c A popt-1.2/testit.sh commit 305ab1331bda5ed1c4678bd720865ad1ee7fc7ce Author: Martin Pool Date: Wed Feb 21 08:25:07 2001 +0000 Doc. M main.c commit 8212336aaa96715932f6d18476b2bc28f9e9f923 Author: Martin Pool Date: Wed Feb 21 08:16:45 2001 +0000 More explanation of return values. M rsync.yo commit 3e3dcd624fbd178ac714048f244208873624d52c Author: Martin Pool Date: Wed Feb 21 07:18:50 2001 +0000 Better message grammar. M log.c commit b30b3bb8998a4b6f1f7bc67fa03fd6a1e9e5ff8f Author: Martin Pool Date: Wed Feb 14 22:59:03 2001 +0000 Call this 2.4.6dev so that we don't get bug reports claiming to be about 2.4.6. M version.h commit 55b64e4b5eb520ff4c7f3e5005295d2b06108661 Author: Martin Pool Date: Wed Feb 14 22:47:28 2001 +0000 Add table of exit values, from errcode.h. M rsync.yo commit e4114634426cf9f8d43623f0fd028fa7722859aa Author: Martin Pool Date: Thu Feb 8 03:28:19 2001 +0000 Document shortcoming of "unrecognised option" message. M options.c commit 660c6fbdaa31605abedddeea5fa5109d2734f2dc Author: Martin Pool Date: Mon Jan 8 10:25:00 2001 +0000 Include strerror message when there's a socket error. M socket.c commit ce6c7c63189d612e0e3ae254ac57584c204b39fa Author: Martin Pool Date: Mon Jan 8 03:39:53 2001 +0000 Improved error message. M io.c commit fa994de488ecdbd5cd6c902d1b8924fae9464614 Author: Martin Pool Date: Mon Jan 8 03:39:32 2001 +0000 Ignore generated files that are not stored in CVS. M .cvsignore A zlib/.cvsignore commit 234892699550145368ee2bdfdcfc0dcdcb529212 Author: Martin Pool Date: Mon Jan 8 01:10:58 2001 +0000 Typo fix from Jim Meyering M rsync.yo commit 735a816e54c6cd5347341682caeeb8492fff4356 Author: David Dykstra Date: Fri Jan 5 17:57:11 2001 +0000 Better explain how the --blocking-io option works. M rsync.yo commit a1b1b1da46bdc8b36cc821b3839adc13656de70b Author: Martin Pool Date: Wed Nov 15 05:53:45 2000 +0000 Add comments. M generator.c commit c3563c46ed40c3021b61f5ed228c9eca2d64e1f3 Author: Martin Pool Date: Wed Nov 15 03:16:06 2000 +0000 Doc. M io.c commit 0c80cd8ee9cb0bfc5b447fc823f9c68bac33bc1c Author: Martin Pool Date: Fri Nov 10 03:41:47 2000 +0000 In --version, say whether we have socketpair() or not M options.c commit b79f79e3aa2c016fef12e28800e650ae70aaa876 Author: Martin Pool Date: Fri Nov 10 03:41:17 2000 +0000 Ignore dummy output file M .cvsignore commit af642a61b369ae6e488d674e17aa5242ae9d34d1 Author: Martin Pool Date: Fri Nov 10 03:28:15 2000 +0000 If an error occurs, print an explanatory string rather than just an RERR code. M errcode.h M log.c commit ef1aa9103912b14b67d5b5893038ccb51a8f3371 Author: Martin Pool Date: Fri Nov 10 03:17:08 2000 +0000 Doc. M cleanup.c M generator.c commit 1960e2280cbc8ccc289078385adcab26ccb8f4dc Author: Martin Pool Date: Thu Nov 9 09:45:19 2000 +0000 Drop dead variable. M util.c commit 7c1b4daa6fb236e82eda5ff6595b8e3f1b257f1b Author: Martin Pool Date: Thu Nov 9 09:27:34 2000 +0000 Document getsockopt POSIX confusion. M socket.c commit 7a24c346b07d672c3d95bb44f16a0133f5197e3d Author: Martin Pool Date: Thu Nov 9 09:05:14 2000 +0000 Print a warning message in the version if the platform cannot support 32-bit ints M io.c M options.c commit 64c2cf8fea3287b7f1b4ce2a359dfaf0e2da0ad8 Author: Martin Pool Date: Thu Nov 9 09:02:16 2000 +0000 Better error messages M generator.c commit 81d538ce23f7348b156348a0ae56b3dcd51955d4 Author: Martin Pool Date: Wed Nov 8 09:45:16 2000 +0000 Better error messages when unlink fails M generator.c commit e327acece45bfb1c17ad6c41e8e4b6d388aa6287 Author: Martin Pool Date: Wed Nov 8 09:32:11 2000 +0000 Better error messages when unlink fails M receiver.c M rsync.c commit 4e40377ac262b5f0a76b3fff08f0ad7ce58cf56c Author: Martin Pool Date: Wed Nov 8 09:32:10 2000 +0000 Better error messages when unlink fails M receiver.c commit eeb1568fd516949d918eb48276e07b009fae81d7 Author: Martin Pool Date: Thu Nov 2 11:38:13 2000 +0000 Correct license name. Note new address of pserver. Correct documentation. M README commit 0ba481368c2a44d6d6a2f361fa12df432d9d304b Author: Martin Pool Date: Thu Nov 2 11:37:34 2000 +0000 Add some comments. M io.c M main.c commit 38bf526fc5c78f780422c2f343ae6bf7f1bb4149 Author: Andrew Tridgell Date: Tue Oct 31 10:59:50 2000 +0000 fix bug in handling of : M main.c commit bc363ea983a5b5db44c71bf0cb8310fddb740dc8 Author: Martin Pool Date: Tue Oct 31 01:05:42 2000 +0000 Display a warning about pointlessly using --rsh with clientserver mode. M clientserver.c commit 84f69dad19e869eee500eb57665a9c8f5807efe2 Author: Martin Pool Date: Thu Oct 26 08:05:36 2000 +0000 Draft documentation of the client-server protocol. A csprotocol.txt commit 4a13b9d57ac9cd848d7644886e12fd3aae3f70c4 Author: Martin Pool Date: Thu Oct 26 07:31:29 2000 +0000 Print strerror when a system error occurs; add a new function rsyserr to do this. This is not used in every case yet -- I've just changed a few cases that were causing trouble. Please convert others as you see them. M authenticate.c commit a039749b4c21e3439dc06fcdd5355828f1f95463 Author: Martin Pool Date: Thu Oct 26 07:24:18 2000 +0000 Print strerror when a system error occurs; add a new function rsyserr to do this. This is not used in every case yet -- I've just changed a few cases that were causing trouble. Please convert others as you see them. M authenticate.c M backup.c M clientserver.c M exclude.c M log.c M rsync.h commit 15b84e142a7de03abd8f9831788d66f0052daea0 Author: David Dykstra Date: Wed Oct 25 19:57:42 2000 +0000 Make sure the log file is always opened before root privileges (if any) are given up. M log.c M socket.c commit 45a8354004ecbc1c0b03d6e880b512854ed9439a Author: David Dykstra Date: Tue Oct 24 18:50:08 2000 +0000 When running as --daemon in the background and using a "log file" rsyncd.conf directive, close the log file every time it is open when going to sleep on the socket. This allows the log file to get cleaned out by another process. M clientserver.c M log.c M socket.c commit c32d024071bd1519de936be65eaf8687260926ac Author: Andrew Tridgell Date: Thu Oct 19 00:47:48 2000 +0000 don't clobber argv[0], so ps shows the right thing M main.c commit 205c27ac6717fc54709a326202c649e09e2c4f03 Author: David Dykstra Date: Fri Oct 13 13:49:31 2000 +0000 Add note in "secrets file" section to see "strict modes". M rsyncd.conf.yo commit f5c20813021e80c743003dad9628ce70902876bc Author: Martin Pool Date: Fri Oct 13 03:28:12 2000 +0000 Clear up conditions for running as root. M .cvsignore M rsyncd.conf.yo commit e6c64e793345230fdba2cf86c159830613baf71d Author: Martin Pool Date: Fri Oct 13 03:25:07 2000 +0000 Oops: manpage updates should go into the yodl source. M rsync.yo commit a0365806496568d4dca9114341dbd73685216898 Author: Martin Pool Date: Wed Oct 11 00:57:27 2000 +0000 Quick list of things to do. A TODO commit 796d484b44fe3e18af5c9c47d7bb42e096655e9b Author: Martin Pool Date: Tue Oct 10 01:26:55 2000 +0000 Clearer "nothing to do" message. M main.c commit 1f52f4c407ad9e9f2e73514f351ff24f61d0324a Author: Martin Pool Date: Mon Oct 9 03:48:47 2000 +0000 Get rid of const modifiers; they're problematic with old compilers. M exclude.c commit d567322fbc4005051e81a6c0bdb25774ac78f402 Author: Martin Pool Date: Mon Oct 9 03:46:38 2000 +0000 include/exclude cluestick: with -vv, print out whether files are included or excluded and why. M exclude.c M flist.c M rsync.h commit 3ff1e677a14fb20ab620fd816c4dd25e5c295d27 Author: John H Terpstra Date: Mon Sep 11 18:04:35 2000 +0000 Added provision for packaging for Linux Standards Base compliant Linux systems. A packaging/lsb/rsync.spec.tmpl commit ef325f0cf46e40d2cbf4bf5fa494e10a946d60e4 Author: Andrew Tridgell Date: Wed Sep 6 07:15:37 2000 +0000 neater getconf test M configure.in commit 3d8810c928e285ae3d0a3d28acd4905054af4687 Author: rsync-bugs Date: Wed Sep 6 02:47:00 2000 +0000 preparing for release of 2.4.6 M packaging/redhat/5.0/rsync.spec M version.h commit d153974ee264f085ba57b701e05b1bc208bff148 Author: Andrew Tridgell Date: Wed Sep 6 02:39:45 2000 +0000 README update M README commit 5b56cc19fbd5ed6626a091aa9c5af7fa371dc73a Author: Andrew Tridgell Date: Wed Sep 6 02:12:13 2000 +0000 added --modify-window option from David Bolen M generator.c M options.c M rsync.c M rsync.yo M util.c commit c48b22c8583f6d6c55c6a6f6001cf4fdcc20aed1 Author: Andrew Tridgell Date: Wed Sep 6 01:27:46 2000 +0000 minor man page update M rsync.yo commit 65d0a49f5c0d7f389ca1b2273f0a8ba306630a06 Author: Andrew Tridgell Date: Wed Sep 6 00:48:52 2000 +0000 removed spurious error message M rsync.c commit 6a48ca56ebe7ee7e2c251b8e0661d399f0a7ec45 Author: Andrew Tridgell Date: Tue Sep 5 23:21:27 2000 +0000 added LFS support for Solaris 8 M Makefile.in M configure.in commit a20aa42ac40f04d2fd7d9cbee3cb55d5cd57d96b Author: Andrew Tridgell Date: Thu Aug 31 23:01:28 2000 +0000 a simple fix to the memory problems with the string pool patch. The string pools conflict with the lastdir memory saving tricks. M flist.c commit e92ee12893ca6320f5331384b2c2e8560ca9c88a Author: Andrew Tridgell Date: Tue Aug 29 05:07:08 2000 +0000 make sure we don't chew too much CPU when the outgoing fd is full M io.c commit 5c66303ad6a6bd195b3d5a982f706aa51e686bac Author: Andrew Tridgell Date: Tue Aug 29 04:47:39 2000 +0000 some string_area cleanups M flist.c commit 27e3e9c9063c49e5d35a2b682fc88c0be2a523d1 Author: Andrew Tridgell Date: Tue Aug 29 04:46:50 2000 +0000 detect list_only a bit earlier M clientserver.c M main.c commit f0b36a48c8bbf1ccf2e93f2e7296c08a744f559f Author: Andrew Tridgell Date: Tue Aug 29 04:46:27 2000 +0000 the 2nd half of the hack M options.c commit 25cf88936f037f45fbf1c146a420756f7d3d8564 Author: Andrew Tridgell Date: Tue Aug 29 04:45:49 2000 +0000 a hack to make listing remote sites (by leaving off a target) more useful M exclude.c commit ae682c3e115aae1e15811e1411f5e7e3438d3193 Author: Andrew Tridgell Date: Sat Aug 19 15:25:05 2000 +0000 got rid of some unused variables M authenticate.c M io.c M loadparm.c M main.c M sender.c commit 99994aef3e672644ab8fceefabcc75b17142ac1c Author: rsync-bugs Date: Sat Aug 19 13:10:57 2000 +0000 preparing for release of 2.4.5 M packaging/redhat/5.0/rsync.spec M version.h commit 78043d19690784e9f531acb7a63648e7f2733e5e Author: Andrew Tridgell Date: Sat Aug 19 13:04:48 2000 +0000 man page updates M rsyncd.conf.yo commit 43e46b4cf69f97cb5cbe3a9eddec67fb2fe631ec Author: Andrew Tridgell Date: Sat Aug 19 13:04:29 2000 +0000 allow 0.0.0.0/0 syntax in hosts allow/deny patch from Charles Levert M access.c commit 9ec16c83be3164bdcfe8412933d5b7fc86cabcb1 Author: Andrew Tridgell Date: Sat Aug 19 12:53:51 2000 +0000 added msleep() function M util.c commit a24c687094ca7da998065c33365f6ba1168cb44d Author: Andrew Tridgell Date: Sat Aug 19 12:53:24 2000 +0000 sleep for a smaller time while waiting for a process to exit M main.c commit 60cb2f9016f3e3eee1f2e4bbf6ff3ca1d6f60871 Author: Andrew Tridgell Date: Sat Aug 19 12:53:00 2000 +0000 added "ignore nonreadable" option (useful for hiding files in public archives) M loadparm.c commit ac1a0994b6b15ea5e1681315ac014252015fcdf8 Author: Andrew Tridgell Date: Sat Aug 19 12:52:39 2000 +0000 added an explicit noexcludes flag to make_file() this fixes a bug with --backup-dir and -x added "ignore nonreadable" option (useful for hiding files in public archives) M flist.c commit f2cbf44ba5820440bbb2a6fd07113cae877834b0 Author: Andrew Tridgell Date: Sat Aug 19 12:51:26 2000 +0000 added an explicit noexcludes flag to make_file() M backup.c commit dab552237e155343bc45a34d498c89bed953952e Author: Andrew Tridgell Date: Sat Aug 19 12:51:00 2000 +0000 I don't like automatic header dependencies M Makefile.in commit 2201ba580e0dd4075b17cfb8aefe8ac0e1b7dff8 Author: Andrew Tridgell Date: Sat Aug 19 12:09:52 2000 +0000 added MacOS support to config.guess (from wsanchez@apple.com) M config.guess commit b7c33e3bdea743c1d9fe1fb66f2f3929ab59fd31 Author: Andrew Tridgell Date: Sat Aug 19 11:06:04 2000 +0000 fixed backup_dir bug introduced with recent memory handling patches M backup.c commit 82980a23840452c069c37dd7c99c3ac937536847 Author: Andrew Tridgell Date: Wed Aug 16 08:34:18 2000 +0000 fixed timing problem with cleanup and io_flush() by using non-blocking waitpid() M main.c M rsync.h M util.c commit b6a30afc9812ddf685caf7d06dcf102e9e8073e9 Author: David Dykstra Date: Fri Aug 4 21:26:17 2000 +0000 Undo last setting of blocking_io. I hadn't reviewed the code well enough; turns out that when client is talking to a server daemon it never executes this leg of code. Oops. The people who said it made a difference when they changed the code must have been wrong. M clientserver.c commit ed91f3e4181465c64d13cf037306cbf2850cc844 Author: David Dykstra Date: Fri Aug 4 21:18:23 2000 +0000 Turn on blocking_io when starting client of rsync server daemon. M clientserver.c commit 60c8d7bc7f693e568e6a60a82a433f8534b1e26e Author: David Dykstra Date: Fri Aug 4 21:11:46 2000 +0000 Enable --compare-dest to work in combination with --always-checksum. Problem and suggested patch from Dean Scothern dino@cricinfo.com (although I re-wrote the patch). M generator.c commit 5783c065bafb416016738a4b69cc2fe74f92aa2c Author: rsync-bugs Date: Sat Jul 29 05:05:38 2000 +0000 preparing for release of 2.4.4 M packaging/redhat/5.0/rsync.spec M version.h commit adc19c987b2238fa64428621c7956b0b1b25b5e3 Author: Andrew Tridgell Date: Sat Jul 29 04:58:24 2000 +0000 fix from T.J.Adye@rl.ac.uk for final goodbye message with new protocol M main.c commit 3d38277706a5155d57563d1221e7233d8159470a Author: Andrew Tridgell Date: Sat Jul 29 04:52:05 2000 +0000 optimisations from Rich Salz M backup.c M flist.c M main.c M rsync.h commit 64c704f0b9e545e9c8525a6a07c3d134944c70f1 Author: Andrew Tridgell Date: Sat Jul 29 04:41:19 2000 +0000 added blocking-io docs M rsync.yo commit 69c6522734897c0b81b184c5ebcc6cd9461f6da3 Author: Andrew Tridgell Date: Sat Jun 24 13:20:21 2000 +0000 added *.bz2 and *.tbz to default dont compress list M loadparm.c M rsyncd.conf.yo commit 0f8f98c8ff7e81e2853d8e6cd78d00275198c95d Author: Andrew Tridgell Date: Sat Jun 24 13:19:53 2000 +0000 added insure debug support M util.c commit e384bfbdcb9c871e0d67f60238eff57d0f08b2b3 Author: Andrew Tridgell Date: Sat Jun 24 13:19:25 2000 +0000 if the remote shell is rsh then use blocking IO M main.c commit 08e5094d7fc2e863b10438a4154580ea95576d59 Author: Andrew Tridgell Date: Fri Jun 23 13:54:29 2000 +0000 added some comments on blocking-io M util.c commit 4b3977bf006fa50f9a920078a0998823b1de49e4 Author: Andrew Tridgell Date: Fri Jun 23 13:54:08 2000 +0000 get rid of annoying symlink error messages M generator.c commit c80ccabb0cfbdbc60a4ff4f885cd8f7d4eaed6d0 Author: Andrew Tridgell Date: Fri Jun 23 13:50:18 2000 +0000 added --blocking-io option M options.c M util.c commit ef5d23ebcd67a59d2f89fbb5004c9ece4cc4d887 Author: David Dykstra Date: Tue Jun 6 21:13:05 2000 +0000 Add --bwlimit option contributed by Matthew Demicco and Jamie Gritton. M io.c M options.c M rsync.yo commit 27b9a19be0e90919fe8be3f939f9760d53b221c0 Author: David Dykstra Date: Fri May 19 14:58:28 2000 +0000 Do better job at describing exclude/include in man page. Based on suggestions from Harry Putnam . M rsync.yo commit 14175f1e7700e4e800692fc2c466cbd27a60176e Author: Andrew Tridgell Date: Wed Apr 19 05:49:15 2000 +0000 fixed bug in replacement inet_aton() M lib/compat.c commit 269833af78c68552b07703c053fd1c271670c31e Author: Andrew Tridgell Date: Wed Apr 19 05:44:43 2000 +0000 test was the wrong way around M lib/compat.c commit fca3ef06cdb845573b8460a551ad5f90838ef9ca Author: Andrew Tridgell Date: Wed Apr 19 05:33:39 2000 +0000 autoconf test for broken solaris inet_aton() M acconfig.h M configure.in M lib/compat.c commit 07a14ef8b228494463a277c46c83a89d10713513 Author: Andrew Tridgell Date: Wed Apr 19 05:33:06 2000 +0000 by default don't gzip .iso images M loadparm.c commit 21cde2888c9633c04273aa2210ba767aac3e0a0a Author: rsync-bugs Date: Sun Apr 9 02:53:57 2000 +0000 preparing for release of 2.4.3 M packaging/redhat/5.0/rsync.spec M version.h commit 4a7481889c3841a7903ae7dfa51f8d1995266f25 Author: Andrew Tridgell Date: Sun Apr 9 02:32:57 2000 +0000 use 1 second sleeps in the sleep loop as some OSes (NT for example) don't get interrupted during a sleep. M main.c commit 0adb99b9dcbc5f5dbb0ee0ffb95df8b3710fcc22 Author: Andrew Tridgell Date: Sun Apr 9 02:32:18 2000 +0000 don't pprint the IO timeout message if we are a server or daemon (can cause recursive error messages) M io.c commit 36349ea0bea8eb341b69a90792ec2147fde19573 Author: Andrew Tridgell Date: Sun Apr 9 02:16:42 2000 +0000 a very simple fix - if I'd only thought if it last week :) rsh relies on stdin being blocking ssh relies on stdout being non-blocking what we've done before is to set both stdin and stdout to either blocking or non-blocking. Now I set stdin to blocking and stdout to non-blocking. This seems to fix all cases I've tested. M util.c commit ec3f7d1b613b2c5f7ea5f83b25760c0de096acf1 Author: rsync-bugs Date: Thu Mar 30 14:24:37 2000 +0000 preparing for release of 2.4.2 M packaging/redhat/5.0/rsync.spec M version.h commit f0359dd00d60d72c4b3dec85de8e490692f6015c Author: Andrew Tridgell Date: Thu Mar 30 14:15:00 2000 +0000 went back to non-blokcing IO it looks like ssh is willing to accept a non-blocking fd when used as a transport, this seems to avoid the Solaris socketpair bug M acconfig.h M clientserver.c M io.c M main.c M rsync.h M util.c commit ef55c686bcb61d8c83e79eb73ed15639e4345d5c Author: Andrew Tridgell Date: Tue Mar 21 04:06:04 2000 +0000 add a --ignore-errors option M flist.c M options.c M receiver.c M rsync.yo commit 5f7ce2041c2a3514c6c1bad903c8dffb9bca2467 Author: David Dykstra Date: Fri Feb 25 17:02:45 2000 +0000 Describe symbolic link handling when writing to a "use chroot = no" module. M rsyncd.conf.yo commit 328fcf113a3ef088619635057e863063538c2de8 Author: David Dykstra Date: Tue Feb 22 19:47:44 2000 +0000 Somebody was confused into thinking that "Here are some examples" in the section on exclude/include was supposed to be about "+/-" so I changed the statement to "Here are some exclude/include examples". M rsync.yo commit 24c857f1de29d5253ddfa39349a8098595a9340b Author: David Dykstra Date: Tue Feb 22 15:55:40 2000 +0000 Change socketpair test to verify that it works rather than just exists, because I have an obscure system (Amdahl's UTS 2.1.2) in which socketpair() exists but is broken. M configure.in commit a784e10d0061edb526da442b71d447a2ac83f432 Author: David Dykstra Date: Tue Feb 15 22:44:18 2000 +0000 Move the checking for -lsocket -lnsl ahead of the checking for most of the functions, especially "socketpair" so that socket-related functions will be properly discovered on SVR4-based systems such as Solaris. Problem discovered by Kenji Miyake M configure.in commit 7eb6bf03973f5bd4cfa302b124a5f8d7ca8b702c Author: rsync-bugs Date: Sun Jan 30 01:02:59 2000 +0000 preparing for release of 2.4.1 M packaging/redhat/5.0/rsync.spec M version.h commit 49d6fdc03617747d92422b9759ff5c828070aa11 Author: Andrew Tridgell Date: Sun Jan 30 00:56:43 2000 +0000 patch from Jim Delahanty to ensure files are deleted after being backed up in a rename operation M backup.c commit 8b35435f7cc4708400c652434615ce48dc493de4 Author: Andrew Tridgell Date: Sun Jan 30 00:50:19 2000 +0000 another hang-at-end fix. It looks like we are more sensiitive to these with socketpairs. The receiver now sleeps until it gets a signal to tell it to exit also fixed test.sh to use the current version remotely M cleanup.c M io.c M main.c M test.sh commit 8ada7518907e7606a28baac85840a5c56a010c5e Author: Andrew Tridgell Date: Sat Jan 29 23:49:36 2000 +0000 damn. with the new error handling code it is possible for rsync to get stuck on the final transaction, leaving it hung. looks like 2.4.1 will be pretty soon M main.c M rsync.h commit 1a52e8487404a431acca4b04f558869805bc60db Author: rsync-bugs Date: Sat Jan 29 11:35:39 2000 +0000 preparing for release of 2.4.0 M packaging/redhat/5.0/rsync.spec M version.h commit 53c5cbed23a0c5a9d1455dcc86573c37e494ea57 Author: Andrew Tridgell Date: Sat Jan 29 05:25:53 2000 +0000 change version to 2.4.0pre2 M version.h commit 4a81463880f9ba9d25b2e06ddc67628aa4768787 Author: Andrew Tridgell Date: Sat Jan 29 05:16:13 2000 +0000 use full buffer length, not strlen M log.c commit 09b7f5dbb189f6d1a3543d8f4f2f22b20d5fd3da Author: Andrew Tridgell Date: Sat Jan 29 05:02:23 2000 +0000 move the read only daemon test to after the protocol setup M clientserver.c M main.c commit 6d7b6081ac4c224f571fb7e90d437e3c118fae6c Author: Andrew Tridgell Date: Sat Jan 29 04:50:01 2000 +0000 damn! the last pre-release had a bug that didn't setup the multiplexing correctly. This means that pre-release will get "unexpected tag -7" whenm talking to the fixed code. M io.c M log.c M main.c commit 31b7d79afe59368a3bbee53e429db920ae7042bd Author: Andrew Tridgell Date: Sat Jan 29 03:11:07 2000 +0000 I've decided that this release will be 2.4.0, updated version to 2.4.0pre1 M version.h commit b2999e457fd3f0e4ca90c6bcc5c06e112be72c3c Author: Andrew Tridgell Date: Sat Jan 29 02:56:36 2000 +0000 don't need PIPE_BUF any more M io.c M rsync.h commit 0f3203c312c3e254b611a1687f8ff9a6bdf82376 Author: Andrew Tridgell Date: Sat Jan 29 02:49:03 2000 +0000 fixed some logcode warnings M io.c M log.c M options.c M rsync.h commit a2edb26cd61e68fe6b21f9ec7edd89513ad3227d Author: Andrew Tridgell Date: Sat Jan 29 02:39:52 2000 +0000 fixed a bug in test suite that I introduced yesterday M test.sh commit 9bec5286063b7e9210f945c68a738e96662a37ec Author: Andrew Tridgell Date: Sat Jan 29 02:35:01 2000 +0000 runtime detect fnmatch() bug if ** is used. its all too common to compile with a working libc and run on a broken one. M exclude.c commit 2f0e3b30a979a059aa5220fa598ec64fcc863bc1 Author: Andrew Tridgell Date: Fri Jan 28 15:35:08 2000 +0000 changed version to 2.3.3pre2 M version.h commit ff41a59f58614ff4e57b4c97b586dcd46e43cc5c Author: Andrew Tridgell Date: Fri Jan 28 15:29:59 2000 +0000 - switched on multiplexing for all connections, not just daemon connections (this fixes the stderr/stdout problem). Upped protocol version for backward compat - use multiplexing on error fd - upped minimal protocol version - got rid of some ugly code in the write buffering M clientserver.c M io.c M log.c M main.c M rsync.h M test.sh commit 08f15335b5b469b29cbdacd0fc5ba48d76acf280 Author: Andrew Tridgell Date: Fri Jan 28 12:37:58 2000 +0000 switch to using socketpair instead of pipe if possible. This fixes the ssh clag problems as long as you also fix the same problem in sshd removed all the old read buffering code from io.c as this was only there to try to reduce the chance of clagging up sshd. M configure.in M io.c M main.c M rsync.h M util.c commit bd36966bed1d14461557973f91adf4f29bc92c08 Author: Andrew Tridgell Date: Thu Jan 27 04:54:02 2000 +0000 report exit code when failing a test M test.sh commit f76933b149e06e801448b1ae16f54efe72d32da3 Author: Andrew Tridgell Date: Thu Jan 27 04:53:39 2000 +0000 fixed the error code problem with test.sh (was a minor bug in send_file_list) M flist.c commit 378a074c82bdb393b5780832598aaa1c648926b8 Author: Andrew Tridgell Date: Thu Jan 27 02:45:56 2000 +0000 patch from James Delahanty to make --backup-dir work cross-filesystem M backup.c commit c36cd3171366e13b6b5d50e2c3a2c7269cd8e89c Author: Andrew Tridgell Date: Tue Jan 25 14:17:21 2000 +0000 the convoluted nest of #ifdefs that is fnmatch.c caught us again. On my system the LIBC tests meant it never compiled and we used the broken system one. hacked it so it does compile M exclude.c M lib/fnmatch.c M lib/fnmatch.h commit 5e12ce118622705111df38043132b336590604b0 Author: Andrew Tridgell Date: Tue Jan 25 13:16:42 2000 +0000 fix segv bug in --progress handling M match.c commit 166aa723324aac5102506159489e29ed31411d4b Author: Andrew Tridgell Date: Tue Jan 25 06:39:33 2000 +0000 patch from David Murn to make sure the final 100% is always printed when using --progress M match.c M receiver.c M util.c commit f9f6184f38903386033626ee5e715fcf990361e6 Author: Andrew Tridgell Date: Tue Jan 25 01:33:05 2000 +0000 updated version.h M version.h commit f625af9400acf9117bd04a4b0496353fabc3b4c2 Author: Andrew Tridgell Date: Mon Jan 24 13:12:20 2000 +0000 updated config.guess from latest autoconf CVS tree M config.guess commit fc7952e7f3e3e3a6ee001bb44c25a43b9f6f0055 Author: Andrew Tridgell Date: Mon Jan 24 12:28:45 2000 +0000 updated --password-file docs M rsync.yo commit cbce490e138d7bbc7bf982496861f093732dfba9 Author: Andrew Tridgell Date: Mon Jan 24 12:23:39 2000 +0000 reinstated the MAX_READ_BUFFER code. Its a nasty tradeoff - using lots of memory vs. ssh bugs. uggh. M io.c M rsync.h commit 74a7f81d5749c9ce8d9b7c284f9378857d0d5d60 Author: Andrew Tridgell Date: Mon Jan 24 12:22:58 2000 +0000 updated a debug message M generator.c commit 5b5591d8a8974675e8e733afde6c98a399fcb981 Author: Andrew Tridgell Date: Mon Jan 24 12:02:44 2000 +0000 make the replacement inet_aton() function independent of inet_addr(). Some systems were detecting a missing inet_aton(), but actually had it and inet_addr() called it, causing infinite recursion M lib/compat.c commit c55f70218c2f5f292bdef2bb6ecb16408eb35f44 Author: Andrew Tridgell Date: Mon Jan 24 11:41:08 2000 +0000 fixed a rare SEGV that can happen when a file disappears (due to another program) during an update M receiver.c commit 6957ae33a931950d03cbba0d0cb78be1920f26f3 Author: Andrew Tridgell Date: Mon Jan 24 11:20:25 2000 +0000 moved file deletion to before the fork() to prevent a race condition pointed out by byrnes@curl.com M main.c M receiver.c commit 8a5d6bba0921ed8a2c931316d8fcae0b05b9ed2f Author: Andrew Tridgell Date: Mon Jan 24 09:19:44 2000 +0000 don't use stderr after we become a daemon M clientserver.c M io.c commit 1d2c275fffcde1fb0e53f736b282117883f84d2c Author: Andrew Tridgell Date: Mon Jan 24 09:13:39 2000 +0000 I can't believe it - solaris allows unlink of a non-empty directory as root, leaving a corrupt filesystem. Are those guys on drugs? try to avoid the problem as best we can. M rsync.c commit d0fd26aa168610ae625cce72226e27e6134c678f Author: Andrew Tridgell Date: Mon Jan 24 08:16:57 2000 +0000 added some more debug info to the "buffer overflow in receive_file_entry" message M flist.c commit e20c5e95217d6af8b6c737540087ae1fb53f5faa Author: Andrew Tridgell Date: Mon Jan 24 05:52:44 2000 +0000 -a now implies -o and -D whether you are root or not M options.c M rsync.yo commit 66203a982b3d249bafda9b9272c4c103c19e4a9b Author: Andrew Tridgell Date: Mon Jan 24 04:58:53 2000 +0000 added --backup-dir option from Bob Edwards this is very useful for incremental backups M backup.c M flist.c M options.c M receiver.c M rsync.c M rsync.yo commit b315601ce07701c4913c48a269775ab3284b25ba Author: Andrew Tridgell Date: Sun Jan 23 13:16:30 2000 +0000 removed Daves include-only optimisation. One of the bug reports turned out to be caused by it and it seems rather a lot of extra effort for what must really be a minor optimisation in most cases M exclude.c M flist.c commit 5f808dfbd71b0e40d0fd2976dceb2feaf024b6ca Author: Andrew Tridgell Date: Sun Jan 23 12:30:34 2000 +0000 fix a problem with files > 2GB (thanks to T.J.Adye@rl.ac.uk) M flist.c M generator.c M match.c M receiver.c M sender.c commit 0b73ca12fa018b3f6e45cc54912423930b3d6758 Author: Andrew Tridgell Date: Sun Jan 23 11:43:04 2000 +0000 added --max-delete option M options.c M receiver.c M rsync.yo commit 03e2d0e329575f0ca6f7843e9ceae1cd5341902b Author: Andrew Tridgell Date: Sun Jan 23 11:26:10 2000 +0000 fixed mdfour code on Cray (64 bit problems) Thanks to roebel@kgw.tu-berlin.de M lib/mdfour.c commit 182517e692d7c2e5fd11f492ef9c751b896d1069 Author: Andrew Tridgell Date: Sun Jan 23 07:38:20 2000 +0000 removed u_sleep() as it is no longer used anywhere M util.c commit 554e0a8dd0079cd8d28dbb30ffd90010f2f97933 Author: Andrew Tridgell Date: Sun Jan 23 07:36:56 2000 +0000 added some really ugly code to allow errors to propogate to clients when writing to a rsync server it works like this: - we have an extra pipe from the receiver to the generator - the server always runs with multiplexing on - errors from the generator go down the multiplexed connection - errors from the receiver go over the pipe, and from there to the multiplexed conn it required some incredibly ugly code. damn. M clientserver.c M io.c M log.c M main.c M receiver.c M rsync.h commit b0f3f5784c8635fe08d5d8e397f476a0c9ccba66 Author: Andrew Tridgell Date: Sun Jan 23 03:00:27 2000 +0000 open on paths starting with // fails on win32 M syscall.c commit 3060d4aa1d5586c085aaec108ac6ced094304322 Author: Andrew Tridgell Date: Sun Jan 23 02:16:51 2000 +0000 handle systems that don't take a 2nd argument to gettimeofday() M Makefile.in M acconfig.h M authenticate.c M configure.in M lib/compat.c commit 1347d5126a4d89718544d976f64943dfa93dd8c4 Author: Andrew Tridgell Date: Sun Jan 23 01:53:18 2000 +0000 added --existing option, similar to one suggested by Gildas Quiniou M generator.c M options.c M rsync.yo commit 5d1e1dcf4b9d4d9e0308d3e7f7036b4e5191e323 Author: Andrew Tridgell Date: Sun Jan 23 01:11:43 2000 +0000 don't try to write errors to a dead socket M io.c commit 74f5442401e626c6730b6df58c0cc1087e896a4c Author: David Dykstra Date: Mon Jan 10 22:39:45 2000 +0000 Make all the rsync objects dependent on all the header files except the zlib header fiels in Makefile.in. I've been burned several times because objects did not get rebuilt when header files changed. M Makefile.in commit c08bb0fb733dd2a44c091687a0e57d5a6f61328c Author: David Dykstra Date: Mon Jan 10 20:36:20 2000 +0000 Needed to comment out the inclusion of headers in fnmatch.c because it couldn't find some of them (especially , because it wasn't looking in the current directory). The header files are included better from ../rsync.h. M lib/fnmatch.c commit e30f065766d103b47aaccbe777308e0d2381fd6e Author: Andrew Tridgell Date: Mon Jan 10 04:49:51 2000 +0000 make --address work for a client connecting to a server M clientserver.c M rsync.c M rsync.yo M socket.c commit 9dce9b45b3fb2417fd09264ae085e6c89572d058 Author: David Dykstra Date: Fri Jan 7 17:58:44 2000 +0000 Upgrade lib/fnmatch.[ch] to the latest from glibc-2.1.2 because the FNM_PATHNAME flag (to stop at slashes in path names) was not working. Ironically, the bug in glibc's fnmatch was reported on the rsync mailing list in late October, and rsync's configure.in was changed to detect the bad glibc and use the internal fnmatch, but the internal fnmatch was based on the same buggy glibc! M lib/fnmatch.c M lib/fnmatch.h commit 60be6acf46ab7851a01396f8cd2439a9f61118ae Author: David Dykstra Date: Thu Jan 6 16:15:36 2000 +0000 If a destination file cannot be opened, pretend it doesn't exist rather than skipping it and thus not updating it. For example, the ownership or mode on a file may prevent opening it, but the directory may still be writable so the file could be completely replaced. M generator.c commit a5827a28d296b62cd9b20a221991903601938448 Author: Andrew Tridgell Date: Thu Jan 6 00:26:00 2000 +0000 when we do a lchown() on a file we have to flush the cached perms on the file if the file has the setuid or setgid bits set as the chown has a side effect of removing the setuid and setgid bits. we re-do the stat in this case M rsync.c commit dcc875e41e1c9865755dbd0cc839e74ac878910e Author: David Dykstra Date: Wed Dec 29 21:11:57 1999 +0000 Define the WEXITSTATUS macro for systems that don't have it. M util.c commit 128cf58433592234d105f2b29865d0f739629cb3 Author: David Dykstra Date: Wed Dec 29 20:50:48 1999 +0000 When writing to a daemon with read only = false and uid = root and -g, was not preserving group permisions. Bug was introduced March 1 in version 1.100 of rsync.c with an error in re-ordering of the boolean expressions. In order to completely preserve the earlier semantics, change_gid should depend on "(am_root || !am_daemon)", but I don't see why group ownership should behave differently in a non-root daemon. M rsync.c commit 7e0ca8e2f0945b8c1b99c88a0283068a3adb19e4 Author: David Dykstra Date: Wed Dec 29 20:45:23 1999 +0000 When not using -p and file being copied to already existed, was mistakenly using all the mode bits of the existing file rather than just the permissions, including the file type. M generator.c commit d79d1c69f77dd6cc23a4692f6b8bdd82e181194e Author: Andrew Tridgell Date: Thu Dec 9 06:46:11 1999 +0000 fixed a bug with waitpid() - I'd forgotten about WEXITSTATUS ! M main.c M util.c commit a7d068abffb158d9d805a368a8f4d13da832587d Author: Andrew Tridgell Date: Fri Dec 3 04:24:25 1999 +0000 fixed man page typo M rsync.yo commit 7f931a000240b28cb6495c5ab2d28851ca4bc807 Author: Andrew Tridgell Date: Thu Dec 2 05:50:09 1999 +0000 fixed a segv bug when handling symlinks. thanks to taver@otenet.gr M generator.c commit 07b7c86c0672c38648fb715efbc0bfffd81ed182 Author: Andrew Tridgell Date: Tue Nov 23 08:43:16 1999 +0000 don't write more than PIPE_BUF bytes in any one write() in io.c this makes sure that the write never blocks. M io.c M rsync.h commit 1f5c6343e6a3d55689073f60e71fd56cab42f89d Author: Andrew Tridgell Date: Mon Nov 15 01:32:20 1999 +0000 removed old non-blocking fd code (a hangover from a earlier version of io.c). Thanks to Theo for pointing out this brokenness. M clientserver.c M io.c M main.c M socket.c M util.c commit 290b615a16c484c5dde6e415e923da1334c2ddd6 Author: rsync-bugs Date: Mon Nov 8 13:15:48 1999 +0000 preparing for release of 2.3.2 M packaging/redhat/5.0/rsync.spec M version.h commit 57df171bc00cd813b5d661960b567a041107af13 Author: Andrew Tridgell Date: Mon Nov 8 13:03:05 1999 +0000 added --delete-after option (suggested by Jason) M options.c M receiver.c M rsync.yo commit f08baea3ddb54a99a918a3e0c557b32ca2517c6c Author: Andrew Tridgell Date: Mon Nov 8 10:47:14 1999 +0000 removed ACCESSPERMS mask when transferring a file without perms copy. This makes us match GNU cp more closely. M rsync.c commit 2fb139c11b9d999ca5ac3ce31c4369132fa28fe6 Author: Andrew Tridgell Date: Mon Nov 8 09:12:42 1999 +0000 fixed passing of directory exclude options to remote side (thanks to andrewdagger@xerox.gbr.com) added note about multiple excludes per exclude option M exclude.c M rsync.yo commit 3420c8e6e06f316e0e7f99eba3f5c957cd0d3106 Author: David Dykstra Date: Thu Nov 4 15:43:38 1999 +0000 Fixed bug introduced by calling do_open() for O_RDONLY files. Changed it so the check for dry_run and CHECK_RO are not done when flags is O_RDONLY. Only do the adding of O_BINARY, which was the intention. M syscall.c commit b17bc22bb3fc0c64092f31a31acbe21947c775ab Author: Andrew Tridgell Date: Mon Nov 1 21:35:15 1999 +0000 added a replacement inet_aton() for systems that don't have it. thanks to Dave for pointing this out. M configure.in M lib/compat.c commit 3adffb52e615d5e0ae4b00bf6dbca736af1d8860 Author: Andrew Tridgell Date: Mon Nov 1 21:25:39 1999 +0000 forgot to commit the fnmatch.h changes M lib/fnmatch.h commit 4df9f36841dbdf5fa088a402d0dcdc8a4e0c86a6 Author: Andrew Tridgell Date: Sun Oct 31 04:28:03 1999 +0000 solved the problem of not using the right permissions when preserve_perms is off. M generator.c M receiver.c commit 5c9730a46c44e5913a4d4767bd99ec23f2f81073 Author: Andrew Tridgell Date: Sun Oct 31 03:21:02 1999 +0000 added --address option for virtual hosting M options.c M rsync.yo M socket.c commit d9fcc198cfad667e659f0994febc2a9f0d33753c Author: Andrew Tridgell Date: Sun Oct 31 02:47:30 1999 +0000 added -P option it is equivalent to --partial --progress M options.c M rsync.yo commit c8313794360335069f57b61e44cf54a7b9a348ea Author: Andrew Tridgell Date: Sun Oct 31 02:39:34 1999 +0000 updated test suite from Phil. M test.sh commit d73ee7b70e4a80743149fd3e43506634814d3b0c Author: Andrew Tridgell Date: Sun Oct 31 02:37:21 1999 +0000 updated rsync-path man page entry M rsync.yo commit cda2ae84b3b0f78387c5937094b4f5525c92fc19 Author: Andrew Tridgell Date: Sun Oct 31 02:19:24 1999 +0000 added "ignore errors" option in rsyncd.conf M flist.c M loadparm.c M receiver.c M rsyncd.conf.yo commit e7d6e0aa0cf1428d195df010f84cbada19fc98d1 Author: Andrew Tridgell Date: Wed Oct 27 13:17:16 1999 +0000 updated the configure test for fnmatch() to see if FNM_PATHNAME is working correctly. M configure.in commit 8c9fd200f9061cbb68b00fd3d58cacdbb46e2d23 Author: Andrew Tridgell Date: Mon Oct 25 22:04:09 1999 +0000 use do_open() instead of open() in several places to help the WinXX port and O_BINARY M checksum.c M generator.c M receiver.c M sender.c M util.c commit 79f118d859e8f9a618853b8bff675f33f96fc3b8 Author: David Dykstra Date: Tue Oct 19 17:50:39 1999 +0000 Minor change suggesting people put in the right path in inetd.conf. Suggested by Roger Price M rsyncd.conf.yo commit 7b10f91d8f734bc6bdc1d426862858e8ef2b3a10 Author: Andrew Tridgell Date: Mon Sep 6 02:04:20 1999 +0000 added a note about using -v with --progress M rsync.yo commit 3d19b4c83edab707de2ddf91b1469befc12de54e Author: Andrew Tridgell Date: Mon Aug 30 08:19:47 1999 +0000 separated out the make_backup code in preparation for some patches from Bob Edwards M Makefile.in A backup.c M rsync.c commit 79452d46930e5e3ec5b14d4c8380ff1e0329b9a8 Author: David Dykstra Date: Fri Jul 9 17:07:59 1999 +0000 Add a couple clarifying points to the sanitize_path() comments. One is a note that a leading "/" in a symlink target will not behave exactly as if a chroot had occurred, but I decided it wasn't worth the making it the same. The other is note about an extra harmless trailing "." that is added under some rare circumstances. M util.c commit cb13abfed024d0320c0aa865ad652c946321df3c Author: David Dykstra Date: Fri Jul 9 15:49:46 1999 +0000 Fix significant security holes with "use chroot = no" in an rsync daemon: 1. The file paths being sent and received were not "sanitized" to ensure that there weren't any ".." components that would escape the top level directory. This can't happen with the standard rsync client, but it could be exploited on both read and write if someone modified an rsync client. This fix sanitizes all incoming and outgoing paths when "use chroot = no". 2. If a module is also "read only = no", clients could have created symbolic links with ".." components that would allow writing outside of the module. This could happen with the standard rsync client. This fix sanitizes all incoming symbolic link targets when "use chroot = no". Previously, only top-level paths (anything passed in command line arguments) were sanitized. Sorry, I didn't think about the individual file paths before now. M clientserver.c M flist.c M util.c commit 0503f06089b89aa4166d6ced8d5901ad6a112c41 Author: Andrew Tridgell Date: Sun Jun 27 04:12:12 1999 +0000 continue calling waitpid() while still reapingchildren (patch from Matti Aarnio) M socket.c commit f855a7d01ab8401a307bb02cdcdee546df3e2423 Author: Andrew Tridgell Date: Sat Jun 26 01:06:38 1999 +0000 fixed a bug that made us use only 16 bits of the file checksum when comparing checksums for the --checksum (-c) option. M checksum.c M compat.c M flist.c M generator.c M main.c M rsync.h commit 4c3b4b25573f0eed181107097c040afc3e0ac4e1 Author: Andrew Tridgell Date: Tue Apr 13 03:53:30 1999 +0000 added RSYNC_PROXY support from Stephen Rothwell. This allows access to rsync servers via a web proxy (useful for getting through firewalls) M rsync.yo M socket.c commit 79b5aa09a0b77b6c11e5809c19083497cfb728fe Author: rsync-bugs Date: Tue Apr 6 15:09:28 1999 +0000 preparing for release of 2.3.1 M packaging/redhat/5.0/rsync.spec M version.h commit 9bd659766688c8fbb8dc71d36ab6a352052d3b7e Author: Andrew Tridgell Date: Tue Apr 6 14:52:32 1999 +0000 set the exit code to RERR_FILEIO is io_error is set when we exit. This catches most sorts of io errors and ensures we report a error in our exit status. M cleanup.c commit 6fe076b3d7096cb999c9df6e173ba367bc8ea5fd Author: Andrew Tridgell Date: Tue Apr 6 14:17:44 1999 +0000 these aren't used any more D md4.c D md4.h commit cec8aa7724d6d93d62ff60a264d1c800a580ba9b Author: Andrew Tridgell Date: Tue Apr 6 12:30:36 1999 +0000 handle the case of an empty file list in get_local_name M main.c commit 4c36a13ef2b76608c3647f7752c5a03db58ba582 Author: Andrew Tridgell Date: Tue Apr 6 12:28:54 1999 +0000 don't abort the server side if the file list is empty (perhaps because all files have been excluded). M main.c commit 24986abd0717cf40252f98269c22d7553f609ad9 Author: Andrew Tridgell Date: Tue Apr 6 11:52:45 1999 +0000 note in the man page that: 1) rsync won't copy directories at all if recursion isn't selected 2) --delete won't do anything if recursion isn't selected M rsync.yo commit 8dfac376b5036e016bbc7552d3e8d78426a4a75a Author: Andrew Tridgell Date: Tue Apr 6 11:34:06 1999 +0000 fix the man page to reflect the fact that exclude options in rsyncd.conf are not passed to the client and thus only affect the file lists on the server. M rsyncd.conf.yo commit e78733d9756ba4e0f28931fc9b811a2277cf803c Author: Andrew Tridgell Date: Tue Apr 6 10:56:18 1999 +0000 fixed a nasty bug in the handling of "local_name" when setting the permissions on directories after a transfer. M receiver.c commit dffba35e01c310f4b639d611691d7fb649702fed Author: Andrew Tridgell Date: Tue Apr 6 10:27:34 1999 +0000 quote RPM_OPT_FLAGS patch from racke@linuxia.de M packaging/redhat/5.0/rsync.spec.tmpl commit bd4ed7f7193b86072da004c5d5b766c1bccfb869 Author: David Dykstra Date: Fri Apr 2 18:24:27 1999 +0000 Small bug fix for the --compare-dest option: when a file's contents hadn't changed but its permissions had, the file wasn't copied but its permissions were attempted to be set anyway. Made a change to skip setting the permissions in that case. M generator.c commit 752eaba41f34ce65c87418608efb591b5627ee65 Author: David Dykstra Date: Wed Mar 24 19:28:03 1999 +0000 Backed out the change to create missing parent directories when using --compare-dest. It was due to an incomplete analysis of the problem, sorry. I left a comment in its place indicating that normally the parent directories should already have been created. It turned out to actually be a bug in nsbd in which it was not always including all the parent directories in the include list like it was supposed to. The files themselves were still being sent but that was only because my exclude_the_rest optimization was kicking in; if it weren't, excluding the parent directories would have had the side effect of excluding the files too. So it really had nothing to do with the --compare-dest option after all, just with the requirement that if you use --exclude '*' you need to explicitly include all parent directories of files you include. M receiver.c commit ad517ce5b33eb59873ec8468af704f43867cd8cb Author: David Dykstra Date: Wed Mar 24 16:39:07 1999 +0000 The "pid file" was getting created mode 666, not applying the umask because at that point in the program the umask is set to 0. Now creating the file with mode (666 & ~orig_umask). M clientserver.c commit 1f8413449dc6430e59b7383c25454de72503f007 Author: David Dykstra Date: Tue Mar 23 22:20:10 1999 +0000 Fix bug with --compare-dest option where missing parent directories in the target destination were not getting created. There was a case in receiver.c to do that but it was only getting invoked when the -R option is specified, although I don't know why it was limited to that. It's too bad I didn't get a chance to more fully test the use of --compare-dest by my nsbd program before releasing rsync 2.3.0. I'll probably need to put a workaround in nsbd too until the next release of rsync. M receiver.c commit d0a7c8a4870331d5bf2d52b2e4e6cc5e2c56b9f7 Author: rsync-bugs Date: Mon Mar 15 21:23:26 1999 +0000 preparing for release of 2.3.0 M packaging/redhat/5.0/rsync.spec M version.h commit ebb00c8e29808073c84c77e4e50b55d37c09ff16 Author: David Dykstra Date: Mon Mar 15 21:17:58 1999 +0000 Changed the protocol version to 20 so that --stats will work without -v in both directions. M main.c M rsync.h commit 6543dc0c4c38650da12cdc129e2f2c071cb5fe04 Author: David Dykstra Date: Mon Mar 15 17:04:22 1999 +0000 Fix typo in comment in rsync.h, suggested by bje@cygnus.com M rsync.h commit e459239d27de0f47f9c524d0f547f014d7db5b22 Author: David Dykstra Date: Fri Mar 12 21:45:37 1999 +0000 Make a special version number 2.3.0-beta for a short period because I'll be encouraging extra testing before the release. M version.h commit 651443a7ffd889f6c2092587b940ed369c9e99d0 Author: David Dykstra Date: Fri Mar 12 21:42:51 1999 +0000 Allow + and - in the "include" and "exclude" directives in rsyncd.conf. Patch submitted by Damian A Ivereigh M exclude.c M rsyncd.conf.yo commit 79fc6bdb4501ad9fc1e7b2b5350edab5c6d7fc46 Author: David Dykstra Date: Fri Mar 12 18:21:53 1999 +0000 Include a test for a working getopt_long because the one on some versions of cygwin doesn't work. Thanks to Martin Krumpolec for the patch. At the same time, include cache checks in configure.in for a few items that were missing the checks. M acconfig.h M configure.in commit 245fbb5129975a8b6550d14123bd0bdc40f3f63b Author: David Dykstra Date: Fri Mar 12 17:36:52 1999 +0000 When -R is used, send the permissions of the original top directories to the receiver even when not combined with -r. Without this, the directories were getting created mode 777 because the default umask on receivers is often 00. M flist.c commit c7c11a0d4c315a052dddf97cc6d3d63a54b4a831 Author: David Dykstra Date: Thu Mar 11 22:17:42 1999 +0000 When a file cannot be deleted because of ETXTBSY (in particular, when an executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen M generator.c M hlink.c M receiver.c M rsync.c M util.c commit c27f25922e9f59e439228a3c3e0c38342899a80f Author: David Dykstra Date: Tue Mar 9 21:55:16 1999 +0000 Check for EINVAL from a rename error call in addition to ENOENT because David Campbell reported that that helps data be received onto a windows box running cygwin b19. M rsync.c commit af21c12fbcff6fc030c737f8079224ebfb99c912 Author: David Dykstra Date: Tue Mar 9 21:47:18 1999 +0000 Add distclean target to Makefile.in. M Makefile.in commit 32b1f1de0e2394ef1bcb40b16da9c6d39f2ca5f5 Author: David Dykstra Date: Tue Mar 9 21:46:15 1999 +0000 Update config.sub to the latest from automake in addition to config.guess. M config.sub commit 529e60864fecbf34d3e01951841331f36e9ac9c9 Author: David Dykstra Date: Fri Mar 5 16:37:44 1999 +0000 Update config.guess from a new official GNU version. I believe this is the latest, which comes with automake 1.4 (somebody else is in charge of installing the GNU stuff on my system so I'm not 100% sure it's the absolute latest, but it was updated just a couple weeks ago). M config.guess commit 972a3619c4ea253671e2fe0897f99af897782e26 Author: David Dykstra Date: Thu Mar 4 21:48:52 1999 +0000 The change a couple days ago to create files initially without group and other access resulted in group and other access being left off when the '-p' option was not used. This fixes it by reintroducing the ACCESSPERMS mask and setting permissions to (file->mode & ACCESSPERMS) if preserve_perms is off. I decided to change the mask INITPERMMASK to INITACCESSPERMS at the same time. When preserve_perms is off, rsync is restored to the previous behavior of having the permissions of the original file with the umask and setuid/setgid bits shut off. Also, I decided that a check for "(updated && (file->mode & ~ACCESSPERMS))" is no longer needed since as far as I can tell that would have only affected permissions when not running as root and when a chgrp was done to a group the user was not a member of, using system V chgrp semantics. This is no longer allowed. M receiver.c M rsync.c M rsync.h commit 8458724d2558659cfb5e53443759cac5419b13bf Author: David Dykstra Date: Tue Mar 2 20:56:17 1999 +0000 Disable the optimization that treats include-only files as a special case whenever delete_mode is on. People reported problems when it kicked in while using --delete and while using --delete-excluded. M exclude.c commit 9422bb3fdf16ae5a3d726e41435ba405b4c22a8e Author: David Dykstra Date: Tue Mar 2 16:42:46 1999 +0000 Change getgroups to use GETGROUPS_T as the type of the group array returned, as calculated by the configure macro AC_TYPE_GETGROUPS. Without that, it doesn't work properly on systems like sunos 4 where gid_t is defined to be an unsigned short but getgroups is defined to return an array of integers. M configure.in M rsync.c commit 5afd8aedce004cc11700285c16ea84f1e857d473 Author: David Dykstra Date: Mon Mar 1 21:22:54 1999 +0000 Change the mask used when creating temporary files from 777 to 700, to prevent an obscure race-condition security hole where a file may for a short time have the wrong group. Could have used 707 instead but that's just too weird of a permission. The define name used to be ACCESSPERMS but that is defined as 777 on Linux, so changed the name to INITPERMMASK. M receiver.c M rsync.c M rsync.h commit 86692050b54b16e5b289ddeacbb59f890455cca7 Author: David Dykstra Date: Mon Mar 1 21:16:49 1999 +0000 When comparing -1 to a group id, cast -1 with gid_t because on some systems such as sunos4 gid_t is an unsigned short. This prevented the just-added non-mapped group test from working on sunos4. M rsync.c M uidlist.c commit 460f6b990a89a13060b57e1e52f72346bf020679 Author: David Dykstra Date: Mon Mar 1 19:24:39 1999 +0000 Prevent the -g option from preserving groups that a non-root receiver does not belong to, in these two ways: 1. If a group mapping doesn't exist for a group name, do not preserve it for a non-root receiver. This is especially evident with the sender is a daemon using chroot because then no mappings are available. 2. Before setting the group on a file make sure that it is in the list of groups returned by getgroups(). The same thing is done by chgrp on systems that support bsd-style chown/chgrp, and this enforces that it happens the same way on all systems. Overhead is very little, especially since most systems don't allow more then 16 groups per user. M configure.in M rsync.c M rsync.yo M uidlist.c commit 896bd482c0c87d11e19f9bcffbcb35c6aba00e43 Author: David Dykstra Date: Thu Feb 25 17:58:31 1999 +0000 Removed am_client variable. It was being set in one place, when a client of a socket (that is, a --daemon) server, but never looked at. The way to test whether or not on a client is (!am_server). M clientserver.c M options.c commit 53f821f1e6366e3dc67ce33c51d4c7a07017ffdd Author: David Dykstra Date: Wed Feb 24 22:38:36 1999 +0000 Fix a bug with rsync -R --delete from ./ as reported in PR#1532 M flist.c commit b33b791e6ba823589bdee416b91ad9278cb36ef2 Author: David Dykstra Date: Mon Feb 22 19:55:57 1999 +0000 Add --delete-excluded option to delete files on the receiving side that are excluded. Implies --delete. M README M flist.c M main.c M options.c M rsync.yo commit 17d31b380b7c748837b30e7e0c54ab17974f7ab6 Author: David Dykstra Date: Thu Feb 18 17:23:44 1999 +0000 Changed --stats implementation to work without -v in only these two situations: 1. the client is the receiver of files. Can't do it otherwise yet because without -v the bytes written from the sender's generator process will not be counted. 2. both the remote and local protocol versions are >=20. I did not change the protocol version yet because it is such a minor change that it isn't worth it, although I did test it with the protocol version set to 20. If neither of the situations hold, it prints a message saying to use -v. M main.c commit a8b9d4edec745757d34a10be0f6956c0609c2284 Author: David Dykstra Date: Thu Feb 18 16:27:36 1999 +0000 Changed exclude/include matching so that normally wildcards will stop at slashes. The old behavior of crossing slashes can be achieved by using a double-asterisk ('**') anywhere in a pattern. Note that this can change some existing exclude patterns in a subtle way. Also note that if the remote side is an older release the processing on the two sides might not be exactly the same when there's no double-asterisk, which can affect which files are excluded from deletion, but they're close enough that people will probably not notice. I considered changing the protocol version and checking the remote_version number to ensure the same processing on both sides, but the exclude patterns are pre-processed before the remote version number is known and it's just not worth going through extraordinary efforts. Suggested by Cameron Simpson M README M configure.in M exclude.c M rsync.h M rsync.yo commit f83f054875254ab48afaddcd8c985205ef9416e1 Author: Andrew Tridgell Date: Thu Feb 18 03:48:24 1999 +0000 added --size-only option. Useful when starting to use rsync after a ftp based mirror system so that timestamps may not be right. M generator.c M options.c M rsync.yo commit 15800c7e89b4b5a51b6fe7cc42e28be6c37bb04f Author: David Dykstra Date: Wed Feb 17 21:39:45 1999 +0000 Changed man page documentation of --force to say it is hardly ever needed any more except in very obscure cases. M rsync.yo commit b53136076392ff881a03baff19232aadc4617f92 Author: David Dykstra Date: Wed Feb 17 19:34:40 1999 +0000 Added --copy-unsafe-links option which is like --copy-links except it is only for symlinks that point outside the source tree. Suggested by Charles Hines in PR#1376. Also apply the option to any symbolic links in the source portion of a path when --relative is used, as suggested by Francis Montagnac on the rsync mailing list in a message titled "New option: --copy-parent-links". M README M flist.c M options.c M rsync.yo commit b567933566b3b2d5e863685f43f7330b4369b5e9 Author: David Dykstra Date: Mon Feb 15 17:48:06 1999 +0000 Be consistent on use of '=' on options that take a parameter. M rsync.yo commit 52d7d78865a5478cffdc0e51ff0f1e7a6aee373e Author: David Dykstra Date: Fri Feb 12 17:27:22 1999 +0000 Change the implementation of memmove in lib/compat.c to call bcopy instead of memcpy because bcopy is guaranteed to work with overlapping memory and memcpy is not. Bug fix for PR#1584 in which log entries in the rsync daemon log on Sunos 4.1.4 were garbled. M lib/compat.c commit 23c5aef18e5a6faba538ff06f83e09835af637d7 Author: David Dykstra Date: Wed Feb 10 22:16:32 1999 +0000 A slight compensation I had just added for total bytes read when using -v was incorrect. It's hard to tell how many bytes are actually read because transferring the value changes it and depending on its value it may transfer 4 or 12 bytes so instead change the sender side to not include the length of the counters it sends at all (it had been including one but three are sent). M main.c commit e19452a96c164ddb14941cf4977d44534631bfbe Author: David Dykstra Date: Wed Feb 10 21:54:12 1999 +0000 Allow --stats to work without -v. M main.c M rsync.yo commit 9ef53907149a591ec9302a929d0fa319f348b8d9 Author: David Dykstra Date: Wed Feb 10 19:33:05 1999 +0000 Changed Usage in the rsync --help message to indicate how there can be multiple SRCs. Also moved the --suffix option to show up right after --backup and included the default backup suffix and block size along with their corresponding options rather than at the end. Copied the new help message to rsync.yo and README and used the Usage also in the SYNOPSIS section at the top of rsync.yo rather than the different one that used "path" instead of SRC and DEST. That last change was inspired by a suggestion from Michael Bleyer in PR #1523. M README M options.c M rsync.yo commit fd0abefa433e80dcc4f730f30bc5e4d918a3c10b Author: David Dykstra Date: Wed Feb 10 18:44:25 1999 +0000 Changed error message that just said "open %s: %s" to "cannot create %s: %s" in receiver.c because it confuses people when they do something like rsync /etc/passwd /tmp/nonexistentdir/passwd and it printed out something like open /tmp/noniexistentdir/.passwd.a004d5 : No such file or directory Reported by kurt_granroth@pobox.com in PR #1253. M receiver.c commit 19c14f987e69bc23ff9ba1d6f292094aafecae17 Author: David Dykstra Date: Wed Feb 10 18:03:59 1999 +0000 Changed the optimized include mode (which kicks in when there are a series of non-wildcard includes followed by an exclude of *) so that it will silently ignore included files that don't exist rather than saying "No such file or directory". This is more like the behavior of the non-optimized include mode. M exclude.c commit 122f19a615bdcb84af139ca27ea8735a0908c9d0 Author: David Dykstra Date: Tue Feb 9 22:31:52 1999 +0000 Support '#' and ';' comments in exclude files. It would actually not probably cause any harm if they were treated as normal exclude or include patterns because they just wouldn't match anything, but it's better to explicitly ignore them. Suggested by David Holland M exclude.c M rsync.yo commit 3ca8e68f58e7ffeac5b8b969ef26bffc2069f113 Author: David Dykstra Date: Tue Feb 9 19:27:15 1999 +0000 Added "strict modes" option. When set false (default is true), it allows the secrets file to be readable by other users. Added to support the Windows port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.sk M authenticate.c M loadparm.c M rsyncd.conf.yo commit d41c7d025c1725b921ef51c70a705a51b5c36332 Author: David Dykstra Date: Tue Feb 9 18:35:29 1999 +0000 Use MAXHOSTNAMELEN (256) for the array holding the host_name in socket.c instead of 200. Move the defines of True and False to rsync.h. Eliminate the defines of BOOL in loadparm.c and params.c because it is already defined in rsync.h. Changes suggested by Roman Gollent roman.gollent@wdr.com M loadparm.c M params.c M rsync.h M socket.c commit b86f0cefa23fff464bb68f53b76523cf8ce26436 Author: David Dykstra Date: Tue Feb 9 17:25:35 1999 +0000 Add --quiet/-q option. Contributed by Rich Salz salzr@certco.com. M clientserver.c M log.c M main.c M options.c M rsync.yo commit c226b7c2fdd6cc4357337514b22c3042195ab091 Author: David Dykstra Date: Wed Feb 3 15:38:06 1999 +0000 Move the initialization of push_dir, which calls getcwd, to early in main. The reason for that is that on SVR2-based UTS 2.1.2 (which along with many other old systems implements getcwd by forking "pwd") getcwd hangs when called when other child processes are running. I also added a quick return from push_dir if name == NULL so it doesn't actually have to chdir anywhere when just initializing. An initializing call to push_dir("/",0) had previously been put in at the beginning of daemon_main() to avoid calling getcwd after a chroot, but since that is no longer I needed I removed it and changed the call to chdir("/") after chroot into a push_dir("/",0) so it will remember the correct current directory. M clientserver.c M main.c M util.c commit 5865fcdd6370cef7d3a4997500a9a28f3114ad7f Author: David Dykstra Date: Wed Feb 3 15:15:56 1999 +0000 When calling lchown, pass the current known uid and gid rather than -1 to not change it, since the old SVR2-based UTS 2.1.2 does not support leaving uid and gid alone when the value is -1. M rsync.c commit e68f34816f462dea879082b69eb1df7cfb1b0c0f Author: David Dykstra Date: Wed Feb 3 15:11:40 1999 +0000 Add alternate implementation of waitpid() for systems that have wait4 but not wait3, in particular Amdahl's SVR2-based UTS 2.1.2. The code comes from apache, but I contributed it to apache in the first place. M configure.in M lib/compat.c commit 716baed7ff23f949861f0eb369c013408e17f984 Author: David Dykstra Date: Thu Jan 21 17:10:32 1999 +0000 Fix serious bug with "use chroot = no" option which caused "uid =" and "gid =" to be ignored. At the same time, change the "uid =" and "gid =" options to be ignored when not running the daemon as super-user, to make it more convenient for those people and to make it portable to systems such as cygwin which don't support the uid/gid notions. M clientserver.c M rsyncd.conf.yo commit b882b4974710825f7fba01bedf4d7152c41c607f Author: David Dykstra Date: Wed Jan 20 21:32:46 1999 +0000 Document the fact that the %t log format option includes the date, and that the "log file" option always prepends "%t [%p] ". M rsyncd.conf.yo commit 1f0610ef8259aa11df8d25e48c06d19d715bff23 Author: David Dykstra Date: Mon Jan 11 17:07:27 1999 +0000 Fix segmentation fault when using -vvv. Suggested by assar@sics.se. M main.c commit 379e689dacec3b520d0e6fd6d655034f924a811b Author: Andrew Tridgell Date: Fri Jan 8 10:42:29 1999 +0000 fixed bug where strtok() could return NULL in getpassf(). M authenticate.c commit 65575e9670fb77ececc8255d572d08d7b10bb049 Author: Andrew Tridgell Date: Fri Jan 8 10:32:56 1999 +0000 added --password-file patch from Alex Schlessinger (yes, I know I'm not supposed to be doing rsync work at the moment! only four weeks to go ...) M authenticate.c M options.c M rsync.yo commit 5e71c4446e10c27c1db0c7e7e5b71be68f3b88de Author: Andrew Tridgell Date: Fri Jan 8 07:51:25 1999 +0000 made the "max connections" and "lock file" local rather than global options so you can set them on a per-module basis (requested by kernel.org mirror maintiner) M clientserver.c M loadparm.c M rsync.h M rsyncd.conf.yo commit 94a7fce217a3732e3daecf1a76f4d118517432a9 Author: David Dykstra Date: Thu Jan 7 16:27:38 1999 +0000 Ran yodl2man on rsync.yo, and updated modification date. M rsync.yo commit 3bc67f0c4f0bf0ad9a59366ea05c837fd4d0e7b1 Author: Andrew Tridgell Date: Thu Jan 7 07:19:03 1999 +0000 add warning about using RSYNC_PASSWORD on systems where env varibables are visible to all users. M rsync.yo commit 117af10225d7efd286ffd77ff550644985ce0918 Author: David Dykstra Date: Tue Jan 5 20:08:45 1999 +0000 Change the receive log message from "send" to "recv". Fix from Rick Smith . M log.c commit 536541d52b695ef9c949cc9a39ce2064cf9aa9e3 Author: Andrew Tridgell Date: Tue Jan 5 06:43:59 1999 +0000 moved the block length mismatch code to another part of the loop. M match.c commit 496d9272c1b3094e4a1c31273af5401bac1720c0 Author: Andrew Tridgell Date: Tue Jan 5 06:31:58 1999 +0000 don't try to match checksums of two blocks which are of unequal size. This explains the high false_alarms rate that I saw for one of the sample data files used in my thesis. The bug was harmless as the strong checksum easily caught all the false matches but it's been bugging me as I couldn't explain it :) M match.c commit 34d3eed4627bbb30ff77c92e2c055c3e5836de77 Author: Andrew Tridgell Date: Tue Jan 5 01:57:13 1999 +0000 fixed a bug in the adjacent target optimisation M match.c commit 923fa978088f4c044eec528d9472962d9c9d13c3 Author: Andrew Tridgell Date: Tue Jan 5 01:15:32 1999 +0000 an optimization that tries to make rsync choose adjacent matches if multiple matching blocks are available. This make the run-length coding of the output more efficient. M match.c commit 4440b8aa3fb0edb9626c8eaa4856d72f78c9e176 Author: Andrew Tridgell Date: Wed Dec 30 14:48:45 1998 +0000 no longer use mmap() in rsync because of the risk of a SIGBUS when another program (such as a mailer) truncates a file. To offset the speed loss I have rewritten the map_ptr() code to make much better use of read(). M configure.in M fileio.c M match.c M rsync.h commit 5a554d5b14c9220d9a3cac14e02f9feea4c56a34 Author: David Dykstra Date: Mon Dec 7 18:48:46 1998 +0000 steve.ingram@icl-gis.com noticed several mistakes in rsync.1. Some of them had already been fixed but yodl2man hadn't been run, and a couple others were new. M rsync.yo commit 2cfeab21ce3641c3dda7e7c544c8dea1381fecd4 Author: David Dykstra Date: Mon Dec 7 14:51:32 1998 +0000 Fix minor man page typo, suggested by jbm@jbm.org. M rsync.yo commit 2b086e033cfcf377d6668ae121a7142766f4a6e8 Author: Andrew Tridgell Date: Sat Dec 5 01:56:45 1998 +0000 paranoia change - treat list_only like read_only and refuse all syscalls that might change the filesystem. This shouldn't be needed, but I like paranoid coding :) M syscall.c commit 241fc706a9f41e1f3168d99d51e6a5d746275867 Author: Andrew Tridgell Date: Sat Dec 5 01:55:37 1998 +0000 - slprintf() takes sizeof(buf) not sizeof(buf)-1 - fixed incorrect format string in rename error M rsync.c commit 7fadb4bc58bfdd9915f3982657c849be2c99eac7 Author: David Dykstra Date: Tue Dec 1 16:13:25 1998 +0000 Support newer rpm's which define $RPM_OPT_FLAGS as a set of options separated by spaces. Suggested by pavel_roskin@geocities.com. M packaging/redhat/5.0/rsync.spec commit 6c7c2ef3721db5601ff2a478a0c34e045c866b10 Author: David Dykstra Date: Tue Dec 1 16:11:40 1998 +0000 Minor documentation change suggested by pavel_roskin@geocities.com. M rsync.yo commit 86a2dd0a0a69ba83e1c2cc6abaddbcfdb324397d Author: rsync-bugs Date: Wed Nov 25 16:24:56 1998 +0000 preparing for release of 2.2.1 M packaging/redhat/5.0/rsync.spec M version.h commit 63f0774f7562c3b51d14dcca78ea0dc0fa354c46 Author: David Dykstra Date: Wed Nov 25 15:37:50 1998 +0000 Back out change that treated "refuse options = compress" the same as "dont compress = *", by request of Tridge. Instead, mention the difference in the man page. Also, put in a shortcut in set_compression() to recognize "*" earlier instead of going through malloc/strtok/fnmatch/free cycle. M options.c M rsyncd.conf.yo M token.c commit d47741cac62e80d5ffd6f01274e3b7b48b2849e1 Author: David Dykstra Date: Tue Nov 24 22:03:16 1998 +0000 When "refuse options = compress" is set in rsyncd.conf, silently send files at compression level 0 instead of printing an error and exitting. This is the same effect as "dont compress = *". M options.c M rsyncd.conf.yo M token.c commit 5d5811f7d9e64265130951007b14a6d88a2425b6 Author: David Dykstra Date: Tue Nov 24 21:26:38 1998 +0000 Always include "." when processing exclude lists. This avoids confusion when people do --exclude "*". Also, add an example to the man page that shows explicitly including parent directories when itemizing specific paths to include followed by --exclude "*". M exclude.c M rsync.yo M rsyncd.conf.yo commit dcc3a131d1bc8ce90517153edad9e5ffc99c6b64 Author: David Dykstra Date: Tue Nov 24 20:54:56 1998 +0000 Update the README file to reflect current usage options. M README commit 7212be92378e5fe869b015dfc0efeae2afb336c0 Author: David Dykstra Date: Tue Nov 24 20:51:45 1998 +0000 Don't list cleaned-out duplicate file names as "" when doing list_only mode; skip them instead. M flist.c commit 44e2e57837bcdce0d12a429c308211763ab030db Author: David Dykstra Date: Tue Nov 24 20:18:11 1998 +0000 Change sanitize_path() function to not malloc a copy since it only shrinks paths and it is only used in places that have already just done a copy. M clientserver.c M util.c commit d1be231290b3867648ee417fad341fdf1caaa94b Author: David Dykstra Date: Tue Nov 24 19:52:35 1998 +0000 Make sure secrets file is not other-accessible, and owned by root if the daemon is running as root. Suggested by Mike Richardson M authenticate.c commit a926daecbf3b31efb68e309e9d522a4fd01691f2 Author: David Dykstra Date: Tue Nov 24 19:10:21 1998 +0000 Always add the O_BINARY flag in do_open if it is defined, for Windows. Suggestion from Mart.Laak@hansa.ee M syscall.c commit 53dd3135f13728fbcfce4c85773d9fc97cfce714 Author: David Dykstra Date: Tue Nov 24 19:01:24 1998 +0000 Backup deleted files when using --delete and --backup. Based on a suggested patch from Kanai Makoto (kanai@hallab.co.jp). M receiver.c M rsync.c commit cd64343a7aaa1211ee330eaf9e78a33cf247637f Author: David Dykstra Date: Mon Nov 23 21:54:01 1998 +0000 Add "include" and "include from" rsyncd.conf options. Contributed by Dennis Gilbert . M clientserver.c M exclude.c M loadparm.c M rsyncd.conf.yo commit 9e3c856a39fe363e5459e1b24c082535282ce71a Author: Andrew Tridgell Date: Mon Nov 23 00:30:27 1998 +0000 updates to reflect new samba.org domain the main web site is now http://rsync.samba.org/ M README M lib/snprintf.c M options.c M rsync.yo M rsyncd.conf.yo M support/rsyncstats M tech_report.tex commit 1e8ae5ede66ba337ba6abbb4afad2b3319c1db74 Author: Andrew Tridgell Date: Fri Nov 20 22:46:42 1998 +0000 changed an example slightly M rsyncd.conf.yo commit 83fff1aa6036f38a3d2daf6d809bd9c10d28fae6 Author: Andrew Tridgell Date: Fri Nov 20 22:26:29 1998 +0000 added "dont compress" option with the default setting of *.gz *.tgz *.zip *.z *.rpm *.deb M loadparm.c M rsyncd.conf.yo M sender.c M token.c commit 055af776668c0878dd830f82d4bc6ca6aaca8e7a Author: Andrew Tridgell Date: Thu Nov 19 06:45:21 1998 +0000 improved the "refuse options" code a bit M options.c commit cd8185f2bd87206d9d41b8b3445202b3344080bf Author: Andrew Tridgell Date: Thu Nov 19 06:35:49 1998 +0000 added "refuse options" option M clientserver.c M loadparm.c M options.c M rsyncd.conf.yo commit 6bd98f0617dc20c5f5d54c10ed5c4b53b831e0b5 Author: David Dykstra Date: Wed Nov 18 17:53:22 1998 +0000 Look for strcasecmp in -lresolv for Unixware. M configure.in commit 14d43f1fcf4904f401a0cb38efb921b29a6652b1 Author: David Dykstra Date: Wed Nov 18 17:36:36 1998 +0000 Minor documentation patches, due mostly to Jason Henry Parker M README M options.c M rsync.yo M rsyncd.conf.yo M tech_report.tex commit 3a64ad1fd0429575aa0236736f3fc175d9f9ef58 Author: David Dykstra Date: Wed Nov 18 16:20:22 1998 +0000 Change --log-format documentation to make it clear that it is for the client logging to stdout. M rsync.yo M rsyncd.conf.yo commit 5557c8e3e03b5aff42a10302a2dfd6c3432f6956 Author: David Dykstra Date: Wed Nov 18 16:02:23 1998 +0000 Remove a debugging statement I accidentally included in the last commit. M rsync.c commit baf3e5049e43659e24735bf893e4726f9074512a Author: David Dykstra Date: Wed Nov 18 15:54:50 1998 +0000 Change documentation to explain that a lack of -t in effect causes -I to be assumed on the next transfer. M rsync.c M rsync.yo commit b389939f874b44b27030f25b77e4ae8f1149c217 Author: David Dykstra Date: Tue Nov 17 21:56:18 1998 +0000 Apply sanitize_paths() to glob expansions when use chroot = no. M clientserver.c M util.c commit af77cc6b57c37115e1442a0662320956aadc3b9b Author: Andrew Tridgell Date: Mon Nov 16 23:50:28 1998 +0000 don't interpret %h and %a when using --log-format locally M log.c commit 1309d90dde1442931fb30c7cdfd1b41afa2a5023 Author: Andrew Tridgell Date: Mon Nov 16 03:53:43 1998 +0000 fixed a bug handling files larger than 2GB M match.c commit a9766ef1472d04df22178f69ea7bfde36f2b7242 Author: Andrew Tridgell Date: Sun Nov 15 01:21:42 1998 +0000 log filename(line) in exit_cleanup() to make tracking down problems easier in rsync daemons. M cleanup.c M log.c M main.c M rsync.h commit 5a788adec19043d4d93c4fa2713f9f633bfd35ab Author: Andrew Tridgell Date: Sun Nov 15 01:04:16 1998 +0000 use native strlcat() and strlcpy() if available M configure.in M lib/compat.c M rsync.h M util.c commit 50abd20bb3dc3d853de22cd5cf8198edfde5ae92 Author: Andrew Tridgell Date: Sat Nov 14 23:49:08 1998 +0000 compile with optimisation by default on all compilers (the mdfour code really needs it) M configure.in commit 37f9805dabba76b7a00bd2a0227762f6f239b598 Author: Andrew Tridgell Date: Sat Nov 14 23:31:58 1998 +0000 changed strlcat() and strlcpy() to have the same semantics as the OpenBSD functions of the same name. changed slprintf() to take buffer length rather than buffer length -1 M authenticate.c M exclude.c M flist.c M generator.c M io.c M lib/compat.c M loadparm.c M log.c M mkproto.awk M receiver.c M rsync.c M sender.c M socket.c M util.c commit b5f9e67d57f4e507dcb339a838c959244951f25f Author: David Dykstra Date: Fri Nov 6 17:07:07 1998 +0000 Change sanitize_path() to not use clean_fname() because it removes the trailing slash. This caused a problem when using "use chroot" and sources that contained a trailing slash (which prevents the last filename component of the source from being included in the destination). Instead, have sanitize_path() remove "." components and duplicated slashes ("//") itself. M util.c commit ed06894a01e81e972207519d485f3e63c67de593 Author: Andrew Tridgell Date: Fri Nov 6 10:37:10 1998 +0000 fixed typo M README commit d532c0f56959058cc14dfa643d3abf8eec2b6e04 Author: David Dykstra Date: Thu Nov 5 14:33:38 1998 +0000 Add comment before call to mktemp saying it is deliberately chosen over mkstemp. M receiver.c commit ec9df38086a5d450e206ff95d006164e4e34f51b Author: David Dykstra Date: Wed Nov 4 16:47:33 1998 +0000 Fix confusion between RERR_NOSUPPORT and RERR_UNSUPPORTED for exit codes that indicate a feature is not supported. Two places that are normally ifdefed out used RERR_UNSUPPORTED whereas one other place and errcode.h used RERR_NOSUPPORT. Changed them all to consistently use RERR_UNSUPPORTED. The two things that had the bad values were #ifndef SUPPORT_LINKS and #ifdef NO_INT64. The former is probably for non-Unix operating systems and the latter was at least on the default Unixware compiler. M errcode.h M exclude.c commit 81791cfccb89cde245a335d5df223c8a668030b0 Author: Andrew Tridgell Date: Wed Nov 4 03:14:22 1998 +0000 added timeout option in rsyncd.conf M clientserver.c M loadparm.c M rsyncd.conf.yo commit 2fb27e9146917a268a578e02e395adba331f65e5 Author: Andrew Tridgell Date: Wed Nov 4 02:35:18 1998 +0000 use macros to make mdfour faster on systems that don't do inlining well. Also helps when optimisation level is low. M lib/mdfour.c commit 946347b8ffe8336590898f8c4762ac982cd92f17 Author: David Dykstra Date: Tue Nov 3 22:30:52 1998 +0000 Remove statement in rsync.1 that a rsync:// URL can only be used if a username is not needed. M rsync.yo commit c23982578384d648e3fc97caab451bc9c81d8ba3 Author: rsync-bugs Date: Tue Nov 3 22:00:59 1998 +0000 preparing for release of 2.2.0 M packaging/redhat/5.0/rsync.spec M version.h commit 33e817e37e5f8694650dd3903c64bc594e5de747 Author: David Dykstra Date: Tue Nov 3 21:58:08 1998 +0000 Document the fact that you can use [USER@] in an rsync URL. Note: the same thing works for ftp and http URLs in netscape. M options.c M rsync.yo commit 1b8e662a24ee169b7b37c1f2eae9bd399b683332 Author: David Dykstra Date: Tue Nov 3 21:49:38 1998 +0000 Call clean_fname() in sanitize_path() to catch some more strange but legal file name syntaxes. M util.c commit 2acf81eb004292893a86b9e2cfa7f2ab4fcc2fb6 Author: David Dykstra Date: Tue Nov 3 21:17:40 1998 +0000 Add support for optional ":PORT" in rsync URL. M main.c M options.c M rsync.yo commit 654175798bdbdd6403e10c8fa74e8586b3612ea1 Author: Andrew Tridgell Date: Tue Nov 3 07:08:27 1998 +0000 patch from Alberto Accomazzi to add different exit codes for different conditions. M clientserver.c M compat.c A errcode.h M exclude.c M fileio.c M flist.c M io.c M loadparm.c M log.c M main.c M options.c M receiver.c M rsync.c M rsync.h M sender.c M socket.c M token.c M util.c commit 3e578a1909bbb29a637291d36017f328e017a3bf Author: Andrew Tridgell Date: Tue Nov 3 05:14:41 1998 +0000 documented --delete disabling on IO errors M rsync.yo commit b60626549181401ddf8ed57bd21f2b9f43dfdbf6 Author: Andrew Tridgell Date: Tue Nov 3 03:48:47 1998 +0000 added the --log-format option to allow users to request arbitrary per-file logging of interactive rsync sessions. M log.c M options.c M rsync.yo M rsyncd.conf.yo commit 263cf2ed554ed3cf21c4710ae4c5053121ba20d8 Author: Andrew Tridgell Date: Mon Nov 2 07:26:36 1998 +0000 remove double / from filenames in display M support/rsyncstats commit ab7104da8fb05e542336736dc42dcef578409ed7 Author: Andrew Tridgell Date: Mon Nov 2 06:40:11 1998 +0000 the logging wasn't showing the full prefix for filenames M log.c commit 1b7c47cb550e7600a66528c9cbd4bc1e880fb91e Author: Andrew Tridgell Date: Mon Nov 2 04:17:56 1998 +0000 Jason told me that's its very important for his site to log exactly how many bytes were needed to be transferred for each file. I added %b and %c log format options to cover this. See the man page for details. M io.c M log.c M receiver.c M rsyncd.conf.yo M sender.c commit 039faa86600172aa92362657659652671aedb4c8 Author: Andrew Tridgell Date: Mon Nov 2 00:55:21 1998 +0000 - document the rsync:// URL format M rsync.yo commit f7632fc60d69c8dabed600ede87f0b91319a3b7f Author: Andrew Tridgell Date: Mon Nov 2 00:52:01 1998 +0000 if no local destination is provided for the transfer then provide a "ls -l" style listing of the files that would be transferred M flist.c M generator.c M log.c M main.c M options.c M rsync.h M rsync.yo M util.c commit 2f098547ea2415971ac7b38d90246f53116d041f Author: Andrew Tridgell Date: Sat Oct 31 04:35:44 1998 +0000 added copyright notice from Patrick Powell M lib/snprintf.c commit c7c056410c8cf3664c2dae416fb8b80fe427eb6f Author: Andrew Tridgell Date: Sat Oct 31 00:12:59 1998 +0000 get the date comparison the right way around M support/rsyncstats commit e803090538b1f5e432226438d4e804fea40b7eea Author: Andrew Tridgell Date: Fri Oct 30 23:50:12 1998 +0000 use the orig_umask when choosing perms for the log file. M log.c commit 6265551a5a820b99e0b8a1ea5910fa013f93f9aa Author: Andrew Tridgell Date: Fri Oct 30 23:03:08 1998 +0000 fixed perms on rsyncd log file M log.c commit 958f373550a93532a2df9c7f5242befb29f3a6e8 Author: Andrew Tridgell Date: Fri Oct 30 11:18:38 1998 +0000 move the time init before the logfile opening. M log.c commit 2c51d5deec879ab7aade039139e9d3a4d5643656 Author: Andrew Tridgell Date: Fri Oct 30 06:12:14 1998 +0000 added a perl script to summarise the rsyncd log format M loadparm.c M rsyncd.conf.yo A support/rsyncstats commit 97cb8dc29b9e6a4f46f9b7162d410fdab0f7d8af Author: Andrew Tridgell Date: Fri Oct 30 05:53:05 1998 +0000 added %m, %P and %u options to logging M clientserver.c M loadparm.c M log.c M rsyncd.conf.yo commit cd957c70c442847c67887343c37b906310269570 Author: Andrew Tridgell Date: Fri Oct 30 02:52:42 1998 +0000 need BIG_ENDIAN test for inet_ntoa replacement M configure.in commit 7b3d425783f68e3784ac25af60ed9407a2ae9a18 Author: Andrew Tridgell Date: Fri Oct 30 02:50:02 1998 +0000 check for a broken inet_ntoa() on IRIX M acconfig.h M configure.in M lib/compat.c M rsync.h commit b24203b323c86e250054bff19274b1f466303712 Author: Andrew Tridgell Date: Fri Oct 30 02:43:10 1998 +0000 get null termination right in logging M log.c commit 347200978968f7224b13287c5e3a25cf2041af53 Author: Andrew Tridgell Date: Fri Oct 30 02:36:05 1998 +0000 get null termination right in logging M log.c commit f27b53f5b564fbfded415de4590f52f73d415fd4 Author: Andrew Tridgell Date: Fri Oct 30 02:32:29 1998 +0000 hopefuly fix logging of "transfer interrupted" messages M log.c commit e08bfe1248d9640e77544fe7df50573c6e8843b3 Author: Andrew Tridgell Date: Fri Oct 30 02:24:47 1998 +0000 added "log format" option to allow admins to choose the format for rsyncd log file entries M loadparm.c M log.c M rsync.h M rsyncd.conf.yo commit 74e708d85a5589ab973e2db6cf2ce20204fc82a4 Author: Andrew Tridgell Date: Fri Oct 30 02:23:01 1998 +0000 hanle null strings in -vvv output M flist.c commit 7597e1a96aafc89298a6f42821b35f015aa11ce9 Author: Andrew Tridgell Date: Thu Oct 29 23:44:30 1998 +0000 fixed cacheing of some values (using code from Samba) M configure.in commit 692da0b555f68e295bb588ab3a02c2354c2daba0 Author: David Dykstra Date: Thu Oct 29 22:28:56 1998 +0000 Fix for systems such as Unixware that have a cc that does not support -o with -c. M Makefile.in M configure.in commit 67ea0d484469875ee14bb28348f9dc1a40a5b843 Author: Andrew Tridgell Date: Thu Oct 29 11:16:51 1998 +0000 put the pid on each line of the log file to facilitate auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi) M log.c commit 9b73d1c0e9ca979700493337d0a87497b882d811 Author: Andrew Tridgell Date: Thu Oct 29 11:11:38 1998 +0000 put the pid on each line of the log file to facilitate auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi) M cleanup.c M log.c M main.c commit f3737e064849199071468eea8fe9fbf012d6ba7e Author: Andrew Tridgell Date: Thu Oct 29 06:39:43 1998 +0000 some minor optimisations M flist.c M lib/mdfour.c M rsync.h commit 19a013837e6854591f7ac9ceacf9f61e05220f2d Author: Andrew Tridgell Date: Thu Oct 29 06:10:31 1998 +0000 a change I made yesterday corrupted the displayed filename in some cases. cosmetic fix. M sender.c commit d730b113f4608a952f7d6ad6efc35a7cb11be18c Author: Andrew Tridgell Date: Thu Oct 29 05:48:11 1998 +0000 final change needed to get rsync working on a CRAY J90 M io.c commit 7ae359c331afedbab7a9d572cf78495b2bf92dbf Author: Andrew Tridgell Date: Thu Oct 29 05:06:51 1998 +0000 kfixed char* casts M checksum.c commit 8de330a38717f8f808e8aa88a5f4391c310e7fd6 Author: Andrew Tridgell Date: Thu Oct 29 05:01:47 1998 +0000 changes to get rsync working on a CRAY J90. This machine doesn't have a 4 byte integer type (short is 8 bytes). I needed to use a new md4 implementation (I used the portable one I wrote for Samba). M Makefile.in A aclocal.m4 M checksum.c A config.guess A config.sub M configure.in M io.c A lib/mdfour.c A lib/mdfour.h M receiver.c M rsync.h commit 27d3cdbc943a57d64f4f2a35a4f1e1b15d9ca41f Author: Andrew Tridgell Date: Wed Oct 28 10:43:31 1998 +0000 syslog support in rsync daemon has been broken since I added the "log file" option. I wonder why noone reported it? Or did everyone just use "log file" ? M cleanup.c M clientserver.c M log.c commit 106005004ec79d27c897a338a80eca8941208914 Author: Andrew Tridgell Date: Wed Oct 28 04:06:43 1998 +0000 fixed handling of %.0f in replacement snprintf.c M lib/snprintf.c commit 92ad2c90c4823f21f08dafb727ca83e054b35fef Author: Andrew Tridgell Date: Wed Oct 28 03:37:53 1998 +0000 fixed a typo M rsyncd.conf.yo commit 11a5a3c704fd75325450ddae3fb2cb01f19b7111 Author: Andrew Tridgell Date: Wed Oct 28 03:28:30 1998 +0000 and I thought I wasn't going to do any rsync coding for a while ... Jason Andrade convinced me to add ftpd style logging of transfers, enabled with a "transfer logging" option in rsyncd.conf you can customise the format in log.c M loadparm.c M log.c M main.c M receiver.c M rsync.h M rsyncd.conf.yo M sender.c M socket.c commit 8bb5aa8fe8e4903dac0675279b745debdb888124 Author: David Dykstra Date: Tue Oct 27 17:30:28 1998 +0000 Document the fact that --numeric-ids is implied if the source system is a daemon using chroot. M rsync.yo commit 4040be4d605d659f6fd92a8d9d9b8527a02f6990 Author: David Dykstra Date: Tue Oct 27 16:07:51 1998 +0000 - Define bindir and mandir as per gnu makefile standards - Add install-strip target as per gnu makefile standards Contributed by Fred Sanchez M Makefile.in commit a9685611e2de3d1f02f4e97692432c7b17bb959f Author: Andrew Tridgell Date: Tue Oct 27 14:19:35 1998 +0000 fixed a typecast M md4.c commit b280a1f47ef8d22b40db3d2737d4cb10de988ad6 Author: Andrew Tridgell Date: Tue Oct 27 14:09:28 1998 +0000 handle OSes (such as Unicos) which use a different value for S_IFLNK M flist.c M rsync.h commit f8be5ef4cb86bee9227b14b41238ac867c820759 Author: Andrew Tridgell Date: Mon Oct 26 23:23:45 1998 +0000 added a vsnprintf() implementation from cvslock. See the notes on the license at the top of lib/snprintf.c M Makefile.in M configure.in A lib/snprintf.c M util.c commit 587cb08dc4d83a005bfd6534d20d83ffe33e237d Author: David Dykstra Date: Mon Oct 26 22:03:18 1998 +0000 Fix bug in --include and --include-from which didn't work as advertised; could only include files before if "+ " was explicitly prefixed on files from any exclude or include option. Also simplified the code by removing the "orig" exclude_struct element, and reduced the number of bytes transferred from client to server by never including "- " prefixes in the transmitted exclude list because exclusion is the default. M exclude.c commit 8638dd48f71023642d3af282250bbe157ee9b67d Author: David Dykstra Date: Mon Oct 26 21:51:47 1998 +0000 Add "use chroot" and "pid file" rsyncd.conf options. The former allows one to disable the use of chroot so rsync --daemon can be run as a non-root user (if a non-privileged --port is used). The latter allows one to specify a file in which to write the process id of the daemon, which is useful when rsync --daemon is not run from inetd. M cleanup.c M clientserver.c M loadparm.c M main.c M rsyncd.conf.yo commit 2bca43f6278dcc0aa19a2620c1f1e2387b2e7b07 Author: David Dykstra Date: Mon Oct 26 21:45:23 1998 +0000 Optimize server for special case of a long list of includes ("+") followed by a match-all exclude "- *". M exclude.c M flist.c commit 375a4556c7a1ffb9a4e7117f33fc42ed2bc4c026 Author: David Dykstra Date: Mon Oct 26 21:42:38 1998 +0000 Add --compare-dest option which enables specifying an additional destination for comparisons when syncing. Useful for syncing into a scratch area and doing a flash-cutover when it is completed. M generator.c M options.c M receiver.c M rsync.yo M util.c commit b41c3f92738709adf79a1d77f8e7e75752bd1adf Author: rsync-bugs Date: Wed Sep 9 07:07:11 1998 +0000 preparing for release of 2.1.1 M packaging/redhat/5.0/rsync.spec M version.h commit 35bdd146e4e92e0a8c99b54e243b6ad3ff1e11e0 Author: Andrew Tridgell Date: Wed Sep 9 07:06:44 1998 +0000 fixed timestring() bug M log.c commit 8d249b635c57014aa96aa257bfe0221b43dff7d2 Author: Andrew Tridgell Date: Wed Sep 9 06:37:13 1998 +0000 don't complain about not setting times on directories because some filesystems can't do it M rsync.c commit 932be9aa52cc56ab429f203718e847a040a3b6d8 Author: Andrew Tridgell Date: Wed Sep 9 06:31:13 1998 +0000 handle sstem (sco 3) with glob but not glob.h M configure.in M rsync.h M util.c commit c6b81a9865b49f39f7d388ac64a8d74ce414081e Author: Andrew Tridgell Date: Wed Sep 9 06:23:27 1998 +0000 handle OSes where you can't rename a open file in the cleanup code. M cleanup.c M receiver.c commit e0414f42027769676cfd0a119eab2fa8e62f8e0f Author: Andrew Tridgell Date: Wed Sep 9 06:06:08 1998 +0000 put the time in when using log file. M configure.in M log.c commit 6e4fb64e6141727b8144bb77265bf0a4a8450a39 Author: Andrew Tridgell Date: Wed Sep 9 05:57:34 1998 +0000 added finddead target, removed dead code and made some functions static M Makefile.in M authenticate.c M flist.c M io.c M main.c M md4.c M token.c M util.c commit 37863201ad549b11ce70ecfb1e348165637f2e44 Author: Andrew Tridgell Date: Wed Sep 9 05:52:25 1998 +0000 doc updates M rsync.yo M rsyncd.conf.yo commit 4f6325c362b7b7e35e6728bb5c101e9ab5215092 Author: Andrew Tridgell Date: Wed Sep 9 05:51:42 1998 +0000 added "log file" option for those systems with broken syslog (like AIX) M loadparm.c M log.c commit f98df1d9b731f3a096c8b7762acf68f0ffc8cb78 Author: Andrew Tridgell Date: Wed Sep 9 05:51:08 1998 +0000 wanr people who use path names to rsync :: M clientserver.c commit 3d913675a145896838aa6ea0f6f8243b9da0ff20 Author: Andrew Tridgell Date: Thu Aug 27 05:17:21 1998 +0000 fixed a small memory leak when using -C thanks to kalt@research.bell-labs.com for this fix. M flist.c commit 2f9af9011887f585e152c28db52166a78a0b5d5d Author: Andrew Tridgell Date: Thu Aug 27 05:07:52 1998 +0000 removed the limit on the read buffer size until I fully understand the interactions with ssh. The old ssh freezes have shown up again and some debugging (with help from James Welborn) showed that the cause was the read buffer hitting maximum size. I think this means that ssh must be misbehaving about blocking IO. This change gets rid of the freezes at the expense of memory usage. Where it would have frozen it uses more memory instead. M io.c commit 3eb388185b97920933a1bd17753866815e38539b Author: Andrew Tridgell Date: Thu Aug 27 05:05:14 1998 +0000 a couple of changes to where the nonblocking settings are called. M clientserver.c M main.c M socket.c M util.c commit 858fb9ebad77ceefc628344de26353d0a1936a9d Author: Andrew Tridgell Date: Sat Jul 25 09:20:33 1998 +0000 fix PATTERN/FILE in --help output M options.c commit 2f03f956f425f03335005ba743f19b6ed3454248 Author: Andrew Tridgell Date: Sat Jul 25 02:25:22 1998 +0000 rsync.c was getting a bit unwieldy so I split the code into 3 modules, for the 3 logical stages of rsync; generator, sender and receiver. M Makefile.in A cleanup.c A generator.c A receiver.c M rsync.c A sender.c commit 0199b05f25ec271a4d306ec46218ba4fcb8ad85a Author: Andrew Tridgell Date: Thu Jul 23 03:09:14 1998 +0000 fixed the relative paths bug pointed out by Alberto Accomazzi M clientserver.c M flist.c commit e2d1033d5d65375dc49e31470d68ac22568fcceb Author: rsync-bugs Date: Mon Jul 20 05:43:51 1998 +0000 preparing for release of 2.1.0 M packaging/redhat/5.0/rsync.spec M version.h commit c46ded46212c2ea55e43ec661b5a724718a63ec2 Author: Andrew Tridgell Date: Mon Jul 20 05:36:25 1998 +0000 I think I might havefinally fixed the rsync hanging bug. It was caused by a read during an io_flush() triggered during a readfd(). A simple logic bug in the io code :( M io.c M rsync.c M socket.c M util.c commit 8cd9fd4e8c293047162784ae08c12be3636b9353 Author: Andrew Tridgell Date: Sun Jul 19 10:51:26 1998 +0000 always use a timeout to select, even if --timeout is not specified. This makes things easier to debug. M io.c commit 41979ff87c1bc59e30c91c67edab535806d77812 Author: Andrew Tridgell Date: Sun Jul 19 05:22:05 1998 +0000 - defer the error message from the options parsing until after the socket is multiplexed. This allows clients sending new options which the remote server doesn't understand to get a sensible error message. M clientserver.c commit b11ed3b1504d526a4b571bc3d80f4e5f1628dc75 Author: Andrew Tridgell Date: Sun Jul 19 04:50:48 1998 +0000 - close stdout and stderr and reopen then as /dev/null when running as a daemon. This prevents library functions (such as getopt) stuffing up our protocol stream when errors are detected. - defer the error message from the options parsing until after the socket is multiplexed. This allows clients sending new options which the remote server doesn't understand to get a sensible error message. M main.c M options.c M socket.c commit 42245f1b56a3e7647762db300430470c302191e8 Author: rsync-bugs Date: Fri Jul 17 14:53:00 1998 +0000 preparing for release of 2.0.19 M packaging/redhat/5.0/rsync.spec M version.h commit c29ee43dbdbdac279a1e3914b0fa02f1b34260e8 Author: Andrew Tridgell Date: Fri Jul 17 14:42:59 1998 +0000 handle hard links on systems with 16 bit ino_t M acconfig.h M configure.in M rsync.c M rsync.h commit d310a212f7a5c79e5e98c829e49a5c9596c12301 Author: Andrew Tridgell Date: Fri Jul 17 14:25:14 1998 +0000 added a bit in the man page about the clean shell error M compat.c M rsync.yo commit ca6c93f817b453bcd8622cf66465851c15142a30 Author: Andrew Tridgell Date: Fri Jul 17 14:05:57 1998 +0000 check whether there is a / before a : in the rsync command line. If there is then assume that the : is from a filename, not a host:dir separator. This allows you to copy files with a : in them. (suggestion from pfeifer@wait.de) M main.c commit 72914a606ec66f61678c6d077e515f08908e76a3 Author: Andrew Tridgell Date: Fri Jul 17 13:18:32 1998 +0000 make rsync behave more like GNU cp with regard to file permissions when -p (preserve permissions) isn't set. It works by taking the sending file permissions and masking them with the umask to create the destination file permissions. (There is really no "correct" way of doing this but at least we now behave like GNU cp which fits the principle of least surprise.) also fixed a race condition in copy_file() M flist.c M rsync.c commit 4b957c22381cf1848ff6a5e59249bb71ba79e9fa Author: Andrew Tridgell Date: Fri Jul 17 10:00:48 1998 +0000 added the --safe-links option to disallow symlinks outside the destination tree M rsync.yo M util.c commit d853783f213a67f9461c1f72eb612bc3c99f87be Author: Andrew Tridgell Date: Fri Jul 17 10:00:43 1998 +0000 added the --safe-links option to disallow symlinks outside the destination tree M options.c M rsync.c M rsync.yo commit 298c10d5bb83a6c3fc1ee6583383c6ae26e12751 Author: Andrew Tridgell Date: Fri Jul 17 07:42:04 1998 +0000 some code reformatting M rsync.c commit 6608462cac742530ed6528bfb5ac7e26f43a31ea Author: Andrew Tridgell Date: Fri Jul 17 07:26:08 1998 +0000 removed old "make dist" target M Makefile.in commit ca8e96946efc3e5c187c8b758b2f6c265c9a3a52 Author: Andrew Tridgell Date: Fri Jul 17 07:25:42 1998 +0000 changed wording of an error message M io.c commit 6ed67e6dd557f8c70fcea6578c48658c1850ca58 Author: Andrew Tridgell Date: Fri Jul 17 07:17:11 1998 +0000 moved getopt.h above unistd.h to prevent problems with uwin on NT M rsync.h commit 1f658d4207b36bbfbb42f638b2e70a8205819c9c Author: Andrew Tridgell Date: Fri Jul 17 07:07:23 1998 +0000 fixed a problem with rsync buffering the debug output when redirected to a file. M main.c M options.c M rsync.c commit d3bc0b68abc5fcc4ddbdeb9083b346c64c4fddfc Author: Andrew Tridgell Date: Fri Jul 17 05:38:51 1998 +0000 make a function static M rsync.c commit 1a0de6c68bd7c95aef56a754c8ed3e3062a5e57c Author: Andrew Tridgell Date: Fri Jul 17 05:38:21 1998 +0000 remove a useless debug message M main.c commit eb601ffeb8a0145a37862852a5b2afb799d3b23d Author: Andrew Tridgell Date: Fri Jul 17 05:37:56 1998 +0000 code style change M io.c commit 8d72ef6e5258fe6a3174db822e5a6b1f7a32e252 Author: Andrew Tridgell Date: Fri Jul 17 05:37:18 1998 +0000 use error to detect lockfile open failures vs. max connections reached and report an appropriate error message M clientserver.c M connection.c commit bcf5b1335d6e5183f9545eb1b23e16185264e311 Author: Andrew Tridgell Date: Thu Jul 2 10:57:20 1998 +0000 - use explicit flushes instead of setlinebuf. I've had reports of verbose info not being line buffered to files. - add a call to localtime() in open_log() in order to prime the C libraries timezone cache before the chroot(). This should fix the problem of rsyncd log entries being in GMT time. M configure.in M log.c M main.c commit bd7e05d7996e67cf12a0b01fe9286ef2813432f4 Author: Andrew Tridgell Date: Thu Jul 2 03:02:14 1998 +0000 remove a redundent continue statement M io.c commit c95f1aa9d32f0a47ed02f283678c546f91c15e85 Author: Andrew Tridgell Date: Thu Jul 2 02:59:04 1998 +0000 prioritise reading over writing in the select loop. (this is another ssh-friendly attempt) M io.c commit 86ffe37f11f3d3d2f855f9d4384a22ac72d5b6fb Author: Andrew Tridgell Date: Thu Jul 2 02:48:09 1998 +0000 fix the problem of --timeout waiting for twice the specified time. M io.c commit b536f47e3ce7c8efc6d73884da0474fc5551b285 Author: Andrew Tridgell Date: Thu Jul 2 02:08:55 1998 +0000 - don't show "created directory" message unless verbose is selected - check for null buf in show_progress M main.c M match.c commit 43b06eeae9f654e812cc9d4a5237450172965ad3 Author: Andrew Tridgell Date: Thu Jul 2 01:28:39 1998 +0000 output progress % every 1k instead of every 1%, this is better for large files. M util.c commit 067857e0acaaceae0737b38c576aacea37e84eb8 Author: Andrew Tridgell Date: Thu Jul 2 01:27:51 1998 +0000 the recv_generator can be static M rsync.c commit b3e10ed75b42d175c18c869d3cb7b6fb6b66f3e9 Author: Andrew Tridgell Date: Thu Jul 2 01:27:14 1998 +0000 enable output buffering in the recv generator. This makes a significant difference when the transport is ssh as ssh will otherwise output a complete frame for each checksum record, which increases the checksum data in size by a factor of around 4. M main.c commit a353d5633749e09b62c36b4a72e5688f456579e6 Author: Andrew Tridgell Date: Thu Jul 2 00:48:20 1998 +0000 don't need to send --progress option to server as the server never prints progress info. M options.c commit eb86d661d79f25c91788964a768b54223717e8f6 Author: Andrew Tridgell Date: Thu Jul 2 00:47:13 1998 +0000 added --progress option which shows the progress of transfers. This gives bored users something to watch. M log.c M match.c M options.c M rsync.c M rsync.yo M util.c commit fe055c718ab5f3813d4e8b070b8b72dd9c2e0076 Author: Andrew Tridgell Date: Wed Jul 1 11:03:50 1998 +0000 - only keep a partial file if some literal data has been transferred, this prevents a second interrupted transfer from reducing the size of the transferred file. - set SIGUSR1 to SIG_IGN early to prevent a race condition that prevents the --partial code from working properly M rsync.c commit 31f440e68b1a087093f1c34be1ad3444f911d7d9 Author: Andrew Tridgell Date: Wed Jul 1 05:10:42 1998 +0000 I've had reports of rsyncd leaving zombies under digital unix. This patch tries to address the problem in two ways: 1) reinstall the SIGCHLD handler before each fork 2) reap any children not caught by the handler using waitpid with WNOHANG. I expect this will fix the problem. M socket.c commit c95da96a0c51c66c8cb2eff97b768a717d9e0c79 Author: Andrew Tridgell Date: Wed Jul 1 03:36:03 1998 +0000 added a --partial option which tells rsync to keep partially transferred files if the transfer is interrupted. added a "options summary" section to the man page M main.c M options.c M rsync.c M rsync.yo commit bf9f01689f9cba70ed595ddcfabdf92d4b03cb80 Author: Andrew Tridgell Date: Fri Jun 19 00:55:19 1998 +0000 if we get EWOULDBLOCK on a write then reduce the amount of data we are trying to write. This guarantees that the maximum amount of data that can be written at any one time is written. M io.c commit da81e2153611b99fe1d02ec14de61ebc5b732831 Author: Andrew Tridgell Date: Thu Jun 18 14:15:16 1998 +0000 use LDFLAGS in Makefile.in (fix from arndt@schoenewald.de) M Makefile.in commit 46831d6fcf5ace953b1e354a542b9bb45cdf376a Author: Andrew Tridgell Date: Thu Jun 18 13:26:10 1998 +0000 fixed chmod bug pointed out by Han Holl M rsync.c commit b58ad6c569e185cb7c8512ee5e061762b5ebe605 Author: rsync-bugs Date: Thu Jun 18 13:06:00 1998 +0000 preparing for release of 2.0.18 M packaging/redhat/5.0/rsync.spec M version.h commit 22b193328754701c37942f4776116ada880efaef Author: Andrew Tridgell Date: Thu Jun 18 12:17:23 1998 +0000 fixed a race condition in rsync that opened a security hole. The temporary files were being created with the same permissions as the original file. So if the file was setuid but not owned by the user doing the transfer then there was a window of opportunity for a malicious user to execute it with the wrong permissions while it was being transferred. Thanks to snabb@epipe.fi for pointing this out. M rsync.c M rsync.h commit 5a03f68a5a81695bf8bae65fcd7faa226986ba55 Author: rsync-bugs Date: Thu Jun 18 10:30:48 1998 +0000 preparing for release of 2.0.17 M packaging/redhat/5.0/rsync.spec M version.h commit e81da93e864670d179288211f59c280c88144412 Author: Andrew Tridgell Date: Thu Jun 18 10:03:44 1998 +0000 if as non-root we failed to update the group of a file then don't print the file name. M rsync.c commit f578043391634ae1d345e84657fec7ecfb0f34a0 Author: Andrew Tridgell Date: Thu Jun 18 09:51:44 1998 +0000 for consistency use memcpy/memset everywhere instead of bcopy/bzero M checksum.c M configure.in M flist.c M hlink.c M lib/compat.c M loadparm.c M rsync.h M socket.c commit e8f5b936ad534e84c0bab9b1a41b1ce5680945f5 Author: Andrew Tridgell Date: Thu Jun 18 09:37:21 1998 +0000 move include of compat.h after other includes. M rsync.h commit 667e72a1956cea3c144036432eaa923a5a62bba9 Author: Andrew Tridgell Date: Thu Jun 18 09:36:24 1998 +0000 change the order of chmod and chown calls so that setuid bits don't get removed by chown calls. M rsync.c commit e1b3d5c4be46ee0b17a98aa48cb7cb152c4a008b Author: Andrew Tridgell Date: Thu Jun 18 09:34:56 1998 +0000 set network file descriptors non-blocking before starting main rsync algorithm. M main.c commit f7b9377863c25088412a704cc0834460d0d6c86b Author: Andrew Tridgell Date: Thu Jun 18 09:33:46 1998 +0000 handle non-blocking file descriptors for both read and write. Add a workaround for buggy systems that say there is space to write when there isn't. M io.c commit a5343e765b5652d8e097ea9c398693e60a2d64d2 Author: Andrew Tridgell Date: Thu Jun 18 09:32:45 1998 +0000 put set_nonblocking() code back in. M util.c commit 704f908eae2008475e3aba005331e69c98c52234 Author: Andrew Tridgell Date: Thu Jun 18 09:31:42 1998 +0000 --help changes suggested by Francois M options.c commit de2fd20eb70ed8877e3d7b7bd25082e70fb4e582 Author: Andrew Tridgell Date: Thu Jun 18 09:30:51 1998 +0000 manpage updates, mostly suggested by Francois M rsync.yo M rsyncd.conf.yo commit 100e5241b067bdc54457f5b6b28d8a1bcdedcf05 Author: Andrew Tridgell Date: Wed Jun 3 02:47:52 1998 +0000 the tag table should be of type int* not tag*. This bug resulted in rsync being much less efficient that it could be for files with more than 64k blocks. With the adaptive block size code giving a maximum block size of 16k this means that files larger than 1GB were handled very inefficiently. The transfer was still accurate, just slow. M match.c commit ddecf7060b2b0316d29a2d4e13d2a4160e1badd7 Author: Andrew Tridgell Date: Wed Jun 3 02:35:51 1998 +0000 if the user passes a block size on the command line then don't adapt the block size. M rsync.c commit 56cdbccb92998e07b9b934a4052b72dabc8251da Author: Andrew Tridgell Date: Tue Jun 2 12:50:23 1998 +0000 added note to docs saying that --stats doesn't work unless -v is used M rsync.yo commit fc8a6b97051ae24622472b5117f48bdfb2413f57 Author: Andrew Tridgell Date: Tue Jun 2 12:46:46 1998 +0000 added some fflush() calls to make sure the statistics lines are printed when redirecting output to a file. M main.c commit 143384f36708ded3510261542f6ebc14723d1e1d Author: rsync-bugs Date: Mon Jun 1 13:49:12 1998 +0000 preparing for release of 2.0.16 M packaging/redhat/5.0/rsync.spec M version.h commit 8c3b04730b041cc14c6c665575f4c1168d326141 Author: Andrew Tridgell Date: Mon Jun 1 13:44:06 1998 +0000 added some notes to test.sh M test.sh commit aa9b77a56c302461e373cf447672aa93adff3130 Author: Andrew Tridgell Date: Mon Jun 1 13:39:54 1998 +0000 replace calls to strcmp() with a u_strcmp() function that uses only unsigned comparisons. Transferring files between two machines that treated strcmp() differently led to the files being given the wrong name at the destination if the filenames had characters > 128 (such as Kanji characters) and the source and destination machines treated strcmp() differently (ie. one treated strings as signed and the other as unsigned). We now treat all string comparisons for file list sorting as unsigned. M flist.c M util.c commit b72f24c7190fde1c15662d52c8d62789bd2086ad Author: Andrew Tridgell Date: Mon Jun 1 10:38:24 1998 +0000 updated the usage info M options.c M rsync.yo commit a800434a82af8dbd59da7c27b382c9897dd90150 Author: Andrew Tridgell Date: Mon Jun 1 03:42:14 1998 +0000 added --stats option for verbose stats on the file transfer M flist.c M io.c M main.c M match.c M options.c M rsync.c M rsync.h commit 3b3c3d43904091669895a1687ad44005899c0964 Author: rsync-bugs Date: Sat May 30 02:10:18 1998 +0000 preparing for release of 2.0.15 M packaging/redhat/5.0/rsync.spec M version.h commit d846b0987475dcad9ea45b5feb4eaa00b9f91d86 Author: Andrew Tridgell Date: Sat May 30 02:07:36 1998 +0000 replace BAD with zBAD so it compiles on AIX M zlib/infblock.c M zlib/inflate.c M zlib/infutil.h commit 1d3754aede7d43ec072dd5d4e6cec57094bcd85c Author: Andrew Tridgell Date: Sat May 30 02:03:29 1998 +0000 cosmetic fix. reset offset to 0 at the start of each loop so the filenames get printed correctly when sending directories followed by local names. M rsync.c commit e44f9a12c4c6d560f00d6e3521dca27e1d1e422a Author: Andrew Tridgell Date: Sat May 30 02:02:23 1998 +0000 make sure that io_flush() doesn't call writefd_unbuffered from within a writefd_unbuffered call! this should fix the "decompressor lost sync" bug M io.c commit 5243c216d6db4c728c7bf0ad7ab769c9bb6a728b Author: Andrew Tridgell Date: Fri May 29 14:36:39 1998 +0000 replaced chdir and getcwd calls with push_dir/pop_dir functions. These are faster and don't cause problems in a chrooted environment on any systems. M clientserver.c M flist.c M main.c M options.c M rsync.yo M util.c commit 79a51e7ee68097b98bc2234b70d16c011bdc3608 Author: rsync-bugs Date: Fri May 29 02:29:33 1998 +0000 preparing for release of 2.0.14 M packaging/redhat/5.0/rsync.spec M version.h commit cad2bba7d809c9f385fd8b85959c09c5e687edb5 Author: Andrew Tridgell Date: Fri May 29 02:28:33 1998 +0000 fixed a bug in the flist sending code that caused the flist sending to get out of sync. M flist.c M io.c commit fe8c0a9824bf990ae3ff692d25105dd2c9f0ebf4 Author: Andrew Tridgell Date: Thu May 28 06:40:25 1998 +0000 use Realloc instead of realloc M exclude.c M io.c M loadparm.c M params.c M rsync.c M util.c commit 6cdc6b13443c7b760d136bafd5253ef1ddf7f3cd Author: Andrew Tridgell Date: Thu May 28 06:29:57 1998 +0000 fix realloc call for systems that don't handle realloc(NULL, ...) M loadparm.c commit 05848a2cc797b777473023b0dff6bba62668dc78 Author: Andrew Tridgell Date: Thu May 28 05:05:26 1998 +0000 don't do recursive deletion if the recurse option is not selected. M rsync.c commit 528bfcd79a0ebcf9a2a0071981525213f25b1fc6 Author: Andrew Tridgell Date: Thu May 28 01:58:33 1998 +0000 cosmetic fix. don't display a EOF error when displaying just the motd from a rsync server M io.c commit a1e13a937cff2b192591ec6c8df5dfbd02da973d Author: rsync-bugs Date: Wed May 27 13:54:41 1998 +0000 preparing for release of 2.0.13 M packaging/redhat/5.0/rsync.spec M version.h commit e3fe383aaa360a0226f81ae67467addfe2bf29d5 Author: Andrew Tridgell Date: Wed May 27 13:47:34 1998 +0000 reduce IO_BUFFER_SIZE by 4 bytes so when then length word gets added it is a power of 2. M rsync.h commit 43bd68e5dd71ad5ef5ff2816846102d69d7cb615 Author: Andrew Tridgell Date: Wed May 27 13:39:40 1998 +0000 added new include/exclude options to man page M rsync.yo commit ea2111d10a10a164334eff3b621ed7e630404345 Author: Andrew Tridgell Date: Wed May 27 13:05:05 1998 +0000 - always flush the IO write buffer when reading - handle start of line in exclude properly M exclude.c M io.c commit 4c36ddbeecdde407c870109d70527640ca127ace Author: Andrew Tridgell Date: Wed May 27 12:37:22 1998 +0000 heaps of cleanup in the io code. we no longer use non-blocking IO, instead it uses select a lot more, being careful to always allow for reading whenever a valid read fd is available and chcking timeouts. also split the file io calls into fileio.c M Makefile.in M compat.c A fileio.c M flist.c M io.c M main.c M match.c M rsync.c M rsync.h M util.c commit 2b6b4d539b0aab98b1cbb9d8c639cb12473aae94 Author: Andrew Tridgell Date: Wed May 27 11:02:33 1998 +0000 added support for --include, --include-from and the +/- syntax M clientserver.c M configure.in M exclude.c M flist.c M lib/compat.c M options.c M rsync.h M zlib/zutil.c commit 35f69d8ad928122528482418dcc77afb19819775 Author: Andrew Tridgell Date: Wed May 27 06:31:37 1998 +0000 new test code from Phil M test.sh commit 7b1ce0d746df0d7f7f33238799949ff3cec911a2 Author: Andrew Tridgell Date: Wed May 27 06:30:50 1998 +0000 fixed a race condition in the --delete handling code. The bug led to spurious error messages about not be able to delete some files. this fix also makes --delete processing more efficient M flist.c M rsync.c M rsync.h commit 54816348d163e63cf696434d8d0c8dd20da3641b Author: rsync-bugs Date: Tue May 26 14:45:05 1998 +0000 preparing for release of 2.0.12 M packaging/redhat/5.0/rsync.spec M version.h commit 49d11b78c14e6d039f49ea5615bb33148f898bd0 Author: Andrew Tridgell Date: Tue May 26 14:39:18 1998 +0000 fixed a bug in the handling of very long filenames (longer than 255 chars) where two neighboring filenames share more than 255 characters at the start of their names. M flist.c commit bb0f7089fea7318a48b0fc3a4b052330a9fabcc3 Author: Andrew Tridgell Date: Tue May 26 14:18:59 1998 +0000 check for munmap as well as mmap. NextStep only has mmap in standard libs M configure.in M rsync.h M syscall.c M util.c commit 1ff5450d31ee81523f5af44acfc4556e5aa91036 Author: Andrew Tridgell Date: Tue May 26 14:17:27 1998 +0000 formatting changes M main.c commit 2f7512b0066958c8b3d092cdfa19845756a48109 Author: Andrew Tridgell Date: Tue May 26 14:16:20 1998 +0000 error formatting changes M flist.c commit 943882a289da2ad2d6ae1ef9c8bba494d769ba50 Author: Andrew Tridgell Date: Sat May 23 05:57:08 1998 +0000 - don't allow chown for the group of a file if running as a daemon and uid!=0 - reset am_root after startup as a daemon M clientserver.c M rsync.c commit 6c82f74b6ff3cda7c8ef8d08e561125202bb80da Author: Andrew Tridgell Date: Sat May 23 03:13:46 1998 +0000 don't treat intermediate link directories as links in the relative path code M flist.c commit 8a5b8b263bd3687b96c660cc923e80d3035fbea4 Author: Andrew Tridgell Date: Fri May 22 14:22:41 1998 +0000 need strchr check in configure.in M configure.in commit d47a7fcf0fd2f6d785bc58f2457a3cbd6eb816ff Author: Andrew Tridgell Date: Fri May 22 14:03:30 1998 +0000 use a simpler mmap() test in autoconf as we don't need all the features of mmap that the standard test uses, and it reports Ultrix as having no working mmap() when in fact any mmap will do what we want for rsync. M configure.in commit e24c850818d77c04aa8a6a9d2850134c76eb756b Author: Andrew Tridgell Date: Fri May 22 13:51:26 1998 +0000 need a ifdef around some mmap code M util.c commit 6c612747e3dd039903b6e5dae6ef5a78d3e032b4 Author: rsync-bugs Date: Fri May 22 13:46:30 1998 +0000 preparing for release of 2.0.11 M packaging/redhat/5.0/rsync.spec M version.h commit 505c7ea2bc0720a44a17c3076dec3e0b87e4ab93 Author: Andrew Tridgell Date: Fri May 22 13:27:55 1998 +0000 add a cast to initialisation of mask M access.c commit 9add51f18ec5f753ba77b2011eae980eba4a0be5 Author: Andrew Tridgell Date: Fri May 22 13:02:22 1998 +0000 change WRAP to ZWRAP so it doesn't conflict with IRIX includes M zlib/infutil.h commit f7bd44eb32a5d7a8313e6cc96a1e9b197c1a8c01 Author: Andrew Tridgell Date: Fri May 22 12:20:07 1998 +0000 added a README.rsync to explain what we have changed in zlib and to tell people that any bugs are our responsibility. A zlib/README.rsync commit e3ac52f2e1823e531ea2514abe8e5bb87f26ca0a Author: Andrew Tridgell Date: Fri May 22 12:13:07 1998 +0000 no longer needed D lib/zlib.c D lib/zlib.h commit 06e27ef78e0348ec7326f1c1c3c1026abac9db42 Author: Andrew Tridgell Date: Fri May 22 12:08:49 1998 +0000 - fix redefinition of MAX - fix shadow of variable "overflow" M zlib/trees.c commit 23e43fceeb918374e99005c7d1553ded436d6bab Author: Andrew Tridgell Date: Fri May 22 12:07:23 1998 +0000 fix shadowed variable M rsync.c commit f900f5fe712f9028aae486b95dcd5648d6aa44dc Author: Andrew Tridgell Date: Fri May 22 12:06:25 1998 +0000 removing an unused variable M match.c commit db199cfae0ad73d50b27f522c0aaa0b751055823 Author: Andrew Tridgell Date: Fri May 22 12:05:53 1998 +0000 don't need two AC_OUTPUT lines in configure.in M configure.in commit 5914bf15d2bb62003de56cea1d95f62b5830618a Author: Paul Mackerras Date: Fri May 22 06:58:52 1998 +0000 Update to use the new zlib-1.1.2 code. The compressed token code now handles the null (-2) token from the match logic. M Makefile.in M configure.in M match.c M token.c M zlib/deflate.c M zlib/zlib.h M zlib/zutil.h commit 45f133b9769fb45a329d3d41e121109d430e307d Author: Andrew Tridgell Date: Fri May 22 01:53:02 1998 +0000 this fixes two problems: 1) handle 64 bit file offsets in the token code. I wonder how large bit files worked up till now? 2) send a null token when we have passed over a large lump of data without finding a token match. This reduces the number of IOs considerably as it removes the need for seeks/reads on the checksum calculation and literal send code. This is not enabled yet for the compressed case as the deflate token code can't handle it yet. M match.c M token.c commit c5eb365011581bdf9987b538f0df04a1d6feb723 Author: Andrew Tridgell Date: Thu May 21 05:57:15 1998 +0000 formatting changes. committed separately so they don't mask the coming token changes. M token.c commit 2f326946a17abd0ab4bf3f14e5284c2d04f243c0 Author: Andrew Tridgell Date: Thu May 21 05:55:33 1998 +0000 now that we slide the mmap window we can use a smaller MAX_MAP_SIZE and thus consume less virtual memory on the sending side. M rsync.h commit 754d120c98d699b5cb9eae20967de0dd949028cd Author: Andrew Tridgell Date: Thu May 21 05:52:37 1998 +0000 use mmap() for files of any size. This should be much more buffer cache friendly. M syscall.c M util.c commit 8e9871303bdd2cbf32f32eee2836d6712de927cd Author: Andrew Tridgell Date: Thu May 21 05:32:36 1998 +0000 someone didn't realise that you need rsync at both ends! M rsync.yo commit de5fb3744da115dbdb66c7fbb894bf2ad9317fb7 Author: Andrew Tridgell Date: Wed May 20 00:20:12 1998 +0000 added DNS spoofing test to host access control M socket.c commit 6e47bda08e17783f3fc6800884006a5e343d75d5 Author: rsync-bugs Date: Mon May 18 14:30:22 1998 +0000 preparing for release of 2.0.10 M packaging/redhat/5.0/rsync.spec M version.h commit 130b4ae4475ec2458e8d33d192e95f52718829be Author: Andrew Tridgell Date: Mon May 18 14:11:43 1998 +0000 strip any leading / off absolute paths when using relative path names M flist.c commit ba5e128d2344441f25ac4ee8c4b96c31f93bfd81 Author: Andrew Tridgell Date: Mon May 18 14:00:24 1998 +0000 fixed a bug in the glob expansion code (pointed out by hazard.bsn@blkseanet.net.eu.org) M main.c M util.c commit 79b34efe9229265da3e0b0995e8828e29c4d5dd9 Author: rsync-bugs Date: Mon May 18 10:30:53 1998 +0000 preparing for release of 2.0.9 M packaging/redhat/5.0/rsync.spec M version.h commit 679e765768f85485818ecb33d084de677e3ac1a7 Author: Andrew Tridgell Date: Mon May 18 10:23:47 1998 +0000 fixed a multiplexing bug M io.c commit e08c961083eb56a13e51506ed8a75b184a9d3172 Author: Andrew Tridgell Date: Mon May 18 09:34:33 1998 +0000 handle rsh clients that don't like half-open connections M main.c commit 8d9dc9f99db13d42272b7c150f2e6849331ccdc1 Author: Andrew Tridgell Date: Mon May 18 08:20:26 1998 +0000 this is a large commit which adds io multiplexing, thus giving error messages from the server when using the socket code. I've doen a fair bit of testing and I don't seem to have broken anything, but it is a very complex change. More testing needed! M clientserver.c M io.c M log.c M main.c M options.c M rsync.c M rsync.h M socket.c M util.c commit 593fde2d3bfeaaeff4103ce354215783be1cec9f Author: Andrew Tridgell Date: Sun May 17 15:18:25 1998 +0000 if f_in == f_out then don't close one of them M main.c commit 7544c45b1dd61a543eec7e641a61098ba254a985 Author: rsync-bugs Date: Sun May 17 15:10:34 1998 +0000 preparing for release of 2.0.8 M packaging/redhat/5.0/rsync.spec commit fdee2ba3df0efb75718d6f619d30a98a88d58134 Author: Andrew Tridgell Date: Sun May 17 15:10:13 1998 +0000 rpm is fussy about changelog formats M packaging/redhat/5.0/rsync.spec.tmpl commit c120bb2235cfb4eda4db9531690645cd4d78380c Author: rsync-bugs Date: Sun May 17 14:58:20 1998 +0000 preparing for release of 2.0.8 M packaging/redhat/5.0/rsync.spec M version.h commit 5d58c8d6645edbf020e57d51e8cbd4a0c4e32425 Author: Andrew Tridgell Date: Sun May 17 14:32:57 1998 +0000 updated so I can auto-build rsync packages M packaging/redhat/5.0/rsync.spec.tmpl commit 22d6234e04e087b9111243d1f940db7c6d59fd76 Author: Andrew Tridgell Date: Sun May 17 07:22:53 1998 +0000 close some unnecessary file descriptors in do_recv() M io.c M main.c commit 5dd7e031675d21c2ab28d464d64422ee1f097341 Author: Andrew Tridgell Date: Sun May 17 05:56:32 1998 +0000 put a limit (default 1MB) on the read buffer size. This stops it growing too much if the sender is much faster than the receiver M io.c M rsync.h commit 08ac228fbd0be74bfb65d1d3f98f7901eda129ba Author: Andrew Tridgell Date: Sun May 17 03:51:41 1998 +0000 moved usage mesage after am_daemon test (I'd broken daemon mode) M main.c commit 6c29af225112d25581ec4aaa25666a11cf122c56 Author: Andrew Tridgell Date: Sun May 17 01:24:16 1998 +0000 close the other half of the pipe in do_recv(). This fixes the problem where a rsync receive process could hang around after the connection has gone away if a fatal error occurs (such as someone killing the other end) M main.c commit 6c0034684984953b4078759e6c1843ac50496f36 Author: Andrew Tridgell Date: Sat May 16 15:18:07 1998 +0000 check for right number of arguments _after_ the option parsing. this stops "rsync -v" causing a segv. M main.c commit d0d56395c8a150f72b6189e027fe9af918e23551 Author: Andrew Tridgell Date: Sat May 16 07:45:26 1998 +0000 for authenticated access record the authenticated username in the logs M authenticate.c M clientserver.c commit e9d736a7e80962dd3835882df8bcd41c33956e9e Author: rsync-bugs Date: Sat May 16 05:38:33 1998 +0000 preparing for release of 2.0.7 M packaging/redhat/5.0/rsync.spec M version.h commit e9ace0c77a750d640701ea7029ece79535b18279 Author: rsync-bugs Date: Sat May 16 05:35:56 1998 +0000 put only the ftp directory in the template file M packaging/redhat/5.0/rsync.spec.tmpl commit 1c31ffa9afc2892ca842ef77578c5f59682e4d19 Author: rsync-bugs Date: Sat May 16 05:30:33 1998 +0000 added a template file for the rsync spec file to enable automatic spec generation A packaging/redhat/5.0/rsync.spec.tmpl commit d186eb1a56cd733bf731074ea0627737540110b5 Author: Andrew Tridgell Date: Sat May 16 05:24:40 1998 +0000 - print the stats at the right place when uploading in the rsync daemon - update spec file M main.c M packaging/redhat/5.0/rsync.spec commit 18baf523dc90d0dd2131ee89d688a62844b6e01a Author: John H Terpstra Date: Sat May 16 04:23:41 1998 +0000 Spec file for building Red Hat RPM packages. A packaging/redhat/5.0/rsync.spec commit 7b372642ec1179dece1b0b0162189112b85018bf Author: Andrew Tridgell Date: Sat May 16 03:03:57 1998 +0000 - distinguish downloads and uploads in the syslog messages - add stats on uploads in syslog M clientserver.c M main.c commit 4f189177dcd9c5ecbe7c1e79c3523b0378d1a56a Author: rsync-bugs Date: Sat May 16 00:57:37 1998 +0000 preparing for release of 2.0.6 M version.h commit f72399f8674aca5eae57b7981a233c7f4b95fb11 Author: Andrew Tridgell Date: Sat May 16 00:46:16 1998 +0000 fixed handling of vsprintf on SunOS M util.c commit d64488e169879350ab6c7ab07d24c076437afead Author: rsync-bugs Date: Fri May 15 14:12:06 1998 +0000 preparing for release of 2.0.5 M version.h commit 29110570f843d6d009c0b13ed996a8d2c94efe02 Author: Andrew Tridgell Date: Fri May 15 14:01:04 1998 +0000 removed some debug code M flist.c commit 3e607d23543f0f3fb7b72953b89334071540667f Author: Andrew Tridgell Date: Fri May 15 14:00:12 1998 +0000 got rid of "EOF in map_ptr" problem. If a file shrinks mid transfer then we supply a zero filled buffer at the end and rely on the checksum to cause a retry. This is really the best we can do as there is no correct semantics for copying a changing file! M flist.c M util.c commit a6801c397732a55d2f9f477a360db6fc09bb1c3d Author: Andrew Tridgell Date: Fri May 15 13:25:19 1998 +0000 added a "socket options" option to rsyncd.conf. This option will provide hours of fun for those people who like to tune their systems to the utmost degree. M clientserver.c M loadparm.c M rsyncd.conf.yo M socket.c commit 3ef56fee8f2fff8a18e5382e51ffda92b7b35948 Author: rsync-bugs Date: Fri May 15 10:58:03 1998 +0000 preparing for release of 2.0.4 M version.h commit f9e940efc715a03d70791fd747993d56383706ff Author: Andrew Tridgell Date: Fri May 15 10:52:54 1998 +0000 load just the globals section of the config file when the daemon starts so we know the syslog facility for the "starting" message M clientserver.c M loadparm.c M params.c commit 1a016bfdec2823c6d4e78a3dcc253cdfc30a10af Author: Andrew Tridgell Date: Fri May 15 10:34:07 1998 +0000 - changed the log messages to show the requested path - some more paranoid buffer size checks - separate open syslog call - handle systems without LOG_NDELAY M authenticate.c M clientserver.c M flist.c M loadparm.c M log.c commit e42c9458c2f1e3a78d6d45e99741d6edb38fc0cc Author: Andrew Tridgell Date: Fri May 15 09:26:01 1998 +0000 use strlcat() strlcpy() and slprintf() whenever possible to avoid any chance of a buffer overflow M authenticate.c M clientserver.c M exclude.c M flist.c M io.c M log.c M main.c M rsync.c M util.c commit 087bf010d2cd89848181e49b4ecdfd29a66353e9 Author: Andrew Tridgell Date: Fri May 15 08:43:11 1998 +0000 allow the specification of multiple filenames (with or without wildcards) to a rsync server. For example you can do: rsync -avz samba::'ftp/pub/samba/README ftp/pub/samba/*.gz' . M clientserver.c M util.c commit f240c06902d2766a47e32eb1a96b4e09fef49c64 Author: rsync-bugs Date: Fri May 15 07:55:05 1998 +0000 preparing for release of 2.0.3 M version.h commit a87b3b2ac285de6b327bf0cf6bed6fd9b2af975a Author: Andrew Tridgell Date: Fri May 15 07:53:41 1998 +0000 use a separate "make man" target so people don't need yodl M Makefile.in M rsync.yo commit ed0992b888c4778944e4aa7c4eecd669e24add67 Author: rsync-bugs Date: Fri May 15 07:37:00 1998 +0000 preparing for release of 2.0.2 M version.h commit d6dead6bb15edc672b188bc2941ab02744a899bb Author: Andrew Tridgell Date: Fri May 15 07:34:19 1998 +0000 added write buffering during the file list sending. This makes things a bit more efficient (less system calls) M flist.c M io.c M rsync.h commit 344fb1276b0215f7b3fb5067fae69619691541c8 Author: Andrew Tridgell Date: Fri May 15 07:11:29 1998 +0000 fixed a select bug which caused rsync to use far more cpu time than necessary on the server M io.c commit e095b568d0d402a606394892cd106e9cf93ebd77 Author: Andrew Tridgell Date: Fri May 15 05:42:56 1998 +0000 updated the README a bit M README commit 4c3d16be50ebe52e51383e396a641448c4ba00c0 Author: Andrew Tridgell Date: Fri May 15 05:37:34 1998 +0000 - added some notes about encryption and authentication to the man pages - documented the RSYNC_PASSWORD environment variable M rsync.yo M rsyncd.conf.yo commit 715e72778416c14556cb60b7aeadfdaade13c581 Author: rsync-bugs Date: Fri May 15 01:19:42 1998 +0000 preparing for release of 2.0.1 M version.h commit 5805327b2852e2e65bd409f1d322353128690be5 Author: Andrew Tridgell Date: Fri May 15 01:14:48 1998 +0000 fixed typo in rsyncd exclude handling M clientserver.c commit 8f3a2d54a6d3ffa7eefa13478c67ccfa9a3df513 Author: Andrew Tridgell Date: Fri May 15 01:02:49 1998 +0000 added "exclude" and "exclude from" options to rsyncd.conf. This is useful for mirroring a web site when you don't want users to mirror everything. M clientserver.c M exclude.c M loadparm.c M rsyncd.conf.yo commit e22de16264d3c5a05b3869692af52b1ccdf3aa80 Author: Andrew Tridgell Date: Fri May 15 00:29:45 1998 +0000 fixed SIGCLD -> SIGCHLD fixed formatting of man page (thanks to Karsten) M rsyncd.conf.yo M socket.c commit c725d76c5a54acddbf62d7c4cf04a16dd7d17f31 Author: rsync-bugs Date: Thu May 14 07:22:45 1998 +0000 preparing for release of 2.0.0 M version.h commit 5315b793d278ef7fb31362e89d28fabc68606110 Author: Andrew Tridgell Date: Thu May 14 06:57:50 1998 +0000 fixed spelling mistakes M rsync.yo M rsyncd.conf.yo commit 41059f75b5e1c18235dd8c2f54aad5cef24bb83d Author: Andrew Tridgell Date: Thu May 14 06:51:28 1998 +0000 documentation! I've written a rsyncd.conf man page (in yodl) and updated the rsync man page. M Makefile.in M loadparm.c A rsync.yo A rsyncd.conf.yo commit 248fbb8c23ed3f0da03b4e035d47ac3cfa094400 Author: Andrew Tridgell Date: Thu May 14 04:49:30 1998 +0000 syslog some stats M main.c commit fabf5ea72dbd46c4050faaaf345ee99a98cc374e Author: Andrew Tridgell Date: Thu May 14 04:40:23 1998 +0000 now support integers or strings for syslog facility M loadparm.c commit 09e13ae2dc74f82c46129d943e20c5a591449285 Author: Andrew Tridgell Date: Thu May 14 04:38:17 1998 +0000 changed "syslog facility" to an enumerated type so the string name is used in rsyncd.conf M loadparm.c commit 5a96ee059968da5fd2ba4fbd6321bb3ee76b3c9d Author: Andrew Tridgell Date: Thu May 14 04:31:03 1998 +0000 make host access controls case insensitive M access.c M util.c commit 0cea42440ffc9edab56710ab0baaff9454a86fea Author: Andrew Tridgell Date: Wed May 13 15:56:03 1998 +0000 removed a debug line M util.c commit 874895d51a4b65e39762f06eea84b7d4a7755a3f Author: Andrew Tridgell Date: Wed May 13 15:44:04 1998 +0000 added globbing support in the rsync daemon. This will allow you to specify wildcards when grabbing files from a anon rsync daemon. M clientserver.c M configure.in M main.c M rsync.h M util.c commit f855d1a309f38301bcd8898e9fbc5c70133d1f98 Author: Andrew Tridgell Date: Wed May 13 13:48:25 1998 +0000 vsprintf returns char* on sunos4 M io.c M log.c commit 9fc310dafe2f6b49f21479ce9dc61634da0e6226 Author: Andrew Tridgell Date: Wed May 13 13:27:36 1998 +0000 added replacement memmove M lib/compat.c commit 0473e2a14a57169f3b129329956c14d8f60dc7cd Author: Andrew Tridgell Date: Wed May 13 13:22:26 1998 +0000 define INADDR_NONE if necessary M rsync.h commit c8e78d87ad420c06f6b1688ef8d2e86a01c6bc76 Author: Andrew Tridgell Date: Wed May 13 12:21:10 1998 +0000 improved the authentication and in particular the error reporting M authenticate.c M clientserver.c commit bcb7e50250111ebfd299355783201223097212bd Author: Andrew Tridgell Date: Wed May 13 11:49:05 1998 +0000 first working version of challenge response authentication. needs testing. M Makefile.in M authenticate.c M clientserver.c commit 31593dd6106cfef78fc88cbe9c831a51f00a4aa6 Author: Andrew Tridgell Date: Wed May 13 09:38:54 1998 +0000 improved max connections code. Now use fcntl instead of flock. also started on authentication code (I'm doing a challenge response system initially) A authenticate.c M clientserver.c M connection.c M loadparm.c M util.c commit 91eee5946ad6d033303abfe184085c87a283da29 Author: Andrew Tridgell Date: Wed May 13 09:08:05 1998 +0000 save another couple of round trip latencies. This set of changes is backwards compatible. M clientserver.c commit 6c8f5373023d19f0bcc39e2fdb0aacf0652d40e5 Author: Andrew Tridgell Date: Wed May 13 09:01:11 1998 +0000 need sys/file.h for flock() M rsync.h commit 13c5fc0e1462307270145b8528e96a8cebfdcdc0 Author: Andrew Tridgell Date: Wed May 13 08:58:07 1998 +0000 save one round trip (version swapping) for daemon. This is an imcompatible change in the socket protocol. You get "is your shell clean" if using an older rsync client M clientserver.c M compat.c commit 0c515f17c44344813e8949fbb684b357ad70cfdf Author: Andrew Tridgell Date: Wed May 13 08:52:12 1998 +0000 added two new options "max connections" and "lock file" M Makefile.in M clientserver.c A connection.c M loadparm.c M util.c commit 851dbdb775e409cf9f55e51bd8e07139d2f8930b Author: Andrew Tridgell Date: Wed May 13 08:12:51 1998 +0000 added "syslog facility" option. It is an integer and defaults to the value of LOG_DAEMON. M loadparm.c M log.c commit 56c473b795bad9d29430bf794f9204bd096c9c3d Author: Andrew Tridgell Date: Wed May 13 08:03:47 1998 +0000 added hosts allow and hosts deny support. I ended up writing my own as the tcpd code is not quite what I wanted. M Makefile.in A access.c M clientserver.c M loadparm.c commit df5e03da7b1c81d014388b7aa0ac764b97e9dee2 Author: Andrew Tridgell Date: Wed May 13 07:04:40 1998 +0000 check argc and show usage if no args M main.c commit 4cdf25e42e344bac2576aca13a1a336cff33f8f5 Author: Andrew Tridgell Date: Wed May 13 00:08:03 1998 +0000 load the config file on each connect rather than at startup M clientserver.c commit eb697c999b6881504d47cbcaf3e1a94cbbe1c4a8 Author: Andrew Tridgell Date: Mon May 11 12:29:19 1998 +0000 fixed a bug in the new . filename code M rsync.c commit d4ebe7a7b1378fed5340bcc2acf27b758cf815ef Author: Andrew Tridgell Date: Sun May 10 13:45:03 1998 +0000 changed the name of the temporary filename to include a leading . so that it appears hidden while being transferred. This should be useful when using rsync for mirroring so users accessing via ftp don't get confused by the temporary files. M rsync.c commit d7ff63cf1a8228882777c53b6a7be0364f4bc758 Author: Andrew Tridgell Date: Sun May 10 13:01:59 1998 +0000 the statistics reporting was the wrong way around for client receipt mode! It reported the read/written backwards. M main.c commit e45e0093094fd7e7dd44531bff74188b67869cc4 Author: Andrew Tridgell Date: Sun May 10 12:37:26 1998 +0000 changed a couple of places to use strlcpy() M flist.c M loadparm.c commit 45ccc5c08c0765171721211e8e97c1ccf3db6978 Author: Andrew Tridgell Date: Sun May 10 08:31:50 1998 +0000 only call openlog once fix a segv in loadparm.c M loadparm.c M log.c commit ff8b29b8c62f377ede40fbf0cbbaa428bd8df60a Author: Andrew Tridgell Date: Sun May 10 08:24:38 1998 +0000 use syslog instead of /var/adm/rsyncd.log M clientserver.c M log.c M main.c M rsync.h M socket.c M util.c commit 8ef4ffd6987bb566c268d2a353d5fea1cfd9e430 Author: Andrew Tridgell Date: Sun May 10 08:05:56 1998 +0000 change to allow names or numbers to be used for uid and gid. M clientserver.c M configure.in M loadparm.c M socket.c M uidlist.c M util.c commit c596dad1d12bdec9e2c38e7a439612dd4d855a5b Author: Andrew Tridgell Date: Sun May 10 07:45:14 1998 +0000 fixed typo in socket test M configure.in commit 7d29d4ba13620ef50c0db6d08508dc41156a3ed7 Author: Andrew Tridgell Date: Sun May 10 07:40:20 1998 +0000 look for -lsocket by checking for connect() M acconfig.h M configure.in commit 7a6421fa764dd0f609e2a5024ec8b3bc577575a1 Author: Andrew Tridgell Date: Sun May 10 07:25:40 1998 +0000 split the options parsing code into options.c added the --port and --config options use strlcpy() instead of strncpy() some cleanups and formatting changes M Makefile.in M clientserver.c M flist.c M main.c A options.c M rsync.c M util.c commit 2c91d3d3110287ccc14a42031228cf3dca292fd3 Author: Andrew Tridgell Date: Sun May 10 03:08:22 1998 +0000 better negotiation of protocol versions M clientserver.c commit 3591c0660c52cec9fa06e7539b56604a7499fa10 Author: Andrew Tridgell Date: Sun May 10 01:46:06 1998 +0000 cleanup code a bit M Makefile.in A clientserver.c M main.c M rsync.h commit 0b76cd63ee0eacb95285dfb5d2cac2992e1794ef Author: Andrew Tridgell Date: Sat May 9 14:00:55 1998 +0000 configuration parsing and loading code for rsyncd. This is based on the Samba config code, so you'll find that the config files will be eerily familiar if you have ever worked with Samba. A loadparm.c A log.c A params.c commit f0fca04e4e136c4a487a922e8fb09acf46aeafa0 Author: Andrew Tridgell Date: Sat May 9 13:58:54 1998 +0000 first vesrion of working socket based rsync. It still needs a lot of work, but at least it works :-) M Makefile.in M configure.in M io.c M main.c M mkproto.awk M rsync.h M socket.c M syscall.c M util.c commit bc2e93eb8e6562590492e39349b37c38711a05ce Author: Andrew Tridgell Date: Thu May 7 14:53:02 1998 +0000 just a stub for now A socket.c commit d3394de178f37916581d36819f728017bb788710 Author: Andrew Tridgell Date: Thu May 7 14:52:38 1998 +0000 removed some quoted printable stuff from this so it works again M test.sh commit 9486289ce452ab82ca8b3f16fae8c2ef5247a923 Author: Andrew Tridgell Date: Thu May 7 14:50:22 1998 +0000 some large systematic changes to make socket conversion easier. The biggest one is the use of rprintf() instead of fprintf() M Makefile.in M compat.c M configure.in M exclude.c M flist.c M hlink.c M io.c M main.c M match.c M md4.c M rsync.c M rsync.h M token.c M util.c commit 5d6bcd4472d7a88adc9be81987f02b58332e432c Author: Andrew Tridgell Date: Thu May 7 12:30:47 1998 +0000 some code cleanup in preparation for a cleaner client/server split M main.c commit 94f3c3b047d06502777027d6b4337a9559637d08 Author: Andrew Tridgell Date: Thu May 7 12:29:56 1998 +0000 improve the autoconf warning for broken readdir M configure.in commit d4286ec49d07820feb4ac2b7fa6d8276585626e7 Author: Paul Mackerras Date: Thu May 7 06:19:41 1998 +0000 Add pristine zlib-1.1.2 code, ready for hacking. A zlib/ChangeLog A zlib/Makefile A zlib/README A zlib/adler32.c A zlib/crc32.c A zlib/deflate.c A zlib/deflate.h A zlib/dummy.in A zlib/infblock.c A zlib/infblock.h A zlib/infcodes.c A zlib/infcodes.h A zlib/inffast.c A zlib/inffast.h A zlib/inffixed.h A zlib/inflate.c A zlib/inftrees.c A zlib/inftrees.h A zlib/infutil.c A zlib/infutil.h A zlib/trees.c A zlib/trees.h A zlib/zconf.h A zlib/zlib.h A zlib/zutil.c A zlib/zutil.h commit dad5e9d0b5f226965c79d9a01af3dd875bee9fca Author: Andrew Tridgell Date: Thu May 7 03:57:26 1998 +0000 now using autoheader as well as autoconf A acconfig.h commit b79223389b88d0f7294296b9699140d7c2f681aa Author: Andrew Tridgell Date: Wed May 6 14:13:03 1998 +0000 hopefully better support for systems where sizeof(int)==8 M io.c commit fa37d4bbafd09abfe90641fa66111888cae58df0 Author: Andrew Tridgell Date: Wed May 6 08:01:00 1998 +0000 don't need off64_t code on systems where off_t is already 64 bits M configure.in commit f28ee65baadf611e7fb95e8ac1f795306da0ec1f Author: Andrew Tridgell Date: Wed May 6 07:35:37 1998 +0000 damn solaris doesn't prototype it's functions correctly. grrr. M syscall.c commit 94c9ef1fc351c4b7884b87d9ae80bc13272441ac Author: Andrew Tridgell Date: Wed May 6 07:28:14 1998 +0000 handle mmap() failures M util.c commit 59503278bfc27ad27c03dfaeab4e3de02198f81c Author: Andrew Tridgell Date: Wed May 6 07:18:06 1998 +0000 better test for solaris broken readdir M configure.in M syscall.c commit d6e6ecbdbf0452ec95afc98c2700076e39b4692f Author: Andrew Tridgell Date: Wed May 6 07:00:38 1998 +0000 handle broken readdir() on Solaris 2.6 (it returns the name offset by 2 characters!) M configure.in M flist.c M rsync.c M rsync.h M syscall.c commit 73233f0f1232c337ede5fae3f9f95d78457df7d0 Author: Andrew Tridgell Date: Wed May 6 06:34:18 1998 +0000 add support for lseek64() under solaris 2.6 M io.c M mkproto.awk M syscall.c M util.c commit debb45054a3c4d4da3faac372e993b594e5a0df7 Author: Andrew Tridgell Date: Wed May 6 06:21:35 1998 +0000 Solaris 2.6 doesn't support "signed char". What a broken system! M README M checksum.c M configure.in M match.c M rsync.h commit efb2f6bf626c4379065431bc207b47a4b824a7f3 Author: Andrew Tridgell Date: Wed May 6 06:07:06 1998 +0000 use floating point for printout of stats - this wrks on machines without long long but with a 64 bit off_t M configure.in M main.c M syscall.c commit bcacc18bdf1bdac625ef1f178e8e32892544cc30 Author: Andrew Tridgell Date: Wed May 6 05:43:36 1998 +0000 added support for 64 bit file offsets under Solaris 2.6. Not tested yet. M checksum.c M configure.in M flist.c M hlink.c M main.c M match.c M rsync.c M rsync.h M syscall.c M util.c commit 3bee67337d0491f55654cf8e926592365e5a8502 Author: Andrew Tridgell Date: Wed May 6 05:05:00 1998 +0000 fix up the int64 handling a little. It should work on a few more systems now (tested on OSF1) M configure.in M io.c M rsync.h commit 0944563eb945f15023fd64bdc8f767a95dce4011 Author: Andrew Tridgell Date: Tue May 5 11:23:51 1998 +0000 a leading / in a pattern now means "use a absolute path match". This allows you to exclude root directories without excluding subdirectories of the same name. M exclude.c commit a0b65b1805e323ffb8b439d8cf2a2ba162503cfc Author: Andrew Tridgell Date: Tue Apr 28 05:53:18 1998 +0000 added support for sockets and fifos M rsync.h commit ddddf27b281eac49139e78f77225f0ce5b2ab0a9 Author: Andrew Tridgell Date: Fri Apr 17 15:48:10 1998 +0000 a much improved test script from Phil. M test.sh commit 1f1b3b8ee7b07181a477b9c5ed6de52e8be784d4 Author: rsync-bugs Date: Fri Apr 17 06:49:05 1998 +0000 preparing for release of 1.7.4 M version.h commit 5806b30f0faa6ed9ded856a28e75820c48e68658 Author: Andrew Tridgell Date: Fri Apr 17 06:08:59 1998 +0000 this is a little test script to test some of rsyncs features (contributed by Phil Hands) A test.sh commit 3333ffbd431e6164fe29b096ab67ff0cfda35a56 Author: Andrew Tridgell Date: Fri Apr 17 06:07:23 1998 +0000 revamped the -delete code. The last few bugs with it revealed that it had a fundamental flaw in the way it detected duplicate deletion scanning (which is very important when -R is used). I now store inode/device numbers and use those to do the detection. This should be a much less fragile method. M flist.c M rsync.c M rsync.h commit a16bbc3990cc3c9ef1228508246f9f6840d9ffa2 Author: Andrew Tridgell Date: Mon Apr 13 07:26:37 1998 +0000 a few code cleanups M hlink.c M match.c commit cf0d1d819a847186c1b30535ec83185b070280c8 Author: rsync-bugs Date: Mon Apr 13 07:00:55 1998 +0000 preparing for release of 1.7.3 M version.h commit 0a25de67e99a5eee1b35b0e5ddb359f9a3500ce4 Author: Andrew Tridgell Date: Mon Apr 13 06:39:33 1998 +0000 fixed a bug in the handling of -R with --delete I introduced this bug in the last version as a side effect of fixing the permissions on intermediate directories with -R. drat. M rsync.c commit 317302412eece17d0b414acb6e3515c4969ab0c3 Author: Andrew Tridgell Date: Mon Apr 13 04:44:49 1998 +0000 not quite so many decimal places in "speedup" :-) M main.c commit 1250f24ed206648a05a8872bb71a520d0764eff7 Author: Andrew Tridgell Date: Thu Apr 9 00:38:40 1998 +0000 fixed a bug in handling the -c option and non-regular files. It hadn't turned up before because Linux had a bug in the handling of NULL pointers to read()/write() on pipes, so I never noticed the bug in my testing. I've also sent a patch to Linus. M flist.c commit 945eba8c1fc170872a6af23dcfc74b47240c9436 Author: rsync-bugs Date: Sun Apr 5 06:46:11 1998 +0000 preparing for release of 1.7.2 M version.h commit d867229ba0fcc7f829047b7caaa2166685cadf6e Author: Andrew Tridgell Date: Sun Apr 5 06:43:38 1998 +0000 handle sparse files more efficiently M io.c M rsync.c M rsync.h commit 1b2d733af23599b2cc173c8a275b895760f66258 Author: Andrew Tridgell Date: Sun Apr 5 06:26:24 1998 +0000 a couple more system calls wrapped in syscall.c M main.c M rsync.c M syscall.c M util.c commit 366345fe05a44b2d08aedb1c8e4b6d7ce1aedeeb Author: Andrew Tridgell Date: Sun Apr 5 06:07:37 1998 +0000 in local->local mode don't use exec to start the "remote" rsync, instead just fork() M main.c M util.c commit dd04a03440be7c04ec7c3005d5fd92ec03311358 Author: Andrew Tridgell Date: Sun Apr 5 04:34:52 1998 +0000 fixed a bug in the hlink code - it wasn't taking account of the new pointer list code for flist. M hlink.c M version.h commit 575f2fca9ab74cb30cca67323a414d7b0cdd0845 Author: Andrew Tridgell Date: Wed Apr 1 05:20:19 1998 +0000 fixed a string termination bug in the uidlist handling code. I've also added a read_sbuf() routine that fixes this kind of bug generically to avoid similar problems in future. M exclude.c M flist.c M io.c M uidlist.c M util.c commit fc4e8d51ff374d442de010c2a7d3b55b57248d86 Author: Andrew Tridgell Date: Fri Mar 27 03:38:06 1998 +0000 don't need to test for SETPGRP any more as it is no longer used M configure.in commit 98ae8c3e383d4939e1293d3da7ad8298a80502eb Author: Andrew Tridgell Date: Fri Mar 27 03:04:34 1998 +0000 Solaris uses EEXIST instead of ENOTEMPTY. M rsync.c commit 49f4b973a19f35c4f1571b31b20a5b5f227a95dd Author: rsync-bugs Date: Thu Mar 26 06:11:18 1998 +0000 preparing for release of 1.7.1 M version.h commit a070c37b7e880ac3593c35da448fe7303e797004 Author: Andrew Tridgell Date: Thu Mar 26 06:09:04 1998 +0000 fixed a bug I introduced in the last big commit M io.c commit 17faa41c7d484a88ceead75174f7878c09dedce1 Author: Andrew Tridgell Date: Thu Mar 26 05:48:37 1998 +0000 added some debugging code M flist.c commit a90da9985a87b4cdc592ed52f37255f1df4aa7e2 Author: rsync-bugs Date: Thu Mar 26 04:53:37 1998 +0000 preparing for release of 1.7.0 M version.h commit 8a24eece38abe504e47717ef28eced44b50773f1 Author: Andrew Tridgell Date: Thu Mar 26 04:43:10 1998 +0000 updated README and man page ready for the new release M README commit 6ba9279fb2c52280cedaaca94783caf44ae9d324 Author: Andrew Tridgell Date: Thu Mar 26 04:18:47 1998 +0000 - added an internal io_error flag. Whenever an io error occurs (such as not being able to open a directory) this flag is set and propogated to the other end. When this flag is set the --delete code is disabled. This prevents the problem that io or permission errors could cause files to be incorrectly deleted on the destination. - added a --timeout option. This allows you to set an IO timeout in seconds. If no io occurs in that time then rsync exits with a timeout error. - changed some FERROR fds to FINFO M exclude.c M flist.c M io.c M main.c M match.c M rsync.c M rsync.h commit 5fb543d5879ec3ad8f3e68a92b1766ece1b8326a Author: Andrew Tridgell Date: Thu Mar 26 00:32:51 1998 +0000 if rsync fails to update the group of a file but nothing else then don't report a problem. On most OSes non-root users can't change the group of a file. M rsync.c commit 0c5f37d9dbd05edc48a135eb809af0a31c8c73e3 Author: Andrew Tridgell Date: Thu Mar 26 00:11:50 1998 +0000 when using -x to stop at filesystem boundaries, include the mount points but not their contents. I did this by calling stat() on the directory above the current directory and checking to see if it has the correct st_dev. Hopefully this will work for most systems. Note that the permissions and ownership on the mount point cannot be copied correctly as they are unavailable while the filesystem is mounted. Instead rsync will set the permissions and ownership to those of the root directory of the mounted filesystem (ie. the apparent permissions/ownership of the directory) M flist.c commit 42849e9202bd1f96685f61682a9d36309c34d9bd Author: Andrew Tridgell Date: Wed Mar 25 11:28:35 1998 +0000 add the dummy file to .cvsignore M lib/.cvsignore commit a746eb9de03c3a988e3ce3038fabd427bba98a44 Author: Andrew Tridgell Date: Wed Mar 25 11:26:20 1998 +0000 - fixed a bug in the utimbuf test - rebuilt prototypes M configure.in commit 71c4617611ca07d7c249faa2dfd2cfc5cb32b836 Author: Andrew Tridgell Date: Wed Mar 25 11:08:32 1998 +0000 - on systems (such as intel linux) where off_t is 32 bits but "long long" is 64 bits use long long to get the totals right when transferring more than 2^32 bytes of data. - use inline on flist_up if the compiler supports it M flist.c M io.c M main.c M match.c M rsync.c M rsync.h commit 3cb6f5d6cbe2b1fead0453ffb31488c2ffc2def2 Author: Andrew Tridgell Date: Wed Mar 25 06:05:47 1998 +0000 added a --force option. This options tells rsync to delete directories even if they are not empty. This applies to both the --delete option and to cases where rsync tries to copy a normal file but the destination contains a directory of the same name. Normally rsync will refuse to do a recursive directory deletion in such cases, by using --force the recursive deletion will be done. M main.c M rsync.c commit 366bd9056c192760b6389cdb00fc1eaafb166d1d Author: Andrew Tridgell Date: Wed Mar 25 04:14:18 1998 +0000 changes to make VPATH work correctly, thanks to patl@cag.lcs.mit.edu M Makefile.in M configure.in commit ac71984aae3872b654ff192236ab1c5ca939344a Author: Andrew Tridgell Date: Wed Mar 25 04:13:17 1998 +0000 added this so the lib directory gets created when using VPATH A lib/dummy.in commit 649d65edf3ce535d151681b5900554432b5deeb0 Author: Andrew Tridgell Date: Wed Mar 25 03:34:52 1998 +0000 - fixed a bug wth the handling of duplicate names with the new fist structures - send intermediate directories when using --relative to ensure the permissions are set correctly M flist.c commit 7796395a0aaa485ef4aa6e2dea1023ee3a273d36 Author: Andrew Tridgell Date: Wed Mar 25 01:59:23 1998 +0000 don't show basedir in printed path (a aesthetic change only) M rsync.c commit 76076c4bbd066f56b35e1e08c8b88605b4edc615 Author: Andrew Tridgell Date: Wed Mar 25 00:40:47 1998 +0000 fixed the problem where you couldn't specify multiple remote filenames. The fix will need some testing. M compat.c M main.c commit f92ef572b9b31da5cb9a0494205b9f20a205904f Author: Andrew Tridgell Date: Tue Mar 24 06:42:11 1998 +0000 check a few HAVE_* macros M syscall.c commit 7308bd66e0d5e5d2d04e41b0052879b4f3283109 Author: Andrew Tridgell Date: Tue Mar 24 06:39:16 1998 +0000 added chmod() and chown() to syscall.c M rsync.c M syscall.c commit 0d0e2e93e81a650898c1a5b332cef6db90f2dece Author: Andrew Tridgell Date: Mon Mar 23 14:46:03 1998 +0000 test for "long long" and %lld in configure. M configure.in M main.c M match.c commit 31e125226d429c2f6df010a9277bb9ebfdc2cf54 Author: Andrew Tridgell Date: Mon Mar 23 13:25:30 1998 +0000 added wrappers around all the system calls that can change what is on disk. The wrappers check for dry_run. M Makefile.in M hlink.c M rsync.c A syscall.c M util.c commit 3a6a366fc5ac1f418446128de50b4f2a174399fc Author: Andrew Tridgell Date: Mon Mar 23 12:52:57 1998 +0000 finished 64 bit file offset support. Hopefully rsync can now transfer files up to 2^64 bytes in size. Now I just need to find enough disk space to test this :-) The 64 bit offset code only works if off_t is 64 bits (or bigger!) on both ends of the link. If one end tries to send a file greater than 2^31 in size and the other end doesn't support it then rsync will abort. This commit also cleans up some static declarations so they are in a unitinitialised segment to save load time. M checksum.c M exclude.c M flist.c M hlink.c M io.c M main.c M match.c M rsync.c M rsync.h M token.c commit 0b91056090d768c4bdc6aa83d929d09416d34e89 Author: Andrew Tridgell Date: Mon Mar 23 08:49:48 1998 +0000 started to add some 64 bit file offset support - not complete yet M checksum.c M flist.c M match.c M rsync.c M rsync.h M util.c commit a76a0039fc6f02f88dd1aba866c03ceefa7fafec Author: Andrew Tridgell Date: Mon Mar 23 07:26:14 1998 +0000 label this version 1.7.0alpha M version.h commit 2d0bb8eb0fb3d11445ab2a9657130145eaa8383e Author: Andrew Tridgell Date: Mon Mar 23 07:25:21 1998 +0000 save some more memory by only allocating the checksum when needed M flist.c M rsync.h commit e7ebc36c70b27d9354dae6a1bc6d7ec1aefa6e6f Author: Andrew Tridgell Date: Mon Mar 23 07:11:51 1998 +0000 if the file changes during transfer then don't loop forever trying to update it M match.c M rsync.c commit 1aa71c8d5784c131688c57ff8d3c683a02f43d0c Author: Andrew Tridgell Date: Mon Mar 23 06:26:08 1998 +0000 don't adapt the block size to above half the chunk size M rsync.c commit bd39e9d2633d77b7d5189fba27be83694746a9c2 Author: Andrew Tridgell Date: Mon Mar 23 04:47:40 1998 +0000 prototype update M mkproto.awk commit 3ba62a830825f5e1e1f70a8ec1f85abeaadc3f1f Author: Andrew Tridgell Date: Mon Mar 23 04:44:44 1998 +0000 - keep a list of pids and send them a SIGUSR1 for cleanup rather than using setpgrp() - adapt the block size for really large files to reduce the checksum size and memory overheads M main.c M rsync.c M util.c commit feaa89c410544775afc19eac4a966e8345d5134a Author: Andrew Tridgell Date: Mon Mar 23 04:14:21 1998 +0000 for systems with a broken select use u_sleep() to ensure the write process doesn't chew too much cpu time. M io.c M util.c commit 3ec4dd9781ed23be4a2b939fa5bfded619a1a8fb Author: Andrew Tridgell Date: Mon Mar 23 03:45:02 1998 +0000 a large change to make rsync much more memory efficient. This is done in 3 ways: 1) the realloc is done on a list of pointers, not a list of structures 2) only the basename of the file is now kept in the file struct an a util function f_name() is now used to access the full name when required. 3) pointers to directory names are re-used hopefully I haven't broken anything. This will need lots of testing. M compat.c M flist.c M hlink.c M rsync.c M rsync.h M uidlist.c commit ec0e5ac001843c24d58073447842c2b89b38bf96 Author: Andrew Tridgell Date: Tue Feb 24 11:54:10 1998 +0000 compatibility functions now split into their own file A lib/compat.c commit 1e9f155adea9c9dca7b420749cd8a92203d9427b Author: Andrew Tridgell Date: Tue Jan 27 17:51:37 1998 +0000 *** empty log message *** M Makefile.in M configure.in M rsync.h M util.c commit 6bbbc08b83d2d2598a894439a1392c84a67168e2 Author: Andrew Tridgell Date: Tue Jan 13 19:25:59 1998 +0000 *** empty log message *** M Makefile.in M rsync.c commit 13dc412d7670934e2bc9b80f3d42bb9e9ccfc93c Author: Andrew Tridgell Date: Tue Jan 13 19:19:48 1998 +0000 *** empty log message *** M rsync.c commit 950ab32d38ab6ed1940ba58ff250d414e9db4708 Author: Andrew Tridgell Date: Tue Jan 13 18:35:10 1998 +0000 *** empty log message *** M main.c M rsync.c M util.c commit d0390cd3841db9dd175ae6c9a6472d0ca72801a8 Author: Andrew Tridgell Date: Tue Jan 13 17:16:14 1998 +0000 *** empty log message *** M Makefile.in commit f6c347425ac550dd1b7d1ff739bedd1489099d91 Author: Andrew Tridgell Date: Tue Jan 13 15:57:26 1998 +0000 *** empty log message *** M Makefile.in M flist.c M main.c M rsync.h A uidlist.c M version.h commit 3b3a2fbcf058b90d9116f48ba26ad9528d450134 Author: Andrew Tridgell Date: Tue Jan 6 16:53:52 1998 +0000 *** empty log message *** M flist.c M rsync.c M rsync.h commit 95a38e8684439082bd86a988e593939e10172881 Author: Andrew Tridgell Date: Mon Jan 5 23:30:44 1998 +0000 cosmetic changes only - minor correction to --update docs - don't print "building file list" stuff when building a local file list for use in the --delete code. - remove some spaces at the end of lines in Makefile.in M Makefile.in M flist.c commit c778aaa048494cdd7ef027c85a0cf57373da2a4d Author: Andrew Tridgell Date: Thu Jan 1 15:53:05 1998 +0000 *** empty log message *** M hlink.c commit 3fac9b6e93b595f91108c0f9c6b6f40d14a58618 Author: Andrew Tridgell Date: Wed Dec 31 16:48:11 1997 +0000 removed the read_write() call, it's not used anywhere M io.c commit 964ca2eca52c17fa88426a423665eb9e7915142c Author: Andrew Tridgell Date: Wed Dec 31 16:39:34 1997 +0000 simplified the logic of whether to skip a file or not. The -c (always_checksum) option is probably now more useful. M rsync.c commit 684b4e31132b2b8df6b4feddeb006239b989793c Author: Andrew Tridgell Date: Tue Dec 30 17:36:58 1997 +0000 buffer overflow patches from mhpower@mit.edu (Matt Power) M flist.c M rsync.c commit dc7a947853cf5f8edf5afb57babc634451b60e6b Author: Andrew Tridgell Date: Tue Dec 30 10:54:47 1997 +0000 fixed the --suffix option. It wasn't being propogated to the remote end in the server_options() function. M main.c commit b73c59a2c46e80434413893d920ccf586262196d Author: rsync-bugs Date: Sun Dec 28 22:28:21 1997 +0000 preparing for release of 1.6.8 M version.h commit f3644f1f2ddde981eca0c1a39408daa467c3e941 Author: Andrew Tridgell Date: Sun Dec 28 22:26:51 1997 +0000 - added a debug message - rebuilt prototypes M rsync.c commit e3cd198f8ea1ca022c222e7ed949658eaf6cddc9 Author: Andrew Tridgell Date: Sun Dec 28 22:13:40 1997 +0000 - fixed spelling errors in man page - fixed bug in hard link handling that could lead to spurious hard links. - fixed bug in the string handling in flist.c M flist.c M hlink.c M main.c commit 5c36219d404da75b66d092e60f691acb3fee43c1 Author: Andrew Tridgell Date: Thu Dec 18 11:18:32 1997 +0000 following a report of problems with Linux/alpha I've changed zlib.c to use uint32 instead of "long" in several places. Apparently this fixes things on the alpha. The strange thing is that my own tests on a OSF/alpha box and a 64 bit IRIX box showed no problems. I wonder what was actually going wrong? I'll email the zlib maintainers and let them know. M lib/zlib.c M lib/zlib.h commit f0e5517fb8abdf468542af0e5cb31607fb536c5e Author: Andrew Tridgell Date: Thu Dec 18 11:13:27 1997 +0000 added a new mirror site to the README M README commit 18463a5a5adc8bf069a02318f4ba2ee2780aa5bb Author: rsync-bugs Date: Wed Dec 17 11:19:01 1997 +0000 preparing for release of 1.6.7 M version.h commit 82306bf6d644ceca9ef07b4989fb317fc8a613e5 Author: Andrew Tridgell Date: Wed Dec 17 11:07:17 1997 +0000 *** empty log message *** M README M configure.in M flist.c M hlink.c M main.c M rsync.c M rsync.h commit cbbe4892087b74fb8ed2aac6078ee933ac02e920 Author: Andrew Tridgell Date: Tue Dec 16 23:09:22 1997 +0000 handle things more grecefully when one machine supports hard links and the other doesn't or one machine supports soft links and the other doesn't. M flist.c M main.c M rsync.c M rsync.h commit 6dd1782c42ed166c03ba5ac5a033cf1061167510 Author: Andrew Tridgell Date: Tue Dec 16 22:39:55 1997 +0000 - check for setlinebuf() in autoconf. Apparently HPUX doesn't have it - use @exec_prefix@ and @prefix@ in more useful ways in Makefile.in M Makefile.in M configure.in M flist.c M main.c commit fee64929a32a6cd69c3a675adb86e28440af6a2b Author: Andrew Tridgell Date: Tue Dec 16 20:29:35 1997 +0000 fixed a bug in the handling of the new --relative option. The file was being opened twice but closed once. The process eventually died with an out of file descriptors error. M rsync.c commit bf5e5f68d98d84276c2fe673f10a2c6443695f3f Author: rsync-bugs Date: Tue Dec 16 18:20:10 1997 +0000 preparing for release of 1.6.6 M version.h commit 12384c3aff4fb433042cf8fc4f4949d744535531 Author: Andrew Tridgell Date: Tue Dec 16 18:18:02 1997 +0000 Checker showed that zlib was using a element of its internal state structure without initialising it. Although it looks harmless I've added a bzero() to make absolutely sure that the code behaves consistently across platforms. M lib/zlib.c commit d966ee254a2cc44158bb070c6df0a61a808cbc44 Author: Andrew Tridgell Date: Tue Dec 16 17:59:49 1997 +0000 fixed a nasty bug in the handling of the --delete option when there are duplicate file names in the list of files to be transferred (eg. the user specifies the same file twice). M flist.c M rsync.c commit 97d6916e2df3d6f935e4d57f162a44a77377064c Author: Andrew Tridgell Date: Tue Dec 16 09:25:17 1997 +0000 #if 0 the write exception code for the moment. I need to work out why it gets a successful write select on a fd followed by a EAGAIN write yet the fd is still OK. M io.c commit 6296e7b0cb492cd59bb6745a7fa99d7cca5f669c Author: rsync-bugs Date: Tue Dec 16 09:14:47 1997 +0000 preparing for release of 1.6.5 M version.h commit f80b1be0edce6d5e58d695b19faf0bfd1347b072 Author: Andrew Tridgell Date: Tue Dec 16 09:14:18 1997 +0000 added .cvsignore to the .cvsignore file to prevent it from being distributed when I run the release script M .cvsignore M lib/.cvsignore commit 9a52223bce23c54dabff27c8e02d4814c7a498dd Author: Andrew Tridgell Date: Tue Dec 16 08:48:36 1997 +0000 - fixed the "write exception" error. I was resetting got_select at the wrong point - fixed a seg fault error in flist.c - only print hlink debug messages when using -v M flist.c M hlink.c M io.c commit 2b7e9042b631fef022410b3236d762d097c172fd Author: rsync-bugs Date: Mon Dec 15 23:08:30 1997 +0000 preparing for release of 1.6.4 M .cvsignore commit 527cea662a18071b595d551599ad29ba9780fb8d Author: Andrew Tridgell Date: Mon Dec 15 22:54:23 1997 +0000 - fixed an off by 1 bug in the hard link support - added a note about anonymous cvs access to the source code in the README M README M hlink.c commit 7c5969064009f1d305ab86e42d924cb3f7acc853 Author: Andrew Tridgell Date: Mon Dec 15 22:23:30 1997 +0000 process directory permissions and times ater hard links becuase the hard link processing can modify the directory times M main.c M rsync.c commit 1634f4c4594055f384c81a64fa87870be2f0fe55 Author: rsync-bugs Date: Mon Dec 15 21:41:33 1997 +0000 casting cleanups (rsync now compiles cleanly under IRIX 6.4) M token.c commit 13a1f7929ed05c652dc1b3eb4489ced01c8616f1 Author: Andrew Tridgell Date: Mon Dec 15 21:35:37 1997 +0000 some people are now using rsync as a public server, using various patches or wrappers. One problem with this is that rsync was not written with this in mind and wasn't very careful about possible stack overflows etc which could lead to security breaches. This wasn't a problem when run in the traditional way as any user that can run rsync can login anyway and cause much more damage that way. This patch attempts to close possible stack overflow problems. I've checked for all strcpy(), strcat(), sprintf() and memcpy() overflows. I would appreciate it if someone else with a devious mind could also go through the rsync source code and see if there are any other stack overflows possible. Let me know if you do. M exclude.c M flist.c M rsync.c commit e92338c82deba1576d23f22e11d95b0b34432e08 Author: Andrew Tridgell Date: Mon Dec 15 21:04:04 1997 +0000 several changes: - by popular demand I have changed the behaviour of the --delete option. It should now work as "expected" for even those people silly enough not to read the man page. rsync will now only look for candidate files/directories to delete in directories that are explicitly transferred from the sender - updated the README a bit - try to fail a bit more gracefully when rsync runs out of disk space. I don't think this issues is fully resolved yet M README M io.c M rsync.c commit 58da1efac1d7efb654e4bbbe697b51fb04017bc8 Author: rsync-bugs Date: Mon Dec 15 19:11:24 1997 +0000 minor cleanups (unused variables etc) M match.c M rsync.c commit 05a6556d065717710634a4e469811b9d2fcfc630 Author: rsync-bugs Date: Mon Dec 15 18:36:21 1997 +0000 only include sys/mod.h if S_ISLNK is not already defined. This allows things to work on aix without causing broken sgi headers files to spew lots of complaints M rsync.h commit 628ba800e4e9876051955fdeb5fb05f5eab502c8 Author: Andrew Tridgell Date: Mon Dec 15 18:01:15 1997 +0000 bugfix from Kenji Miyake this fixes a off by 1 error that could cause rsync to crash when used with --delete M flist.c commit ce2ac5ac3ff1f4e3a14eb9b316de6804ca747181 Author: Andrew Tridgell Date: Mon Dec 15 17:57:28 1997 +0000 patch from Jim Meyering - fixed typos in man page - use @CFLAGS@ in Makefile.in, allowing override on command line M Makefile.in commit aa7ed2014183d671b61b785d1eb68fde9f6f48ec Author: Andrew Tridgell Date: Mon Dec 15 17:46:58 1997 +0000 setup line buffering for debug messages M main.c commit f9c516202005d93005811c77eede7ee1f8267f61 Author: Andrew Tridgell Date: Mon Dec 15 17:29:51 1997 +0000 be a bit more friendly on systems that behave badly (consume lots of ram) when you realloc() up by a small amount at a time M flist.c commit fdd71e177db1a15f46d3d3c92c154a1ddc07f9fd Author: Andrew Tridgell Date: Mon Dec 15 16:27:04 1997 +0000 include sys/socket.h if possible (this should make rsync compile cleanly on SCO) M configure.in M rsync.h commit 6574b4f7d938a90a158ba31c03942f8170452df4 Author: Andrew Tridgell Date: Mon Dec 15 14:43:27 1997 +0000 added a --relative (== -R) option. This is what Anthony Thyssen suggested on the list recently. See the man page entry for details but basically it changes the behaviour so that paths are not stripped, thus allowing you to specify a single rsync command to sync lots of directories/files while preserving the full path name of each file. also fixed a bug in the handling of umasks when both the source and destination machines are local. We need to reset the umask before the exec to ensure that the child gets a correct umask. M flist.c M main.c M rsync.c M util.c commit 0cfcfa29e29a87202115afc0d44a938f431517d9 Author: Andrew Tridgell Date: Mon Dec 15 13:38:06 1997 +0000 added some more debug info to the "EOF in map_ptr" error message to try to make it easier to track down what is going wrong. Jarom, can you let me know what output this gives? PS: the cvs commit messages for rsync are now sent to the rsync mailing list. This will allow everyone to see what changes are being made. M util.c commit 0aeee8c1c8e8c3fbb2ee2db1000ee7e1aa925cf8 Author: Andrew Tridgell Date: Mon Dec 15 12:37:40 1997 +0000 damn, I had implicitly assumed signed characters when writing the rolling checksum code. The result is that rsync worked much more slowly when going between two machines where one of the machines uses signed and the other unsigned chars. The rolling checksum rarely matched so effectively a copy was done in many cases. The data always came through correctly so no file corruption occurred but it's pretty pointless using rsync if it doesn't speed things up! I've now made the sign of the chars explicit M checksum.c M match.c commit 05c629f778acaf7b83583426c0138ef463fb41af Author: Andrew Tridgell Date: Mon Dec 15 12:33:15 1997 +0000 I think I've (finally) fixed the problem with rsync periodically freezing when used with ssh. The problem is really the ssh use of blocking calls. rsync has had a fix for this for a while which relies on using non-blocking calls itself and then reading any data from the incoming fd when trying to write, thus ensuring that the incoming fd doesn't get full. The problem was the the incoming fd wasn't added to the select statement, which meant that new data arriving on the fd only got read when the select timed out, which happens every 10 seconds. Thus things could slow to a crawl! The incoming fd is now in the select call, and this seems to fix the problem. M io.c commit e950ec72c4297bf2e0e494a4b29b291233316786 Author: Andrew Tridgell Date: Thu Oct 30 08:13:32 1997 +0000 don't use WRAP as that maybe be defined in standard includes M lib/zlib.c commit 5b62eeed08d675201d92c26ad5d2f52d5c94f2fa Author: Andrew Tridgell Date: Thu Oct 30 08:07:38 1997 +0000 fix version number M version.h commit e9d4e304ea80036046e6bc883c240c3ecdebc7fe Author: Andrew Tridgell Date: Thu Oct 30 08:07:28 1997 +0000 send "." filenames so the other end knows that a directory was sent M flist.c commit 10ce5fbf356e42298832e8a4a88e8579080483c9 Author: Andrew Tridgell Date: Thu Oct 30 08:06:46 1997 +0000 fix spelling error M README commit 773f2bd47f48b737cef2852341b86f5d086a5fef Author: Andrew Tridgell Date: Thu Jul 10 01:12:36 1997 +0000 minor updates M README M configure.in M rsync.h M util.c commit 774ef68f00d3b83a869119720af93b6d57731041 Author: Paul Mackerras Date: Fri Apr 11 06:18:02 1997 +0000 minor bugfixes M lib/zlib.c M main.c M rsync.c commit b8d4524b4f8c0080ed34b59d90d8345d5c84916b Author: Paul Mackerras Date: Wed Nov 6 04:49:53 1996 +0000 Fixed bug in receiving 32kB compressible files M token.c commit ff49baad6f523ec3e4725ebda95593570f608502 Author: Andrew Tridgell Date: Wed Oct 2 06:33:58 1996 +0000 *** empty log message *** M .cvsignore M version.h commit 1482e93af0d58bb178f61911a5cf4776616145cc Author: Andrew Tridgell Date: Wed Oct 2 06:33:49 1996 +0000 added info on european mirror of rsync M README commit f80621049e9b2b2070920ef364c272b6ddaec073 Author: Paul Mackerras Date: Wed Oct 2 04:20:22 1996 +0000 Fix compression bug where incompressible files weren't transmitted correctly. M lib/zlib.c M lib/zlib.h M token.c commit 24d95c034fb8bf64d700697fc9a9109707dc7163 Author: Andrew Tridgell Date: Tue Oct 1 12:04:47 1996 +0000 move check for remsh after config.h M rsync.h commit a3418f2e97890a9c799746399b96bcf721235362 Author: Andrew Tridgell Date: Tue Oct 1 06:44:00 1996 +0000 change BAD to ZBAD to avoid conflict with some systems M lib/zlib.c commit 8bf737494f17ca384b30db13b4bc31a5158f3646 Author: Andrew Tridgell Date: Tue Oct 1 06:40:36 1996 +0000 - check for sys/select.h - check for and use lchown if possible - fix problem with root directory on source and destination M configure.in M flist.c M main.c M rsync.c M rsync.h M version.h commit 432b0fbdc9acd076160445cf10b1cbb91736fef4 Author: Andrew Tridgell Date: Tue Oct 1 04:31:34 1996 +0000 - added info on the mailing list M README commit d8ba14b1769c9502f6ae934ac06b1ad9b7db9c3b Author: Andrew Tridgell Date: Tue Oct 1 04:13:03 1996 +0000 update to version 1.6 M version.h commit 7b8356d0bcc11d7681294afde83a18dfd46fa1ad Author: Andrew Tridgell Date: Tue Oct 1 04:12:30 1996 +0000 - detect presence of remsh and use it instead of rsh - handle directory ownership and permissions much better. - fix bug where links caused the permissions of files to be set incorrectly - override the default umask in setting file permissions - better handling -o and -D being passed to non-root users - handle rsync to a destination of / - fix the handling of mismatched file types at either end of the link. For example, if the destination is a link and the source is not. M Makefile.in M configure.in M hlink.c M main.c M rsync.c M rsync.h commit 280cbb85375b7968e4f81c86ceb303c7f1ee563b Author: Paul Mackerras Date: Mon Jul 15 05:38:20 1996 +0000 This should fix the bug where file transfer with compression failed with the message 'inflate returned 0 (0 bytes)'. M token.c commit 52296954feb0e728754f1e5e8dfc31ca118b75fd Author: Andrew Tridgell Date: Fri Jul 12 14:37:25 1996 +0000 add warning if corruption detected M rsync.c commit fe4d86e446a305293e22567943f932cfe82d0d53 Author: Andrew Tridgell Date: Fri Jul 12 14:36:03 1996 +0000 fix serious corruption bug M match.c M version.h commit a06d19e3fca289d07ba18c71f39124a0da1ddd4a Author: Andrew Tridgell Date: Fri Jul 5 04:49:32 1996 +0000 *** empty log message *** M flist.c M main.c M rsync.c commit 94a3ac55f6b6b2e6840546e2f5b72167380da7d5 Author: Andrew Tridgell Date: Thu Jul 4 13:56:53 1996 +0000 *** empty log message *** M match.c commit 1b01b295c960fd6b9fb0c3fdb961010c22b2c898 Author: Andrew Tridgell Date: Thu Jul 4 13:08:07 1996 +0000 added CHAR_OFFSET M checksum.c M match.c M rsync.h commit ebb0a6f61826aeaba0aeb1866df41dee8b7c7269 Author: Andrew Tridgell Date: Thu Jul 4 10:16:56 1996 +0000 *** empty log message *** M .cvsignore M checksum.c M match.c M rsync.c M rsync.h commit f94e821c782952437d7fe5a2ae1e0b1db8a4f4ab Author: Andrew Tridgell Date: Wed Jul 3 08:18:11 1996 +0000 *** empty log message *** M checksum.c commit 038406fdfef4945bfa18f760377cc45cd6221982 Author: Andrew Tridgell Date: Wed Jul 3 08:12:32 1996 +0000 *** empty log message *** M md4.c commit d89322c4467f4e393cdefb01cdb23f35b9394615 Author: Andrew Tridgell Date: Wed Jul 3 06:24:34 1996 +0000 - fixed file time bug - doc updates M README M flist.c M io.c M main.c M version.h commit 5be59dc5b269a84ea529b7f97652e48077286696 Author: Paul Mackerras Date: Wed Jul 3 05:28:55 1996 +0000 fix buglet in handling multiple files M token.c commit ef21f8dbffe6bad5c72add02f291a6e81b63ae60 Author: Andrew Tridgell Date: Wed Jul 3 05:22:09 1996 +0000 *** empty log message *** M lib/zlib.c M token.c commit 861c20b43d4d3b06ed3dbe0fd0195450e12e5274 Author: Paul Mackerras Date: Wed Jul 3 04:05:46 1996 +0000 Added in-stream deflate compression for file reconstruction instructions. M Makefile.in A lib/zlib.c A lib/zlib.h M main.c M rsync.c M token.c commit 1cdc8b50a2c3cd22857b86b88138fff287f5429c Author: Andrew Tridgell Date: Wed Jul 3 02:21:47 1996 +0000 check for null unmap M rsync.c commit b98c7b81d2ca9191394a2fb47c7822de031f59c0 Author: Andrew Tridgell Date: Tue Jul 2 06:02:36 1996 +0000 save some more bytes by making the checksum smaller M checksum.c M compat.c M main.c commit 73545f2ccb49d1bbada4240d1344041ecdc6c0ff Author: Andrew Tridgell Date: Tue Jul 2 03:22:08 1996 +0000 added seed to file sum M checksum.c commit 9e31c4824cabb1bf173f87cbd0abe93f25ea9598 Author: Andrew Tridgell Date: Tue Jul 2 03:19:58 1996 +0000 added resend logic added checksum on all files M checksum.c M io.c M match.c M rsync.c M rsync.h M token.c commit c6e7fcb42bc87660ece8d4dc9a1b10bd1fb7b0c5 Author: Andrew Tridgell Date: Mon Jul 1 23:27:19 1996 +0000 *** empty log message *** M README M checksum.c M main.c M match.c M rsync.c M rsync.h M token.c M util.c commit 70d794dce9ba8fbf978185ea36f2ad4198b269ee Author: Andrew Tridgell Date: Mon Jul 1 05:55:05 1996 +0000 added hooks for compression in token.c M .cvsignore M Makefile.in M main.c M match.c M rsync.c A token.c commit 57e877a16d9b714d2ec79852dec2a0f65a32953e Author: Andrew Tridgell Date: Sun Jun 30 05:02:45 1996 +0000 get byte order of checksum seed right M checksum.c commit d7b305fd9116056f4b5b9f96d9b4c51ed7d2ac60 Author: Andrew Tridgell Date: Sun Jun 30 04:42:04 1996 +0000 new header tests for sunos M configure.in M rsync.h commit 384ab60a95ff6dc3002bf7bc3ac71be6c675a852 Author: Andrew Tridgell Date: Sun Jun 30 04:30:43 1996 +0000 *** empty log message *** M version.h commit aae43eb38f8c49c8ac675f8269b06d11a72bd10e Author: Andrew Tridgell Date: Sun Jun 30 04:29:46 1996 +0000 added checksum seed M checksum.c M compat.c M main.c M rsync.h commit dc5ddbccace1f4f37d57ce5d961117effc28a356 Author: Andrew Tridgell Date: Sun Jun 30 03:57:22 1996 +0000 - hard links - better sparse handling - FERROR and FINFO M Makefile.in M README M compat.c M configure.in M exclude.c M flist.c A hlink.c M io.c M main.c M match.c M rsync.c M rsync.h M util.c commit d5ee1f8e7a370884aa9c5353de5129728ed9a37b Author: Andrew Tridgell Date: Fri Jun 28 15:24:39 1996 +0000 *** empty log message *** M .cvsignore M io.c M match.c M version.h commit 41ba6938a478beadb9f1baf4f330d15e07132f68 Author: Andrew Tridgell Date: Fri Jun 28 14:43:49 1996 +0000 *** empty log message *** M match.c commit 013cae266ac92327a04b1e5cea34d21d5b4fffd0 Author: Andrew Tridgell Date: Fri Jun 28 14:27:04 1996 +0000 *** empty log message *** M .cvsignore M version.h commit 6b83141d1e6b696bce041f49663cc5a7a5072d71 Author: Andrew Tridgell Date: Fri Jun 28 14:26:15 1996 +0000 fixed sighup handling M main.c commit 34ccb63e71367fb1f93530f60147ef6e4ac4e3e4 Author: Andrew Tridgell Date: Fri Jun 28 13:55:41 1996 +0000 new exit/cleanup code M checksum.c M exclude.c M flist.c M io.c M main.c M match.c M rsync.c M rsync.h M util.c commit 7bec6a5cd6cabe93163707b901482a6692ca78cf Author: Andrew Tridgell Date: Fri Jun 28 08:01:55 1996 +0000 - handle no mmap for munmap - handle sparse files - add MAX_PROTOCOL_VERSION M .cvsignore M io.c M main.c M rsync.c M rsync.h M util.c commit 7f28dbee65cef6e1990552c3eb3eb450ef9e98f2 Author: Paul Mackerras Date: Fri Jun 28 07:06:34 1996 +0000 standard input on server may be nonblocking M io.c commit 43a481dc5586a16af249fbae611b36442bed6a8c Author: Andrew Tridgell Date: Thu Jun 27 05:16:15 1996 +0000 added csum-length option M checksum.c M compat.c M flist.c M main.c M match.c M rsync.c commit 4fe159a81d1f0c39aaa7f05dbb33b36d231e7c80 Author: Andrew Tridgell Date: Thu Jun 27 04:22:19 1996 +0000 - improved filename packing - fixed sunos EAGAIN bug M .cvsignore M Makefile.in A compat.c M flist.c M io.c M main.c M rsync.c M rsync.h M version.h commit e260d7fb48763ca7e4bd19e1c97d993771ffcb53 Author: Paul Mackerras Date: Thu Jun 27 01:46:13 1996 +0000 Fix echo commands for Solaris systems. M configure.in commit 79fbb6f59bac50264ef0877d6eda6ef99f0515a3 Author: Paul Mackerras Date: Thu Jun 27 01:45:24 1996 +0000 Fix bug where the --delete option was deleting files locally which should have been ignored when the -C option was used. M rsync.c commit 019f93067e3115a2c898bffc1aafeef816b33693 Author: Andrew Tridgell Date: Wed Jun 26 16:02:34 1996 +0000 *** empty log message *** M version.h commit d9bea2ddd44fdcfbaf6f153f72d944603560036c Author: Andrew Tridgell Date: Wed Jun 26 15:57:54 1996 +0000 added support for non-mmap operation M match.c M rsync.c M rsync.h M util.c commit 9f3541e63277f0e4537ae7479d5ec9546a5e0bbf Author: Andrew Tridgell Date: Wed Jun 26 13:43:26 1996 +0000 *** empty log message *** M flist.c commit 182dca5c80c40c5abe429a6c5307be25cc4b4d90 Author: Andrew Tridgell Date: Wed Jun 26 13:37:05 1996 +0000 more byte efficient flist routines M flist.c M io.c M main.c M rsync.c M rsync.h commit 58d433ab3cbf7dd3010a0944dc579756dfd89ad7 Author: Andrew Tridgell Date: Wed Jun 26 03:21:27 1996 +0000 added SIGPIPE catch added select timeout M .cvsignore M io.c M main.c M rsync.h M version.h commit 720b47f2611d277684b2ec35d11dc3feedb207fe Author: Andrew Tridgell Date: Wed Jun 26 01:35:13 1996 +0000 went to full non-blocking writes for the send_files() process M .cvsignore M Makefile.in M exclude.c A io.c M match.c M rsync.c M rsync.h M util.c commit 6cd612740f29d483ecedbcd33ae7471e651dcda1 Author: Andrew Tridgell Date: Tue Jun 25 13:44:27 1996 +0000 *** empty log message *** M util.c commit c5b975c4dbee994e9d79195dfcac81fd0cc9dd24 Author: Andrew Tridgell Date: Tue Jun 25 13:39:04 1996 +0000 added comments rebuilt configure with autoconf M util.c commit 94481d9113220ded7ee6a76a96fa468c79680478 Author: Andrew Tridgell Date: Tue Jun 25 07:32:03 1996 +0000 added "created dir" message added read buffer M configure.in M main.c M match.c M rsync.c M rsync.h M util.c M version.h commit ed25806effa22b42397238dd88511ee8b62e0a61 Author: Andrew Tridgell Date: Tue Jun 25 04:16:20 1996 +0000 added stuff to ignore list M .cvsignore commit 84664c1029ffbaefeed5b3f169f51bf87acfeeca Author: Andrew Tridgell Date: Tue Jun 25 04:16:02 1996 +0000 paranoid check for null buffer in unmap M util.c commit 981791bd45b0a784be79661b45eba2a537cea2fe Author: Andrew Tridgell Date: Tue Jun 25 04:15:41 1996 +0000 fixed a bug where unmap could be called with a NULL buffer M rsync.c commit a7759258c51ae9ceff35c2ed4b6a4cc61abd462a Author: Andrew Tridgell Date: Sat Jun 22 05:33:40 1996 +0000 *** empty log message *** M version.h commit ac1eb754b84f74eaba1663a07f7ff068bd280ce6 Author: Andrew Tridgell Date: Sat Jun 22 05:31:55 1996 +0000 add SIGNAL_CAST don't create files till needed when receiving M main.c M rsync.c M rsync.h commit c627d61324e9dcd5df833ee6236dd10415f5bac4 Author: Andrew Tridgell Date: Sat Jun 22 05:04:20 1996 +0000 Initial revision A .cvsignore A .ignore A COPYING A Makefile.in A README A byteorder.h A checksum.c A configure.in A exclude.c A flist.c A install-sh A lib/.cvsignore A lib/fnmatch.c A lib/fnmatch.h A lib/getopt.c A lib/getopt.h A main.c A match.c A md4.c A md4.h A mkproto.awk A rsync.c A rsync.h A tech_report.tex A util.c A version.h