[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/src/grep.c
From: |
Julian Foad |
Subject: |
Changes to grep/src/grep.c |
Date: |
Tue, 12 Apr 2005 13:43:55 -0400 |
Index: grep/src/grep.c
diff -u grep/src/grep.c:1.95 grep/src/grep.c:1.96
--- grep/src/grep.c:1.95 Tue Apr 12 14:14:48 2005
+++ grep/src/grep.c Tue Apr 12 17:43:54 2005
@@ -649,7 +649,7 @@
size_t match_size;
--pending;
if (outleft
- || (((*execute) (lastout, nl - lastout, &match_size, 0) == (size_t)
-1)
+ || (((*execute) (lastout, nl + 1 - lastout, &match_size, 0) ==
(size_t) -1)
== !out_invert))
prline (lastout, nl + 1, '-');
else