commit - 5bae51dd93cd71c9a6a2b2fd4e9cdff5a2755c50
commit + 97e85ebf111b332229ad3698e48b635939543a19
blob - a875feebeb8980fc1f250d4dc086f9c8a0a09928
blob + caaab9d45ede7c11b6d6b89d1e015fc8720a543a
--- src/cmd/acme/rows.c
+++ src/cmd/acme/rows.c
if(ndumped >= 0){
/* simplest thing is to put it in a file and load that */
sprint(buf, "/tmp/d%d.%.4sacme", getpid(), getuser());
- fd = create(buf, OWRITE|ORCLOSE, 0600);
+ fd = create(buf, OWRITE, 0600);
if(fd < 0){
free(r);
warning(nil, "can't create temp file: %r\n");
Bterm(bout);
free(bout);
textload(&w->body, 0, buf, 1);
+ remove(buf);
close(fd);
w->body.file->mod = TRUE;
for(n=0; n<w->body.file->ntext; n++)