summaryrefslogtreecommitdiff
path: root/usr.bin/mg/grep.c
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2002-03-18 01:22:32 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2002-03-18 01:22:32 +0000
commit6d039d422d3855483649b899d42c9d054fbc5f12 (patch)
tree3fc8a002e8bc47ea4dafb9842d7702b64b7b5c42 /usr.bin/mg/grep.c
parent3c8963b9265c65ced3c834bbc8f03918116e041e (diff)
grep/compile mode shouldn't be readonly by default.
ok art@
Diffstat (limited to 'usr.bin/mg/grep.c')
-rw-r--r--usr.bin/mg/grep.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c
index eaea4f6a582..093f11c2f09 100644
--- a/usr.bin/mg/grep.c
+++ b/usr.bin/mg/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.4 2002/03/16 19:30:29 vincent Exp $ */
+/* $OpenBSD: grep.c,v 1.5 2002/03/18 01:22:31 vincent Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. All rights reserved.
*
@@ -150,7 +150,6 @@ compile_mode(char *name, char *command)
bp = bfind(name, TRUE);
if (bclear(bp) != TRUE)
return NULL;
- bp->b_flag |= BFREADONLY;
addlinef(bp, "Running (%s).", command);
addline(bp, "");