summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2008-03-28 03:46:39 +0000
committerPaul Smith <psmith@gnu.org>2008-03-28 03:46:39 +0000
commitb23b0c3552d3e545049e69e25bf11257e011db45 (patch)
treeb3ec2e2cc753f550b5f764a7d752af5bc882b4e0
parentbb7cb05da5abd29c38445331371aab4c37e175d2 (diff)
downloadgunmake-b23b0c3552d3e545049e69e25bf11257e011db45.tar.gz
Update the translation project location for PO files (again)
Apply fix for Savannah bug #22379.
-rw-r--r--ChangeLog10
-rw-r--r--ar.c1
-rw-r--r--maintMakefile2
-rw-r--r--read.c1
4 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6662d42..b283450 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-03-27 Paul Smith <psmith@gnu.org>
+
+ Fix Savannah bug #22379:
+ * ar.c (ar_glob_match): Zero the allocated structure.
+ * read.c (parse_file_seq): Ditto.
+
+2008-03-08 Brian Dessent <brian@dessent.net>
+
+ * maintMakefile: Update Translation Project location.
+
2008-01-26 Eli Zaretskii <eliz@gnu.org>
* variable.c (target_environment): Don't use shell_var if its
diff --git a/ar.c b/ar.c
index 2636b1b..bb9c9ed 100644
--- a/ar.c
+++ b/ar.c
@@ -196,6 +196,7 @@ ar_glob_match (int desc UNUSED, const char *mem, int truncated UNUSED,
{
/* We have a match. Add it to the chain. */
struct nameseq *new = xmalloc (state->size);
+ memset (new, '\0', state->size);
new->name = strcache_add (concat (state->arname, mem, ")"));
new->next = state->chain;
state->chain = new;
diff --git a/maintMakefile b/maintMakefile
index 90de55b..276457f 100644
--- a/maintMakefile
+++ b/maintMakefile
@@ -135,7 +135,7 @@ move_if_change = if test -r $(target) && cmp -s $(target).t $(target); then \
# http://translation.sf.net/maint/
# ftp://tiger.informatik.hu-berlin.de/pub/po/maint/
-po_repo = http://translationproject.org/maint/$(PACKAGE)
+po_repo = http://translationproject.org/latest/$(PACKAGE)
.PHONY: do-po-update po-update
do-po-update:
tmppo="/tmp/po-$(PACKAGE)-$(VERSION).$$$$" \
diff --git a/read.c b/read.c
index 5287de8..6985d22 100644
--- a/read.c
+++ b/read.c
@@ -2426,6 +2426,7 @@ parse_file_seq (char **stringp, int stopchar, unsigned int size, int strip)
/* Add it to the front of the chain. */
new1 = xmalloc (size);
+ memset (new1, '\0', size);
new1->name = name;
new1->next = new;
new = new1;