Commit | Line | Data |
---|---|---|
03a9ca0a WD |
1 | NEWS for rsync 2.6.3 (UNRELEASED) |
2 | Protocol: 28 (unchanged) | |
3 | Changes since 2.6.2: | |
4 | ||
5 | BUG FIXES: | |
6 | ||
831f05df WD |
7 | - Fixed a crash bug that might appear when --delete was used and |
8 | multiple source directories were specified. | |
03a9ca0a | 9 | |
c7b1a56b WD |
10 | - Fixed the 32-bit truncation of the file length when generating the |
11 | checksums. | |
12 | ||
03a9ca0a WD |
13 | - The --backup code no longer attempts to create some directories |
14 | over and over again (generating warnings along the way). | |
15 | ||
cbd85b47 WD |
16 | - Fixed a bug in the reading of the secrets file (by the daemon) and |
17 | the password file (by the client): the files no longer need to be | |
18 | terminated by a newline for their content to be read in. | |
03a9ca0a WD |
19 | |
20 | - If a file has a read error on the sending side, the receiver will | |
21 | no longer keep the resulting file unless the --partial option was | |
0058c58e WD |
22 | specified. (Note: both sides must be running 2.6.3 for this to |
23 | work -- older receivers always keep the file, and older senders | |
24 | don't tell the receiver that the file was not read correctly.) | |
03a9ca0a | 25 | |
c54f5170 WD |
26 | - If a file gets resent in a single transfer and the --backup option |
27 | is enabled, rsync no longer performs a duplicate backup (losing the | |
28 | original file in the process). | |
29 | ||
03a9ca0a WD |
30 | - Fixed an age-old crash problem with --read-batch on a local copy |
31 | (rsync was improperly assuming --whole-file for the local copy). | |
32 | ||
cbd85b47 | 33 | - Files specified in the daemon's "exclude" or "exclude from" config |
bd1574b2 WD |
34 | items are now excluded from being uploaded (assuming that the module |
35 | allows uploading at all) in addition to the old download exclusion. | |
cbd85b47 | 36 | |
40e8d11e WD |
37 | - Got rid of a potential hang in the receiver when near the end of a |
38 | phase. | |
39 | ||
b03bded7 WD |
40 | - When using --backup without a --backup-dir, rsync no longer preserves |
41 | the modify time on directories. This avoids confusing NFS. | |
42 | ||
40e8d11e WD |
43 | - When --copy-links (-L) is specified, we now output a separate error |
44 | for a symlink that has no referent instead of claiming that a file | |
45 | "vanished". | |
46 | ||
2c2898a3 WD |
47 | - Error messages from the daemon server's option-parsing (such as |
48 | refused options) now get sent back to the client (the server used | |
eae4e1f9 WD |
49 | to just exit because the socket wasn't in the right state to send |
50 | the message). | |
2c2898a3 | 51 | |
c54f5170 WD |
52 | - Most errors that occur during a daemon transfer are now returned to |
53 | the user in addition to being logged (some messages are intended to | |
54 | be daemon-only). | |
55 | ||
b03bded7 WD |
56 | - Fixed a bug in the daemon authentication code when using one of the |
57 | batch-processing options. | |
58 | ||
40564811 WD |
59 | - We try to work around some buggy IPv6 implementations that fail to |
60 | implement IPV6_V6ONLY. This should fix the "address in use" error | |
61 | that some daemons get when running on an OS with a buggy IPv6 | |
62 | implementation. Also, if the new code gets this error, we might | |
63 | suggest that the user specify --ipv4 or --ipv6 (if we think it will | |
64 | help). | |
65 | ||
03a9ca0a WD |
66 | ENHANCEMENTS: |
67 | ||
40e8d11e | 68 | - Added --keep-dirlinks (-K), which allows you to symlink a directory |
40564811 | 69 | onto another partition on the receiving side and have rsync treat it |
4e1f3857 WD |
70 | as matching a normal directory from the sender. |
71 | ||
61fb21ad WD |
72 | - Added the --inplace option that tells rsync to write each destination |
73 | file without using a temporary file. The matching of existing data | |
74 | in the destination file can be severely limited by this, but there | |
75 | are cases where this is more efficient, such as appending data. | |
76 | ||
cbd85b47 WD |
77 | - Added the "write only" option to the daemon's config file. |
78 | ||
03a9ca0a | 79 | - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6) |
831f05df | 80 | and documented all these options in the man page. |
03a9ca0a | 81 | |
ef0bc0ab WD |
82 | - Improved the handling of the --bwlimit option so that it's less |
83 | bursty, more accurate, and works properly over a larger range of | |
84 | values. | |
85 | ||
5b36173d WD |
86 | - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and |
87 | SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address. | |
88 | ||
bd1574b2 WD |
89 | - Added the --checksum-seed=N option for advanced users. |
90 | ||
bb3edc3b WD |
91 | - Batch writing/reading has a brand-new implementation that is simpler, |
92 | fixes a few weird problems with the old code (such as no longer | |
93 | sprinkling the batch files into different dirs or even onto different | |
94 | systems), and is much less intrusive into the code (making it easier | |
95 | to maintain for the future). The new code generates just one data | |
96 | file instead of three, which makes it possible to read the batch via | |
97 | stdin. Also, the old requirement of using the same fixed checksum- | |
61fb21ad | 98 | seed for all batch processing has been removed. |
0fac7fe8 | 99 | |
03a9ca0a WD |
100 | INTERNAL: |
101 | ||
0058c58e WD |
102 | - Some cleanup in the exclude code has saved some per-exclude memory |
103 | and made the code easier to maintain. | |
03a9ca0a | 104 | |
78112d30 WD |
105 | - Improved the argv-overflow checking for a remote command that has |
106 | a lot of args. | |
107 | ||
03a9ca0a WD |
108 | - Use rsyserr() in the various places that were still calling |
109 | rprintf() with strerror() as an arg. | |
110 | ||
c54f5170 WD |
111 | - If an rsync daemon is listening on multiple sockets (to handle both |
112 | IPv4 and IPv6 to a single port), we now close all the unneeded file | |
40564811 | 113 | handles after we accept a connection (we used to close just one of |
c54f5170 WD |
114 | them). |
115 | ||
c7b1a56b WD |
116 | - Optimized away a loop in hash_search(). |
117 | ||
03a9ca0a WD |
118 | BUILD CHANGES: |
119 | ||
bd1574b2 WD |
120 | - Added a "gen" target to rebuild most of the generated files, |
121 | including configure, config.h.in, the man pages, and proto.h. | |
03a9ca0a | 122 | |
bd1574b2 | 123 | - If "make proto" doesn't find some changes in the prototypes, the |
40564811 | 124 | proto.h file is left untouched (its time-stamp used to always be |
40e8d11e | 125 | updated). |
03a9ca0a | 126 | |
c54f5170 WD |
127 | - The variable $STRIP (that is optionally set by the install-strip |
128 | target's rule) was changed to $INSTALL_STRIP because some systems | |
129 | have $STRIP set in the environment. | |
130 | ||
c7b1a56b WD |
131 | - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined. |
132 | ||
03a9ca0a WD |
133 | DEVELOPER RELATED: |
134 | ||
135 | - The scripts in the testsuite dir were cleaned up a bit. | |
136 | ||
eae4e1f9 | 137 | - Some new diffs were added to the patches dir, and some accepted |
40e8d11e | 138 | ones were removed. |
17f59e81 | 139 |