grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.18-10-gcf1c98c


From: Paul Eggert
Subject: grep branch, master, updated. v2.18-10-gcf1c98c
Date: Sat, 01 Mar 2014 06:32:23 +0000

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  cf1c98cca8844f851596dc03a9c4d6eebcf44bf2 (commit)
      from  86f6837e25adf44eeb362e02886854211bb61189 (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=cf1c98cca8844f851596dc03a9c4d6eebcf44bf2


commit cf1c98cca8844f851596dc03a9c4d6eebcf44bf2
Author: Paul Eggert <address@hidden>
Date:   Fri Feb 28 22:31:37 2014 -0800

    grep: remove lint
    
    * src/main.c (MBRTOWC, WCRTOMB): Remove no-longer-used macros.

diff --git a/src/main.c b/src/main.c
index cf59e0e..b07bde8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1867,16 +1867,6 @@ parse_grep_colors (void)
       return;
 }
 
-#define MBRTOWC(pwc, s, n, ps) \
-  (MB_CUR_MAX == 1 ? \
-   (*(pwc) = btowc (*(unsigned char *) (s)), 1) : \
-   mbrtowc ((pwc), (s), (n), (ps)))
-
-#define WCRTOMB(s, wc, ps) \
-  (MB_CUR_MAX == 1 ? \
-   (*(s) = wctob ((wint_t) (wc)), 1) : \
-   wcrtomb ((s), (wc), (ps)))
-
 int
 main (int argc, char **argv)
 {

-----------------------------------------------------------------------

Summary of changes:
 src/main.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]