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.
This commit is contained in:
parent
c45a1ca3c4
commit
792311228d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue