9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "rob pike" <rob@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: [9fans] acme bug
Date: Sun, 24 Dec 2000 17:34:05 -0500	[thread overview]
Message-ID: <20001224223413.7DE48199DC@mail.cse.psu.edu> (raw)

Russ found a stupid bug in the new Acme edit feature, a failure to
convert some Sam code properly.  The bug is that Acme crashes
instead of just complaining in certain ordinary circumstances.
The fix is trivial: change calls to error into calls to editerror.
This diff might not be exactly right for the released source, but
it'll be close enough to figure out what to do:


acme% diff -n /n/dump/2000/1224/sys/src/cmd/acme/ecmd.c ecmd.c
/n/dump/2000/1224/sys/src/cmd/acme/ecmd.c:570 c ecmd.c:570
< 		error("no name specified for 'w' command");
---
> 		editerror("no name specified for 'w' command");
/n/dump/2000/1224/sys/src/cmd/acme/ecmd.c:956 c ecmd.c:956
< 				error("address");
---
> 				editerror("address");
/n/dump/2000/1224/sys/src/cmd/acme/ecmd.c:965 c ecmd.c:965
< 				error("address");
---
> 				editerror("address");



             reply	other threads:[~2000-12-24 22:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-24 22:34 rob pike [this message]
2003-02-28 22:08 Micah Stetson
2003-02-28 19:24 ` Russ Cox
2004-10-19 20:35 Richard C Bilson
2004-10-20 13:43 ` rog
2004-11-09 21:36   ` Rob Pike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001224223413.7DE48199DC@mail.cse.psu.edu \
    --to=rob@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).