gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. edf4bdbef22dc3


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. edf4bdbef22dc370a9c9b262160d40ca8d6834a1
Date: Sun, 09 Oct 2011 16:36:31 +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 "gawk".

The branch, gawk-4.0-stable has been updated
       via  edf4bdbef22dc370a9c9b262160d40ca8d6834a1 (commit)
       via  2fe0064b083bcc394c3334a301af4cf92247416f (commit)
      from  6735db9861e32576ece279f7e9e0ecaa314786a2 (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.sv.gnu.org/cgit/gawk.git/commit/?id=edf4bdbef22dc370a9c9b262160d40ca8d6834a1

commit edf4bdbef22dc370a9c9b262160d40ca8d6834a1
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Oct 9 18:36:16 2011 +0200

    New de.po file.

diff --git a/po/de.po b/po/de.po
index ccb97ec..733509c 100644
--- a/po/de.po
+++ b/po/de.po
@@ -9,7 +9,7 @@ msgstr ""
 "Project-Id-Version: gawk 4.0.0\n"
 "Report-Msgid-Bugs-To: address@hidden"
 "POT-Creation-Date: 2011-06-23 09:46+0300\n"
-"PO-Revision-Date: 2011-07-18 21:11+0200\n"
+"PO-Revision-Date: 2011-09-27 16:38+0200\n"
 "Last-Translator: Philipp Thomas <address@hidden>\n"
 "Language-Team: German <address@hidden>\n"
 "Language: de\n"
@@ -462,9 +462,8 @@ msgid "could not open `%s' for writing (%s)"
 msgstr "»%s« kann nicht zum Schreiben geöffne werden(%s)"
 
 #: awkgram.y:4084
-#, fuzzy
 msgid "sending variable list to standard error"
-msgstr "Das Profil wird auf der Standardfehlerausgabe ausgegeben"
+msgstr "Die Liste der Variablen wird auf der Standardfehlerausgabe ausgegeben"
 
 #: awkgram.y:4090
 #, c-format
@@ -1658,7 +1657,7 @@ msgstr "POSIX-Optionen\t\tlange GNU-Optionen: 
(standard)\n"
 
 #: main.c:743
 msgid "\t-f progfile\t\t--file=progfile\n"
-msgstr "\t-f PROGRAM\t\t--file=PROGRAMM\n"
+msgstr "\t-f PROGRAMM\t\t--file=PROGRAMM\n"
 
 #: main.c:744
 msgid "\t-F fs\t\t\t--field-separator=fs\n"
@@ -1685,7 +1684,6 @@ msgid "\t-C\t\t\t--copyright\n"
 msgstr "\t-C\t\t\t--copyright\n"
 
 #: main.c:750
-#, fuzzy
 msgid "\t-d[file]\t\t--dump-variables[=file]\n"
 msgstr "\t-d [Datei]\t\t--dump-variables[=Datei]\n"
 
@@ -1722,7 +1720,6 @@ msgid "\t-O\t\t\t--optimize\n"
 msgstr "\t-O\t\t\t--optimize\n"
 
 #: main.c:759
-#, fuzzy
 msgid "\t-p[file]\t\t--profile[=file]\n"
 msgstr "\t-p [Datei]\t\t--profile[=Datei]\n"
 
@@ -1871,14 +1868,15 @@ msgid "`%s' is not a variable name, looking for file 
`%s=%s'"
 msgstr "»%s« ist kein Variablenname, es wird nach der Datei »%s=%s« 
gesucht"
 
 #: main.c:1185
-#, fuzzy, c-format
+#, c-format
 msgid "cannot use gawk builtin `%s' as variable name"
-msgstr "Erweiterung: die eingebaute Funktion »%s« kann nicht als 
Funktionsname verwendet werden"
+msgstr "die eingebaute Funktion »%s« kann nicht als Variablenname verwendet 
werden"
 
+# c-format
 #: main.c:1190
-#, fuzzy, c-format
+#, c-format
 msgid "cannot use function `%s' as variable name"
-msgstr "Funktion »%s« kann nicht als Variable oder Feld verwendet werden"
+msgstr "Funktion »%s« kann nicht als Name einer Variablen verwendet werden"
 
 #: main.c:1243
 msgid "floating point exception"

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2fe0064b083bcc394c3334a301af4cf92247416f

commit 2fe0064b083bcc394c3334a301af4cf92247416f
Author: Arnold D. Robbins <address@hidden>
Date:   Sun Oct 9 17:43:26 2011 +0200

    Fix unsigned-ness issue in dfa.c.

diff --git a/ChangeLog b/ChangeLog
index f1a8a8b..40bda5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-09         Arnold D. Robbins     <address@hidden>
+
+       * dfa.c: Sync with GNU grep.
+
 2011-10-04         Arnold D. Robbins     <address@hidden>
 
        * awk.h, main.c (gawk_mb_cur_max): Make it a constant 1 when
diff --git a/dfa.c b/dfa.c
index 7b25757..aecbbd7 100644
--- a/dfa.c
+++ b/dfa.c
@@ -117,6 +117,11 @@ is_blank (int c)
 /* Sets of unsigned characters are stored as bit vectors in arrays of ints. */
 typedef int charclass[CHARCLASS_INTS];
 
+/* Convert a possibly-signed character to an unsigned character.  This is
+   a bit safer than casting to unsigned char, since it catches some type
+   errors that the cast doesn't.  */
+static inline unsigned char to_uchar (char ch) { return ch; }
+
 /* Sometimes characters can only be matched depending on the surrounding
    context.  Such context decisions depend on what the previous character
    was, and the value of the current (lookahead) character.  Context
@@ -716,7 +721,7 @@ static unsigned char const *buf_end;        /* reference to 
end in dfaexec().  */
           {                                    \
             cur_mb_len = 1;                    \
             --lexleft;                         \
-            (wc) = (c) = (unsigned char) *lexptr++; \
+            (wc) = (c) = to_uchar (*lexptr++);  \
           }                                    \
         else                                   \
           {                                    \
@@ -745,7 +750,7 @@ static unsigned char const *buf_end;        /* reference to 
end in dfaexec().  */
         else                         \
           return lasttok = END;              \
       }                                      \
-    (c) = (unsigned char) *lexptr++;  \
+    (c) = to_uchar (*lexptr++);       \
     --lexleft;                       \
   } while(0)
 

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

Summary of changes:
 ChangeLog |    4 ++++
 dfa.c     |    9 +++++++--
 po/de.po  |   18 ++++++++----------
 3 files changed, 19 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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