[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-grep] dfa.c change -- remove ENABLE_NLS
From: |
Stepan Kasal |
Subject: |
[bug-grep] dfa.c change -- remove ENABLE_NLS |
Date: |
Thu, 13 Jan 2005 14:37:27 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
I've recieved the patch cited below and immediately commited it.
--disable-nls should only switch off translated messages, not the whole
locale support. So ENABLE_NLS has nothing to do here.
Have a nice day,
Stepan Kasal
----- Forwarded message from Aharon Robbins <address@hidden> -----
Date: Thu, 13 Jan 2005 14:41:48 +0200
To: address@hidden
Subject: dfa.c change
I have just made the change below. In discussion with some other people,
I've come to agree that --disable-nls should only disable gawk using
translations, but it should still work with the locale's data. This
change is thus necessary for that to work correctly.
Arnold
diff -ur gawk-3.1.5/dfa.c gawk-x/dfa.c
--- gawk-3.1.5/dfa.c 2004-12-17 14:56:15.000000000 +0200
+++ gawk-x/dfa.c 2005-01-12 17:59:07.000000000 +0200
@@ -1467,7 +1467,7 @@
lasttok = END;
laststart = 1;
parens = 0;
-#if ENABLE_NLS
+#ifdef LC_COLLATE
hard_LC_COLLATE = hard_locale (LC_COLLATE);
#endif
#ifdef MBS_SUPPORT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug-grep] dfa.c change -- remove ENABLE_NLS,
Stepan Kasal <=