Merge pull request #461 from philsmd/master

skip periodic status updates in stdin+stdout mode to prevent output pollution
This commit is contained in:
Jens Steube
2016-08-18 12:31:33 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@
- Slightly increased NVidias rule-processing performance by using generic instructions instead of byte_perm()
- Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU
- Add support for --outfile (short -o) to be used together with --stdout
- Skip periodic status output whenever --stdout is used together with stdin mode, but no outfile was specified
##
## Bugs
+4 -1
View File
@@ -7898,7 +7898,10 @@ int main (int argc, char **argv)
if (wordlist_mode == WL_MODE_STDIN)
{
status = 1;
// enable status (in stdin mode) whenever we do not use --stdout together with an outfile
if (stdout_flag == 0) status = 1;
else if (outfile != NULL) status = 1;
data.status = status;
}