summaryrefslogtreecommitdiffstats
path: root/zgrep.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-01-27 16:15:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-01-27 16:16:23 +0000
commit9fc73afc00c20648a602f45dc1df4843a9008f9b (patch)
tree2c070102903504b15e16613ae2fb5debb0740a78 /zgrep.cc
parentReleasing debian version 1.9-1. (diff)
downloadzutils-9fc73afc00c20648a602f45dc1df4843a9008f9b.tar.xz
zutils-9fc73afc00c20648a602f45dc1df4843a9008f9b.zip
Merging upstream version 1.10.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'zgrep.cc')
-rw-r--r--zgrep.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zgrep.cc b/zgrep.cc
index 01c6b07..1454e77 100644
--- a/zgrep.cc
+++ b/zgrep.cc
@@ -1,5 +1,5 @@
/* Zgrep - search compressed files for a regular expression
- Copyright (C) 2010-2020 Antonio Diaz Diaz.
+ Copyright (C) 2010-2021 Antonio Diaz Diaz.
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
@@ -195,7 +195,7 @@ int zgrep_file( int infd, const int format_index,
{ std::fflush( stdout ); show_error( "Write error", errno ); return 2; }
std::fflush( stdout );
}
- if( size < buffer_size ) break;
+ if( size < buffer_size ) break; // end of grep's output
}
int retval = wait_for_child( grep_pid, GREP );