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