mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
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
@ -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…
Reference in New Issue
Block a user