[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep branch, master, updated. v2.25-64-g88df28d
From: |
Jim Meyering |
Subject: |
grep branch, master, updated. v2.25-64-g88df28d |
Date: |
Thu, 1 Sep 2016 04:13:09 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".
The branch, master has been updated
via 88df28da657a57e037a0381bcc1e5fa0c0ba72b7 (commit)
via 75212cb0127af01e8c389ebf87a33689e8ce772e (commit)
from 368d38f6c4118cfb7db1fd6500c45db1f53c0216 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=88df28da657a57e037a0381bcc1e5fa0c0ba72b7
commit 88df28da657a57e037a0381bcc1e5fa0c0ba72b7
Author: Jim Meyering <address@hidden>
Date: Wed Aug 31 21:12:57 2016 -0700
maint: avoid new 'make syntax-check' failure
* src/dfa.c (using_simple_locale): Prefer STREQ(a,b) over
strcmp(a,b) == 0.
diff --git a/src/dfa.c b/src/dfa.c
index bf8c546..cc96740 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -820,7 +820,7 @@ using_simple_locale (bool multibyte)
/* Treat C and POSIX locales as being compatible. Also, treat
errors as compatible, as these are invariably from stubs. */
char const *loc = setlocale (LC_ALL, NULL);
- return !loc || strcmp (loc, "C") == 0 || strcmp (loc, "POSIX") == 0;
+ return !loc || STREQ (loc, "C") || STREQ (loc, "POSIX");
}
}
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=75212cb0127af01e8c389ebf87a33689e8ce772e
commit 88df28da657a57e037a0381bcc1e5fa0c0ba72b7
Author: Jim Meyering <address@hidden>
Date: Wed Aug 31 21:12:57 2016 -0700
maint: avoid new 'make syntax-check' failure
* src/dfa.c (using_simple_locale): Prefer STREQ(a,b) over
strcmp(a,b) == 0.
diff --git a/src/dfa.c b/src/dfa.c
index bf8c546..cc96740 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -820,7 +820,7 @@ using_simple_locale (bool multibyte)
/* Treat C and POSIX locales as being compatible. Also, treat
errors as compatible, as these are invariably from stubs. */
char const *loc = setlocale (LC_ALL, NULL);
- return !loc || strcmp (loc, "C") == 0 || strcmp (loc, "POSIX") == 0;
+ return !loc || STREQ (loc, "C") || STREQ (loc, "POSIX");
}
}
-----------------------------------------------------------------------
Summary of changes:
gnulib | 2 +-
src/dfa.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
grep
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- grep branch, master, updated. v2.25-64-g88df28d,
Jim Meyering <=