- Fixed last patch.

This commit is contained in:
Tim Waugh 2004-11-16 16:49:04 +00:00
parent 2c381ea950
commit 8c440df2d2
2 changed files with 9 additions and 6 deletions

View File

@ -1,10 +1,10 @@
--- grep-2.5.1/src/grep.c.color 2004-11-16 13:23:56.679753084 +0000 --- grep-2.5.1/src/grep.c.color 2004-11-16 16:46:22.845505847 +0000
+++ grep-2.5.1/src/grep.c 2004-11-16 13:23:52.400568021 +0000 +++ grep-2.5.1/src/grep.c 2004-11-16 16:46:27.961530537 +0000
@@ -608,6 +608,7 @@ @@ -607,6 +607,7 @@
fputs ("\33[00m", stdout);
beg = b + match_size; beg = b + match_size;
} }
}
+ fputs ("\33[K", stdout); + fputs ("\33[K", stdout);
}
fwrite (beg, 1, lim - beg, stdout); fwrite (beg, 1, lim - beg, stdout);
if (ferror (stdout)) if (ferror (stdout))
error (0, errno, _("writing output"));

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of grep pattern matching utilities. Summary: The GNU versions of grep pattern matching utilities.
Name: grep Name: grep
Version: 2.5.1 Version: 2.5.1
Release: 38 Release: 39
License: GPL License: GPL
Group: Applications/Text Group: Applications/Text
Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.bz2 Source: ftp://ftp.gnu.org/pub/gnu/grep/grep-%{version}.tar.bz2
@ -85,6 +85,9 @@ fi
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-39
- Fixed last patch.
* Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-38 * Tue Nov 16 2004 Tim Waugh <twaugh@redhat.com> 2.5.1-38
- Applied patch from Karsten Hopp to fix background colour problems with - Applied patch from Karsten Hopp to fix background colour problems with
--color output (bug #138913). --color output (bug #138913).