[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestandi
From: |
Paolo Bonzini |
Subject: |
bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP" |
Date: |
Tue, 1 Apr 2014 11:18:42 +0200 |
This partially reverts the following commits:
- df6da5d40a47abbc6e3451cb9fab7a8c9ede12cc.
- c40e7f7158109985b901ae67e5faa06160547471.
- 0995fc11214ebbb1c99a4b6d675fe615b0ed8539.
As far as grep is concerned, the #define *does* belong in gnulib. gawk
can apply the fix in a common header file like grep's src/system.h.
---
src/dfa.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/dfa.c b/src/dfa.c
index b22fe97..a7f0056 100644
--- a/src/dfa.c
+++ b/src/dfa.c
@@ -34,11 +34,7 @@
#include <locale.h>
#include <stdbool.h>
-/* 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
+/* Gawk doesn't use Gnulib, so don't assume static_assert is present. */
#ifndef static_assert
# define static_assert(cond, diagnostic) \
extern int (*foo (void)) [!!sizeof (struct { int foo: (cond) ? 8 : -1; })]
--
1.9.0
- bug#17156: [PATCH 0/5] Patches to apply, Paolo Bonzini, 2014/04/01
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP",
Paolo Bonzini <=
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", arnold, 2014/04/01
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", Paul Eggert, 2014/04/01
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", Paolo Bonzini, 2014/04/01
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", arnold, 2014/04/01
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", Paolo Bonzini, 2014/04/02
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", arnold, 2014/04/02
- bug#17157: [PATCH 1/5] Partially revert "dfa: improve port to freestanding DJGPP", Paolo Bonzini, 2014/04/02