Fix compilation on non-GCC compilers, update po files

2006-05-15  Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de>

	* sed/basicdefs.h (OB_MALLOC): Turn VCAST into void * cast.

git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-66
This commit is contained in:
Paolo Bonzini committed 2008-01-09 16:12:07 +01:00
1 parent 6ed57b0429
commit 3cfe7fdf8a
38 files changed
+51 -38

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ regex syntax clashes (problems with backslashes)
only happens if you are on the GNU system, using GNU libc's regular
expression matcher instead of compiling the one supplied with GNU sed.
In a Danish locale, for example, the regular expression `^[a-z]$'
matches the string `aa', because aa is a single collating symbol that
matches the string `aa', because `aa' is a single collating symbol that
comes after `a' and before `b'; `ll' behaves similarly in Spanish
locales, or `ij' in Dutch locales.
+4
View File
@@ -1,3 +1,7 @@
2006-05-15 Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de>
* sed/basicdefs.h (OB_MALLOC): Turn VCAST into void * cast.
2006-02-03 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (compile_program) <case 'y'>: Pass false to match_slash.
+1 -1
View File
@@ -124,7 +124,7 @@ typedef unsigned long countT;
#define FREE(x) (ck_free(VCAST(VOID *)x))
#define MEMCPY(d,s,l) (memcpy(VCAST(VOID *)(d),VCAST(const VOID *)(s),l))
#define MEMMOVE(d,s,l) (memmove(VCAST(VOID *)(d),VCAST(const VOID *)(s),l))
#define OB_MALLOC(o,n,t) (VCAST(t *)obstack_alloc(o,(n)*sizeof(t)))
#define OB_MALLOC(o,n,t) ((t *)(void *)obstack_alloc(o,(n)*sizeof(t)))
#define obstack_chunk_alloc ck_malloc
#define obstack_chunk_free ck_free
+2 -2
View File
@@ -2873,8 +2873,8 @@ to the original name: if you rename or delete files, you're actually
modifying the contents of the directory, so the operation depends on
the permissions of the directory, not of the file. For this same
reason, @command{sed} does not let you use @option{-i} on a writeable file
in a read-only directory (but unbelievably nobody reports that as a
bug@dots{}).
in a read-only directory, and will break hard or symbolic links when
@option{-i} is used on such a file.
@item @code{0a} does not work (gives an error)
There is no line 0. 0 is a special address that is only used to treat
+7 -2
View File
@@ -557,8 +557,13 @@ weak_alias (__regerror, regerror)
a worthwhile optimization. */
static const bitset_t utf8_sb_map =
{
/* Set the first 128 bits. */
[0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX
#if BITSET_WORD_MAX == 0xFFFFFFFFL
BITSET_WORD_MAX, BITSET_WORD_MAX, BITSET_WORD_MAX, BITSET_WORD_MAX
#elif BITSET_WORD_MAX == 0xFFFFFFFFFFFFFFFFL
BITSET_WORD_MAX, BITSET_WORD_MAX
#else
#error invalid BITSET_WORD_BITS setting
#endif
};
#endif
+4
View File
@@ -57,6 +57,10 @@
#undefs RE_DUP_MAX and sets it to the right value. */
#include <limits.h>
#ifndef HAVE__BOOL
#include "stdbool.h"
#endif /* not defined HAVE__BOOL */
#include <regex.h>
#include "regex_internal.h"
+1 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-01-11 21:06+0000\n"
"Last-Translator: Ysbeer <ysbeer@af.org.za>\n"
"Language-Team: Afrikaans <i18n@af.org.za>\n"
+1 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-10 05:51+0200\n"
"Last-Translator: Jordi Mallach <jordi@gnu.org>\n"
"Language-Team: Catalan <ca@dodds.net>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 3.02.80\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2001-08-05 19:52+02:00\n"
"Last-Translator: Vladimir Michl <Vladimir.Michl@seznam.cz>\n"
"Language-Team: Czech <cs@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-10-25 08:00+0200\n"
"Last-Translator: Byrial Ole Jensen <byrial@image.dk>\n"
"Language-Team: Danish <dansk@klid.dk>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-03-21 22:03:41+0100\n"
"Last-Translator: Walter Koch <koch@u32.de>\n"
"Language-Team: German <de@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU sed 3.02.80\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2002-03-08 12:57+0000\n"
"Last-Translator: Simos Xenitellis <simos@hellug.gr>\n"
"Language-Team: Greek <nls@tux.hellug.gr>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-10-26 20:57+0000\n"
"Last-Translator: Edmund GRIMLEY EVANS <edmundo@rano.org>\n"
"Language-Team: Esperanto <translation-team-eo@lists.sourceforge.net>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-10-24 12:38-0500\n"
"Last-Translator: Cristian Othón Martínez Vera <cfuga@itam.mx>\n"
"Language-Team: Spanish <es@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-09 16:33+0300\n"
"Last-Translator: Toomas Soome <Toomas.Soome@microlink.ee>\n"
"Language-Team: Estonian <et@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed-4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-12-07 09:35+0200\n"
"Last-Translator: Sami J. Laine <sami.laine@iki.fi>\n"
"Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
+1 -1
View File
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-12 00:09+0200\n"
"Last-Translator: Gaël Quéri <gael@lautre.net>\n"
"Language-Team: French <traduc@traduc.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-07 11:04-0500\n"
"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
"Language-Team: Irish <ga@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2002-10-25 15:57+0200\n"
"Last-Translator: Jacobo Tarrío Barreiro <jtarrio@trasno.net>\n"
"Language-Team: Galician <gpul-traduccion@ceu.fi.udc.es>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 3.02.80\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2001-08-04 20:37+0300\n"
"Last-Translator: Eli Zaretskii <eliz@gnu.org>\n"
"Language-Team: Hebrew <eliz@gnu.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 3.02a\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2002-06-14 15:17-01\n"
"Last-Translator: Denis Lackovic <delacko@fly.srk.fer.hr>\n"
"Language-Team: Croatian <lokalizacija@linux.hr>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-10-26 09:28+0100\n"
"Last-Translator: Mihály Gyulai <gyulai@fbi.hu>\n"
"Language-Team: Hungarian <translation-team-hu@lists.sourceforge.net>\n"
+1 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-04-27 14:56+0700\n"
"Last-Translator: Tedi Heriyanto <tedi_h@gmx.net>\n"
"Language-Team: Indonesian <translation-team-id@lists.sourceforge.net>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0a\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2002-11-26 12:44+0100\n"
"Last-Translator: Paolo Bonzini <bonzini@gnu.org>\n"
"Language-Team: Italian <tp@lists.linux.it>\n"
+1 -1
View File
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2005-02-01 21:02+0900\n"
"Last-Translator: IIDA Yosiaki <iida@gnu.org>\n"
"Language-Team: Japanese <translation-team-ja@lists.sourceforge.net>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU sed 3.02.80\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2001-10-12 17:26+0900\n"
"Last-Translator: Jong-Hoon Ryu <redhat4u@netian.com>\n"
"Language-Team: Korean <ko@li.org>\n"
+1 -1
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2005-04-12 20:09+0200\n"
"Last-Translator: Taco Witte <tcwitte@cs.uu.nl>\n"
"Language-Team: Dutch <vertaling@vrijschrift.org>\n"
+1 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-08 19:58+0200\n"
"Last-Translator: Wojciech Polak <polak@gnu.org>\n"
"Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n"
+1 -1
View File
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2002-11-08 17:44-0300\n"
"Last-Translator: Aurélio Marinho Jargas <aurelio@verde666.org>\n"
"Language-Team: Brazilian Portuguese <ldp-br@bazar.conectiva.com.br>\n"
+1 -1
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-11-22 12:00-0500\n"
"Last-Translator: Laurentiu Buzdugan <buzdugan@voyager.net>\n"
"Language-Team: Romanian <translation-team-ro@lists.sourceforge.net>\n"
+1 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed-4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-07 17:54+0300\n"
"Last-Translator: Pavel Maryanov <acid_jack@ukr.net>\n"
"Language-Team: Russian <ru@li.org>\n"
+1 -1
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
+1 -1
View File
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU sed 4.0.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-10-25 17:22+0200\n"
"Last-Translator: Marcel Telka <marcel@telka.sk>\n"
"Language-Team: Slovak <sk-i18n@lists.linux.sk>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2003-04-02 17:20+0200\n"
"Last-Translator: Primo¾ Peterlin <primoz.peterlin@biofiz.mf.uni-lj.si>\n"
"Language-Team: Slovenian <translation-team-sl@lists.sourceforge.net>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-01-13 22:51-0500\n"
"Last-Translator: Aleksandar Jelenak <jelenak@netlinkplus.net>\n"
"Language-Team: Serbian <sr@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.1.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-07-11 11:45+0200\n"
"Last-Translator: Christian Rose <menthos@menthos.com>\n"
"Language-Team: Swedish <sv@li.org>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 4.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2004-05-19 18:06+0300\n"
"Last-Translator: Deniz Akkus Kanca <deniz@arayan.com>\n"
"Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\n"
+1 -1
View File
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: sed 3.02.80\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-02-03 10:26+0100\n"
"POT-Creation-Date: 2006-03-16 08:54+0100\n"
"PO-Revision-Date: 2002-08-18 11:11+0800\n"
"Last-Translator: Wang Li <charles@linux.net.cn>\n"
"Language-Team: Chinese (simplified) <i18n-translation@lists.linux.net.cn>\n"