From: Sergey Poznyakoff Date: Sat, 5 Feb 2005 22:00:29 +0000 (+0000) Subject: (EXTRACT_OVER_PIPE): New macro X-Git-Tag: alpha_1_15_90~341 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=6609c2a6070176d3a813c4b37f70e91a2c2a96a4;p=debian%2Ftar (EXTRACT_OVER_PIPE): New macro --- diff --git a/src/common.h b/src/common.h index 39ae6edf..d1815ed4 100644 --- a/src/common.h +++ b/src/common.h @@ -272,6 +272,9 @@ GLOBAL bool touch_option; GLOBAL char *to_command_option; GLOBAL bool ignore_command_error_option; +/* Return true if the extracted files are not being written to disk */ +#define EXTRACT_OVER_PIPE (to_stdout_option || to_command_option) + /* Count how many times the option has been set, multiple setting yields more verbose behavior. Value 0 means no verbosity, 1 means file name only, 2 means file name and all attributes. More than 2 is just like 2. */