From 079e089020c34e098cacd7e1d1e67632c7aef5bd Mon Sep 17 00:00:00 2001 From: dotdotisdead Date: Thu, 28 Sep 2006 04:24:50 +0000 Subject: Add XDELTA1PATH external compression option. --- xdelta3/xdelta3-main.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xdelta3/xdelta3-main.h') diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 19782df..e27aa45 100755 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h @@ -79,6 +79,10 @@ #define PRINTHDR_SPECIAL -4378291 +#ifndef XDELTA1PATH +#define XDELTA1PATH "xdelta1" +#endif + /* The number of soft-config variables. */ #define XD3_SOFTCFG_VARCNT 1 @@ -275,6 +279,7 @@ static main_extcomp extcomp_types[] = { /* The entry for xdelta must be first because the program_name is set here. */ { "xdelta3", "-cfq", "xdelta3", "-dcfq", "X", "\xd6\xc3\xc4", 3, RD_NONEXTERNAL }, + { XDELTA1PATH,"delta", XDELTA1PATH, "patch", "1", "%XD", 3, 0 }, { "bzip2", "-cf", "bzip2", "-dcf", "B", "BZh", 3, 0 }, { "gzip", "-cf", "gzip", "-dcf", "G", "\037\213", 2, 0 }, { "compress", "-cf", "uncompress", "-cf", "Z", "\037\235", 2, 0 }, -- cgit v1.2.3