[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/src/grep.c,v
From: |
Tony Abou-Assaleh |
Subject: |
Changes to grep/src/grep.c,v |
Date: |
Sun, 25 Jan 2009 02:07:38 +0000 |
CVSROOT: /sources/grep
Module name: grep
Changes by: Tony Abou-Assaleh <taa> 09/01/25 02:07:37
Index: src/grep.c
===================================================================
RCS file: /sources/grep/grep/src/grep.c,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -b -r1.128 -r1.129
--- src/grep.c 21 Jan 2009 03:16:13 -0000 1.128
+++ src/grep.c 25 Jan 2009 02:07:37 -0000 1.129
@@ -1707,6 +1707,7 @@
break;
/* If name unknown, go on for forward compatibility. */
if (cap->name)
+ {
if (cap->var)
{
if (val)
@@ -1719,6 +1720,7 @@
error(0, 0, _("In GREP_COLORS=\"%s\", the \"%s\" capacity "
"is boolean and cannot take a value (\"=%s\"); "
"skipped."), p, name, val);
+ }
if (cap->fct)
{
const char *err_str = cap->fct();