Allow function return values to start with "const".
[rsync/rsync.git] / NEWS
1 NEWS for rsync 2.6.0 (1 Jan 2004)
2 Protocol: 27 (changed)
3 Changes since 2.5.7:
4
5   ENHANCEMENTS:
6
7     * "ssh" is now the default remote shell for rsync.  If you want to
8       change this, configure like this:  "./configure --with-rsh=rsh".
9
10     * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
11       Note that --from0 affects the line-ending character for all the
12       files read by the --*-from options. (Wayne Davison)
13
14     * Length of csum2 is now per-file starting with protocol version
15       27. (J.W. Schultz)
16
17     * Per-file dynamic block size is now sqrt(file length).  The
18       per-file checksum size is determined according to an algorithm
19       provided by Donovan Baarda which reduces the probability of rsync
20       algorithm corrupting data and falling back using the whole md4
21       checksums. (J.W. Schultz, Donovan Baarda)
22
23     * The --stats option no longer includes the (debug) malloc summary
24       unless the verbose option was specified at least twice.
25
26     * Added a new error/warning code for when files vanish from the
27       sending side.  Made vanished source files not interfere with the
28       file-deletion pass when --delete-after was specified.
29
30     * Various trailing-info sections are now preceded by a newline.
31
32   BUG FIXES:
33
34     * Fixed several exclude/include matching bugs when using wild-cards.
35       This has a several user-visible effects, all of which make the
36       matching more consistent and intuitive.  This should hopefully not
37       cause anyone problems since it makes the matching work more like
38       what people are expecting. (Wayne Davison)
39
40       - A pattern with a "**" no longer causes a "*" to match slashes.
41         For example, with "/*/foo/**", "foo" must be 2 levels deep.
42
43       - "**/foo" now matches at the base of the transfer (i.e. /foo).
44
45       - An non-anchored wildcard term floats to match beyond the base of
46         the transfer.  E.g. "CVS/R*" matches at the end of the path,
47         just like the non-wildcard term "CVS/Root" does.
48
49       - Including a "**" in the match term causes it to be matched
50         against the entire path, not just the name portion, even if
51         there aren't any interior slashes in the term.  E.g. "foo**bar"
52         would exclude "/path/foo-bar" (just like before) as well as
53         "/foo-path/baz-bar" (unlike before).
54
55     * The exclude list specified in the daemon's config file is now
56       properly applied to the pulled items no matter how deep the
57       user's file-args are in the source tree.  (Wayne Davison)
58
59     * For protocol version >= 27, mdfour_tail() is called when the
60       block size (including checksum_seed) is a multiple of 64.
61       Previously it was not called, giving the wrong MD4 checksum.
62       (Craig Barratt)
63
64     * For protocol version >= 27, a 64 bit bit counter is used in
65       mdfour.c as required by the RFC.  Previously only a 32 bit bit
66       counter was used, causing incorrect MD4 file checksums for
67       file sizes >= 512MB - 4.  (Craig Barratt)
68
69     * Fixed a crash bug when interacting with older rsync versions and
70       multiple files of the same name are destined for the same dir.
71       (Wayne Davison)
72
73     * Keep tmp names from overflowing MAXPATHLEN.
74
75     * Make --link-dest honor the absence of -p, -o, and -g.
76
77     * Made rsync treat a trailing slash in the destination in a more
78       consistent manner.
79
80     * Fixed file I/O error detection.  (John Van Essen)
81
82     * Fixed bogus "malformed address {hostname}" message in rsyncd log
83       when checking IP address against hostnames from "hosts allow"
84       and "hosts deny" parameters in config file.
85
86     * Print heap statistics when verbose >= 2 instead of when >= 1.
87
88     * Fixed a compression (-z) bug when syncing a mostly-matching file
89       that contains already-compressed data.  (Yasuoka Masahiko and
90       Wayne Davison)
91
92     * Fixed a bug in the --backup code that could cause deleted files
93       to not get backed up.
94
95     * When the backup code makes new directories, create them with mode
96       0700 instead of 0755 (since the directory permissions in the
97       backup tree are not yet copied from the main tree).
98
99     * Call setgroups() in a more portable manner.
100
101     * Improved file-related error messages to better indicate exactly
102       what pathname failed. (Wayne Davison)
103
104     * Fixed some bugs in the handling of --delete and --exclude when
105       using the --relative (-R) option. (Wayne Davison)
106
107     * Fixed bug that prevented regular files from replacing
108       special files and caused a directory in --link-dest or
109       --compare-dest to block the creation of a file with the
110       same path.  A directory still cannot be replaced by a
111       regular file unless --delete specified.  (J.W. Schultz)
112
113     * Detect and report when open or opendir succeed but read and
114       readdir fail caused by network filesystems issues and truncated
115       files.  (David Norwood, Michael Brown, J.W. Schultz)
116
117     * Added a fix that should give ssh time to restore the tty settings
118       if the user presses Ctrl-C at an ssh password prompt.
119
120   INTERNAL:
121
122     * Eliminated vestigial support for old versions that we stopped
123       supporting. (J.W. Schultz)
124
125     * Simplified some of the option-parsing code. (Wayne Davison)
126
127     * Some cleanup made to the exclude code, as well as some new
128       defines added to enhance readability. (Wayne Davison)
129
130     * Changed the protocol-version code so that it can interact at a
131       lower protocol level than the maximum supported by both sides.
132       Added an undocumented option, --protocol=N, to force the value
133       we advertise to the other side (primarily for testing purposes).
134       (Wayne Davison)