This change corrects one such problem.
msgstr ""
"Project-Id-Version: PSPP 0.3.1\n"
"Report-Msgid-Bugs-To: pspp-dev@gnu.org\n"
-"POT-Creation-Date: 2005-04-21 11:41+0800\n"
+"POT-Creation-Date: 2005-04-23 15:57+0800\n"
"PO-Revision-Date: 2004-01-23 13:04+0800\n"
"Last-Translator: John Darrington <john@darrington.wattle.id.au>\n"
"Language-Team: John Darrington <john@darrington.wattle.id.au>\n"
msgid "Error writing file %s: %s."
msgstr ""
-#: src/dictionary.c:256
+#: src/dictionary.c:258
#, c-format
msgid ""
"The entry \"%s\" in the variable name map, has no corresponding variable"
msgstr ""
-#: src/dictionary.c:836
+#: src/dictionary.c:856
msgid ""
"At least one case in the data file had a weight value that was user-missing, "
"system-missing, zero, or negative. These case(s) were ignored."
msgid "corrupt system file: "
msgstr ""
-#: src/sfm-read.c:149 src/sfm-write.c:918
+#: src/sfm-read.c:149 src/sfm-write.c:919
#, c-format
msgid "%s: Closing system file: %s."
msgstr ""
msgid "Error opening \"%s\" for writing as a system file: %s."
msgstr ""
-#: src/sfm-write.c:738
+#: src/sfm-write.c:739
#, c-format
msgid "%s: Writing system file: %s."
msgstr ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: pspp-dev@gnu.org\n"
-"POT-Creation-Date: 2005-04-21 11:41+0800\n"
+"POT-Creation-Date: 2005-04-23 15:57+0800\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"
msgid "Error writing file %s: %s."
msgstr ""
-#: src/dictionary.c:256
+#: src/dictionary.c:258
#, c-format
msgid ""
"The entry \"%s\" in the variable name map, has no corresponding variable"
msgstr ""
-#: src/dictionary.c:836
+#: src/dictionary.c:856
msgid ""
"At least one case in the data file had a weight value that was user-missing, "
"system-missing, zero, or negative. These case(s) were ignored."
msgid "corrupt system file: "
msgstr ""
-#: src/sfm-read.c:149 src/sfm-write.c:918
+#: src/sfm-read.c:149 src/sfm-write.c:919
#, c-format
msgid "%s: Closing system file: %s."
msgstr ""
msgid "Error opening \"%s\" for writing as a system file: %s."
msgstr ""
-#: src/sfm-write.c:738
+#: src/sfm-write.c:739
#, c-format
msgid "%s: Writing system file: %s."
msgstr ""
+Sat Apr 23 17:01:04 WST 2005 John Darrington <john@darrington.wattle.id.au>
+
+ * dictionary.c vars-prs.c sfm-write.c: Fixed some memory leaks
+
Sun Apr 17 23:08:15 2005 Ben Pfaff <blp@gnu.org>
Start work on fixing MATCH FILES.
else
{
const char *sn = make_short_name(d, name);
- strncpy(v->name, sn, SHORT_NAME_LEN);
+ strncpy(v->name, sn, SHORT_NAME_LEN + 1);
free(sn);
}
assert (strlen (new_names[i]) <= LONG_NAME_LEN );
sn = make_short_name(d, new_names[i]);
- strncpy(vars[i]->name, sn, SHORT_NAME_LEN);
+ strncpy(vars[i]->name, sn, SHORT_NAME_LEN + 1);
free(sn);
strcat(d, suffix);
}
+
return d;
}