grep-commit
[Top][All Lists]
Advanced

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

grep branch, master, updated. v2.18-28-g0995fc1


From: Paul Eggert
Subject: grep branch, master, updated. v2.18-28-g0995fc1
Date: Sun, 23 Mar 2014 21:10:45 +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  0995fc11214ebbb1c99a4b6d675fe615b0ed8539 (commit)
      from  87acde8879f8edbaf95aa1a91147dc1cebffd4a5 (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=0995fc11214ebbb1c99a4b6d675fe615b0ed8539


commit 0995fc11214ebbb1c99a4b6d675fe615b0ed8539
Author: Paul Eggert <address@hidden>
Date:   Sun Mar 23 14:10:18 2014 -0700

    dfa: port to freestanding DJGPP (Bug#17056)
    
    * src/dfa.c (setlocale) [!LC_ALL]: Define a dummy.

diff --git a/src/dfa.c b/src/dfa.c
index 5e60cd5..92ac1b9 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -34,7 +34,11 @@
 #include <locale.h>
 #include <stdbool.h>
 
-/* Gawk doesn't use Gnulib, so don't assume static_assert is present.  */
+/* Gawk doesn't use Gnulib, so don't assume that setlocale and
+   static_assert are present.  */
+#ifndef LC_ALL
+# define setlocale(category, locale) NULL
+#endif
 #ifndef static_assert
 # define static_assert(cond, diagnostic) \
     extern int (*foo (void)) [!!sizeof (struct { int foo: (cond) ? 8 : -1; })]

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

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


hooks/post-receive
-- 
grep



reply via email to

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