]>
Commit | Line | Data |
---|---|---|
505508a0 | 1 | diff -u anacron-2.3/runjob.c~ anacron-2.3/runjob.c |
2 | --- anacron-2.3/runjob.c~ 2003-07-10 15:25:44.000000000 +0900 | |
3 | +++ anacron-2.3/runjob.c 2003-07-10 15:25:44.000000000 +0900 | |
4 | @@ -35,6 +35,8 @@ | |
5 | #include <string.h> | |
6 | #include "global.h" | |
7 | ||
8 | +#include <langinfo.h> | |
9 | + | |
10 | static int | |
11 | temp_file() | |
12 | /* Open a temporary file and return its file descriptor */ | |
13 | @@ -217,6 +219,9 @@ | |
14 | xwrite(fd, "To: "); | |
15 | xwrite(fd, username()); | |
16 | xwrite(fd, "\n"); | |
17 | + xwrite(fd, "Content-Type: text/plain; charset=\""); | |
18 | + xwrite(fd, nl_langinfo(CODESET)); | |
19 | + xwrite(fd, "\"\n"); | |
20 | xwrite(fd, "Subject: Anacron job '"); | |
21 | xwrite(fd, jr->ident); | |
22 | xwrite(fd, "'\n\n"); |