From b5e539fc5aa52b94608dbb976981930c03213a78 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 18 Jun 2020 10:49:34 -0700 Subject: Use documentation to extract 2 more .h lists - Change default_cvsignore char[] into a define. - Make the DEFAULT_DONT_COMPRESS and DEFAULT_CVSIGNORE defines get set based on their info in rsync.1.md. - Add a few more don't-compress suffixes from Simon Matter. --- loadparm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'loadparm.c') diff --git a/loadparm.c b/loadparm.c index 58c898e8..dfc0b077 100644 --- a/loadparm.c +++ b/loadparm.c @@ -42,6 +42,7 @@ #include "rsync.h" #include "itypes.h" +#include "default-dont-compress.h" extern item_list dparam_list; @@ -52,11 +53,6 @@ extern item_list dparam_list; #define LOG_DAEMON 0 #endif -#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" \ - " *.ogv *.web[mp] *.squashfs" - /* the following are used by loadparm for option lists */ typedef enum { P_BOOL, P_BOOLREV, P_CHAR, P_INTEGER, -- cgit v1.2.1