You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The time prefixes on the message file names generated with -t (use envelope timestamp) are off by one name. The time stamp used to name the current message file is the time stamp of the previous message file. The first message file, having no previous time stamp, is missing the leading time stamp. The modification times of the message files are set correctly; only the names are off-by-one.
Note that the incorrect leading time field on each message file name, except the first, is the modification time of the previous message file. The leading time field should be modification time of the message itself, not of the previous message. This is also true under foo/cur:
This happens because the $messagefn is used to create the new message file before the $filebase is set to the correct prefix. $filebase is only set after the file is closed. The fix is to move the code to set $filebase up to where $receivedate is set, before the message file is opened.
The text was updated successfully, but these errors were encountered:
The time prefixes on the message file names generated with
-t
(use envelope timestamp) are off by one name. The time stamp used to name the current message file is the time stamp of the previous message file. The first message file, having no previous time stamp, is missing the leading time stamp. The modification times of the message files are set correctly; only the names are off-by-one.Note that the incorrect leading time field on each message file name, except the first, is the modification time of the previous message file. The leading time field should be modification time of the message itself, not of the previous message. This is also true under foo/cur:
This happens because the
$messagefn
is used to create the new message file before the$filebase
is set to the correct prefix.$filebase
is only set after the file is closed. The fix is to move the code to set$filebase
up to where$receivedate
is set, before the message file is opened.The text was updated successfully, but these errors were encountered: