Commit 79231122 authored by Eli Zaretskii's avatar Eli Zaretskii

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.
parent c45a1ca3
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment