9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* acme bug fix
@ 1995-10-24 11:40 dhog
  0 siblings, 0 replies; only message in thread
From: dhog @ 1995-10-24 11:40 UTC (permalink / raw)


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.






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-24 11:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-10-24 11:40 acme bug fix dhog

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).