Add extensions to the default no-compress list.
authorWayne Davison <wayne@opencoder.net>
Mon, 27 Apr 2020 00:05:02 +0000 (17:05 -0700)
committerWayne Davison <wayne@opencoder.net>
Mon, 27 Apr 2020 00:07:58 +0000 (17:07 -0700)
Fixes bug #13749.

loadparm.c
rsync.yo
t_unsafe.c

index 8117fb356849c471eff325b8bf11b27a72e168f0..bd8a52084dab06f0cd77c77f5970172805263435 100644 (file)
@@ -54,7 +54,8 @@ extern item_list dparam_list;
 
 #define DEFAULT_DONT_COMPRESS "*.gz *.zip *.z *.rpm *.deb *.iso *.bz2" \
        " *.t[gb]z *.7z *.mp[34] *.mov *.avi *.ogg *.jpg *.jpeg *.png" \
-       " *.lzo *.rzip *.lzma *.rar *.ace *.gpg *.xz *.txz *.lz *.tlz"
+       " *.lzo *.rzip *.lzma *.rar *.ace *.gpg *.xz *.txz *.lz *.tlz" \
+       " *.ogv *.web[mp] *.squashfs"
 
 /* the following are used by loadparm for option lists */
 typedef enum {
index 0eecaaf636378f1593ac855de7615012029fe1ac..59d842650949a20b974a57b31a0e9b973a7f69b1 100644 (file)
--- a/rsync.yo
+++ b/rsync.yo
@@ -2094,14 +2094,18 @@ bf(mov)
 bf(mp3)
 bf(mp4)
 bf(ogg)
+bf(ogv)
 bf(png)
 bf(rar)
 bf(rpm)
 bf(rzip)
+bf(squashfs)
 bf(tbz)
 bf(tgz)
 bf(tlz)
 bf(txz)
+bf(webm)
+bf(webp)
 bf(xz)
 bf(z)
 bf(zip)
index 0071bf6047ffd44d314daaa0940ed6fca4d2e3d0..3f41ddb4f709b64e0983597e205cff653630ca8d 100644 (file)
@@ -2,7 +2,7 @@
  * Test harness for unsafe_symlink().  Not linked into rsync itself.
  *
  * Copyright (C) 2002 Martin Pool
- * Copyright (C) 2003-2019 Wayne Davison
+ * Copyright (C) 2003-2020 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by