Thu Jul 10 2003 Jens Petersen <petersen@redhat.com> - 2.3-29 - don't require vixie-cron (#21176) [reported by Gerald Teschl] - in init script don't remove /var/lock/subsys/anacron when stopping (#58462) - exit init script with actual exit status (#44600) [reported by Enrico Scholz] Thu Jul 10 2003 Jens Petersen <petersen@redhat.com> - 2.3-28 - add a Content-Type header to mails giving the charset encoding (#77108) Thu Jul 10 2003 Jens Petersen <petersen@redhat.com> - 2.3-27 - in init script do not touch /var/lock/subsys/anacron when starting (#58462) - require crontabs (#21176) - update source url Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> - rebuilt
22 lines
661 B
Diff
22 lines
661 B
Diff
diff -u anacron-2.3/runjob.c~ anacron-2.3/runjob.c
|
|
--- anacron-2.3/runjob.c~ 2003-07-10 15:25:44.000000000 +0900
|
|
+++ anacron-2.3/runjob.c 2003-07-10 15:25:44.000000000 +0900
|
|
@@ -35,6 +35,8 @@
|
|
#include <string.h>
|
|
#include "global.h"
|
|
|
|
+#include <langinfo.h>
|
|
+
|
|
static int
|
|
temp_file()
|
|
/* Open a temporary file and return its file descriptor */
|
|
@@ -217,6 +219,9 @@
|
|
xwrite(fd, "To: ");
|
|
xwrite(fd, username());
|
|
xwrite(fd, "\n");
|
|
+ xwrite(fd, "Content-Type: text/plain; charset=\"");
|
|
+ xwrite(fd, nl_langinfo(CODESET));
|
|
+ xwrite(fd, "\"\n");
|
|
xwrite(fd, "Subject: Anacron job '");
|
|
xwrite(fd, jr->ident);
|
|
xwrite(fd, "'\n\n");
|