Add extensions to the default no-compress list.

Fixes bug #13749.
This commit is contained in:
Wayne Davison
2020-04-26 17:05:02 -07:00
parent 035a13f7e4
commit ea3337a210
3 changed files with 7 additions and 2 deletions

View 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 {

View File

@@ -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)

View 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