aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid/expr.c
diff options
context:
space:
mode:
authortelephil <philippe.mechai@gmail.com>2019-09-19 19:10:09 +0200
committerDan Cross <crossd@gmail.com>2019-09-19 13:10:09 -0400
commit9389de63d7b0dab99773511f48b2d303e3f957d7 (patch)
treeab2e5737b9a610779949a4bc85d5b779478f5c29 /src/cmd/acid/expr.c
parentb9424f640a0493359fd2af7c670c5a4ced334e6b (diff)
downloadplan9port-9389de63d7b0dab99773511f48b2d303e3f957d7.tar.gz
plan9port-9389de63d7b0dab99773511f48b2d303e3f957d7.tar.bz2
plan9port-9389de63d7b0dab99773511f48b2d303e3f957d7.zip
upas/nfs: fix null date when message is sent to plumber (#263)
When fetching, messages are sent to plumber as soon as the ENVELOPE part is read. The date field of the message is sent when the INTERNALDATE part is read and there is no guarantee that this will be read before the ENVELOPE. This bug can be observed when using faces(1) which will retrieve messages with a null date and then always display a 'Jan 1' date instead of the correct one. The fix is to simply send the message to plumber after having read all parts, thus ensuring the message is complete.
Diffstat (limited to 'src/cmd/acid/expr.c')
0 files changed, 0 insertions, 0 deletions