diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-03-05 12:57:06 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-03-05 12:57:06 +0200 |
commit | 792311228d8f4cb26262c279e310b0344d735bd8 (patch) | |
tree | f4c12d08d88e1fe8c3002485df2e6159c87f9de6 /lib-src | |
parent | c45a1ca3c4eed56be6ad8086dcc805a86bc5935c (diff) |
Fix mbox files produced by movemail on MS-Windows
* lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
format specifiers, as at least the MS-Windows version of strftime
doesn't support %e and %T.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/movemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index eb1962a8f6..efa0219e58 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -809,7 +809,7 @@ mbx_delimit_begin (FILE *mbf) char fromline[100]; if (! strftime (fromline, sizeof fromline, - "From movemail %a %b %e %T %Y\n", ltime)) + "From movemail %a %b %d %H:%M:%S %Y\n", ltime)) { errno = EOVERFLOW; return false; |