diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-04-08 22:50:17 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-04-08 22:50:17 +0200 |
commit | fd78f6722efb439b9dd640886096f8f2b3c2f8f0 (patch) | |
tree | d3a3bd910c86b20be11c5173d4023408eafcdede /sys/src/cmd/python/Python/mactoolboxglue.c | |
parent | 00fbdd622aeb6ab3665a9970d7acb6bdd225028b (diff) |
upas/common: deliver mail to mdir as .tmp file and rename after it has been fully written
theres a race condition when mail delivery to mdir is slow,
then upas/fs sees partial mail file and caches the truncated
file size.
to avoid this, delivery will create the new mail file with
the .tmp extension (which is ignored by upas/fs) and after
everything has been written, rename it to the final name.
Diffstat (limited to 'sys/src/cmd/python/Python/mactoolboxglue.c')
0 files changed, 0 insertions, 0 deletions