aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ed.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-26 03:45:55 +0000
committerrsc <devnull@localhost>2004-03-26 03:45:55 +0000
commit6b2d0fd94642d4e041bffac34cb79eaf9169760b (patch)
tree9a22a2808815ebce90727bee52afc0ac477b11f9 /src/cmd/ed.c
parenteeb7312231d91d32c561fd9dd07aeed554ba998d (diff)
downloadplan9port-6b2d0fd94642d4e041bffac34cb79eaf9169760b.tar.gz
plan9port-6b2d0fd94642d4e041bffac34cb79eaf9169760b.tar.bz2
plan9port-6b2d0fd94642d4e041bffac34cb79eaf9169760b.zip
Bug fixes from Scott Schwartz.
Try to make 9term not crash when X errors happen.
Diffstat (limited to 'src/cmd/ed.c')
-rw-r--r--src/cmd/ed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/ed.c b/src/cmd/ed.c
index 42fa3e07..1c1639b9 100644
--- a/src/cmd/ed.c
+++ b/src/cmd/ed.c
@@ -6,6 +6,8 @@
#include <bio.h>
#include <regexp.h>
+#undef EOF /* stdio? */
+
enum
{
FNSIZE = 128, /* file name */