aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-07-12 10:48:14 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2009-07-12 10:48:14 +0000
commit6e17730de8e519775a353496c0e76b037cc80d0e (patch)
tree16ef56b15891a8766b381f42dd06db0837523244
parent96cbb636313e55eb66a156b947b0edf1336add82 (diff)
downloadwyslij-po-6e17730de8e519775a353496c0e76b037cc80d0e.tar.gz
wyslij-po-6e17730de8e519775a353496c0e76b037cc80d0e.tar.bz2
Version 2.1
-rw-r--r--ChangeLog8
-rw-r--r--NEWS5
-rw-r--r--configure.ac2
-rw-r--r--src/main.c4
-rw-r--r--src/po.c2
5 files changed, 14 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index a6e164f..54ac7ba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-12 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ Version 2.1
+
+ * src/po.c (po_header): Terminate string with 0 (fixed typo).
+ * src/main.c (wyslij_po): po_sender was fixed twice.
+ * configure.ac, NEWS: Version 2.1
+
2009-01-16 Sergey Poznyakoff <gray@gnu.org.ua>
Implement i18n.
diff --git a/NEWS b/NEWS
index cdfae72..1f6e6ff 100644
--- a/NEWS
+++ b/NEWS
@@ -1,13 +1,14 @@
-Wyslij-po NEWS -- history of user-visible changes. 2009-01-16
+Wyslij-po NEWS -- history of user-visible changes. 2009-07-12
Copyright (C) 2007, 2009 Sergey Poznyakoff
See the end of file for copying conditions.
Please send mailfromd bug reports to <bug-wyslij-po@gnu.org.ua>
-Version 2.0.90 (SVN)
+Version 2.1 - 2009-07-12
* I18n
+* Bugfixes
Version 2.0 - 2009-01-16
diff --git a/configure.ac b/configure.ac
index e5415f2..b619b33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@
# along with Wyslij-po. If not, see <http://www.gnu.org/licenses/>. */
AC_PREREQ(2.60)
-AC_INIT([wyslij-po], [2.0.90], [bug-wyslij-po@gnu.org.ua])
+AC_INIT([wyslij-po], [2.1], [bug-wyslij-po@gnu.org.ua])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/wyslij-po.h])
AM_INIT_AUTOMAKE(gnits 1.9 tar-ustar std-options)
diff --git a/src/main.c b/src/main.c
index 4cb62bb..17d1a59 100644
--- a/src/main.c
+++ b/src/main.c
@@ -367,7 +367,7 @@ wyslij_po (const char *name)
if (verbose)
printf ("%s: %s\n", name, poname);
-
+
mu_mime_create (&mime, NULL, 0);
s = concat (poname, ".gz", NULL);
@@ -382,7 +382,6 @@ wyslij_po (const char *name)
mu_header_append (hdr, MU_HEADER_FROM, po_sender);
else
mu_header_append (hdr, MU_HEADER_FROM, sender);
- free (po_sender);
mu_header_append (hdr, MU_HEADER_TO, address);
s = concat (subject_prefix, poname, NULL);
if (cc)
@@ -395,7 +394,6 @@ wyslij_po (const char *name)
free (s);
mu_header_append (hdr, "X-Mailer", PACKAGE_STRING);
-
if (verbose)
{
if (verbose > 3)
diff --git a/src/po.c b/src/po.c
index 39429f7..02af852 100644
--- a/src/po.c
+++ b/src/po.c
@@ -229,7 +229,7 @@ po_header (const char *name)
obstack_grow (&stk, str, strlen (str));
}
obstack_1grow (&stk, '\n');
- obstack_1grow (&stk, 1);
+ obstack_1grow (&stk, 0);
po_close (&pof);
free (str);

Return to:

Send suggestions and report system problems to the System administrator.