From: Wayne Davison Date: Mon, 27 Apr 2020 00:05:02 +0000 (-0700) Subject: Add extensions to the default no-compress list. X-Git-Tag: v3.2.0pre1~155 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea3337a2107743fa22347ae075bbe3fafe297b69;p=thirdparty%2Frsync.git Add extensions to the default no-compress list. Fixes bug #13749. --- diff --git a/loadparm.c b/loadparm.c index 8117fb35..bd8a5208 100644 --- a/loadparm.c +++ b/loadparm.c @@ -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 { diff --git a/rsync.yo b/rsync.yo index 0eecaaf6..59d84265 100644 --- 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) diff --git a/t_unsafe.c b/t_unsafe.c index 0071bf60..3f41ddb4 100644 --- a/t_unsafe.c +++ b/t_unsafe.c @@ -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