From: epg <> Date: Sun, 19 Jan 2003 03:11:14 +0000 (+0000) Subject: mdeliver/current/mdeliver.c: X-Git-Url: https://diplodocus.org/git/minc/commitdiff_plain/71b9d88891bb1b01a4fa78b1ad9a17ac0c31acad?ds=sidebyside;hp=71b9d88891bb1b01a4fa78b1ad9a17ac0c31acad mdeliver/current/mdeliver.c: (deliver): In rev 1582 i changed this from using rename(2) to the recommended link(2) + unlink(2). But in minc i was using open(2) + rename(2) instead, which is just as safe as link + unlink but with one advantage. So switch to that model. minc/current/minc: (store_message): Document the open + rename procedure and explain why it is used instead of link + unlink. ---