grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.18-7-gd75266b


From: Jim Meyering
Subject: grep branch, master, updated. v2.18-7-gd75266b
Date: Fri, 28 Feb 2014 03:03:22 +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  d75266b4fd3dbfee88d81d3e87a2a9366c5d5cbb (commit)
      from  fd569557acc7f2e8ffadf4f6e8c89399f933aa68 (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=d75266b4fd3dbfee88d81d3e87a2a9366c5d5cbb


commit d75266b4fd3dbfee88d81d3e87a2a9366c5d5cbb
Author: Jim Meyering <address@hidden>
Date:   Thu Feb 27 19:01:59 2014 -0800

    maint: dfa: pass NULL, not 0, as 2nd arg to setlocale
    
    * src/dfa.c (using_simple_locale): Use NULL, not 0.

diff --git a/src/dfa.c b/src/dfa.c
index f4590da..4708895 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -801,7 +801,7 @@ using_simple_locale (void)
       static int unibyte_c = -1;
       if (unibyte_c < 0)
         {
-          char *locale = setlocale (LC_ALL, 0);
+          char *locale = setlocale (LC_ALL, NULL);
           unibyte_c = (locale && (STREQ (locale, "C")
                                   || STREQ (locale, "POSIX")));
         }

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

Summary of changes:
 src/dfa.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

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