Displaying 1 result from an estimated 1 matches for "add_suffix".
2020 Mar 20
2
[Bug 14323] New: Defaults for --skip-compress are not working, everything is being compressed
...?Z?
As you can see the file was compressed on the fly with 3.1.3, which is wrong.
I'm wondering if the following change is the culprit here:
--- rsync-3.0.6/token.c 2009-01-17 22:41:35.000000000 +0100
+++ rsync-3.1.3/token.c 2018-01-15 04:55:07.000000000 +0100
@@ -45,12 +46,12 @@ static void add_suffix(struct suffix_tre
if (ltr == '[') {
const char *after = strchr(str, ']');
- /* Just skip bogus character classes. */
- if (!after++)
+ /* Treat "[foo" and "[]" as having a literal '['. */...