summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-07-05 17:44:32 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-07-05 17:44:32 +0200
commit43e56e26ded432658cdc5b9b3fce16919b3c64f7 (patch)
tree3f0c7db33a6d19ddbc3c6de52de336d66796ba67 /sys/src/cmd/cpp/cpp.h
parente161f1c8ba802c15dc049c75f8071d9bb8aaf106 (diff)
downloadplan9front-43e56e26ded432658cdc5b9b3fce16919b3c64f7.tar.xz
upas/fs: put date822 into the index, fix from and replyto handling
the date, from and replyto fields where unstable, in that the value read depended on the state of the cache. fixing the from and replyto fields is easy, we just handle the substitution in parsebody(). the date field however requires us to put the date822 into the index so it can be recovered without requiering to reparse the header (and body, as we might have a message/rfc822 message with promoted fields). with these changes, the fields will be consistent and independnet of the cache state. a small optimization also has been added: after parsing the body, attachments and substitution of from/replyto, the boundary and unixfrom strings are not needed anymore and can be freed early.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.h')
0 files changed, 0 insertions, 0 deletions