]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
More NEWS changes.
authorWayne Davison <wayne@opencoder.net>
Sat, 30 Oct 2021 22:58:01 +0000 (15:58 -0700)
committerWayne Davison <wayne@opencoder.net>
Sat, 30 Oct 2021 22:58:01 +0000 (15:58 -0700)
NEWS.md

diff --git a/NEWS.md b/NEWS.md
index cfcad9f413ab46f457c2256534f17648fe689934..b866e0007360980aab551592ca7c8a07e834fa09 100644 (file)
--- a/NEWS.md
+++ b/NEWS.md
@@ -4,6 +4,30 @@
 
 ## Changes in this version:
 
+### OUTPUT CHANGES:
+
+ - A long-standing bug was preventing rsync from figuring out the current
+   locale's decimal point character, which made rsync always output numbers
+   using the "C" locale.  Since this is now fixed in 3.2.4, a script that
+   parses rsync's decimal numbers (e.g. from the verbose footer) should be sure
+   to setup the environment in a way that the output continues to be in the C
+   locale.  For instance, one of the following should work fine:
+
+   ```shell
+       export LC_ALL=C.UTF-8
+   ```
+
+   or maybe:
+
+   ```shell
+       if [ "${LC_ALL:-}" ]; then
+           export LANG="$LC_ALL"
+           export LC_CTYPE="$LC_ALL"
+           unset LC_ALL
+       fi
+       export LC_NUMERIC=C.UTF-8
+   ```
+
 ### BUG FIXES:
 
  - Fixed a bug with `--inplace` + `--sparse` where the destination file could
@@ -49,7 +73,7 @@
  - Added the `--fsync` option (promoted from the patches repo).
 
  - Reduced memory usage for an incremental transfer that has a bunch of small
-   diretories.
+   directories.
 
  - The rsync daemon can now handle a client address with an implied "%scope"
    suffix.
 
  - Improved the IPv6 determination in configure.
 
- - Made SIMD & ASM configure default to "no" on non-linux hosts due to various
+ - Made SIMD & ASM configure default to "no" on non-Linux hosts due to various
    reports of problems on NetBSD & macOS hosts.  These tests were also tweaked
    to support a host_cpu of amd64 in addition to x86_64.
 
    `hosts deny` daemon parameters.  This is a finalized version of the
    netgroup-auth patch from the patches repo.
 
- - Rsync can now hard-link symlinks on FreeBSD due to it making ues of the
+ - Rsync can now hard-link symlinks on FreeBSD due to it making use of the
    linkat() function when it is available.
 
  - Output file+line info on out-of-memory & overflow errors while also avoiding
  - Fixed a bug in the iconv code when EINVAL or EILSEQ is returned with a full
    output buffer.
 
- - Fixed some rare bugs in `--iconv` processing that might cause a multibyte
+ - Fixed some rare bugs in `--iconv` processing that might cause a multi-byte
    character to get translated incorrectly.
 
  - Fixed a bogus `vanished file` error if some files were specified with `./`
    option, below.
 
  - The way rsync escapes unreadable characters has changed. First, rsync now
-   has support for recognizing valid multibyte character sequences in your
+   has support for recognizing valid multi-byte character sequences in your
    current locale, allowing it to escape fewer characters than before for a
    locale such as UTF-8. Second, it now uses an escape idiom of `\#123`, which
    is the literal string `\#` followed by exactly 3 octal digits. Rsync no