From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 24 Oct 1995 07:40:01 -0400 From: dhog@plan9.cs.su.oz.au dhog@plan9.cs.su.oz.au Subject: acme bug fix Topicbox-Message-UUID: 2fbd80ee-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951024114001.cdlAt6ZGwP_nsap0z4565WmPaHKUdA5HQQpfGLQ_vr4@z> I've been having a bit of trouble with acme clobbering its own temp file. The following patch (relative to the version on the CD) should fix it: diff /sys/src/cmd/acme/rows.l `{yesterday /sys/src/cmd/acme/rows.l} 626c626 < sprint(buf, "/tmp/d%d.%.4sacme", getpid(), getuser()); --- > sprint(buf, "/tmp/D%d.%.4sacme", getpid(), getuser()); The problem was that Disk.init() and Row.load() were, under certain circumstances, using the same filename for their temporary files. This change ensures that it cannot happen.