From 77fd60a177e50b398f1f235bcc47cbfc92e0fa80 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 27 Nov 2005 23:58:32 +0000 Subject: shut up openbsd --- bin/9c | 2 +- bin/9l | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/9c b/bin/9c index 17f8e654..65f4e5ac 100755 --- a/bin/9c +++ b/bin/9c @@ -67,7 +67,7 @@ xtmp=/tmp/9c.$$.$USER.out $cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp status=$? grep -v '__p9l_autolib_' $xtmp | -egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: In function `|: At top level:' | +egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|is almost always misused|: In function `|: At top level:' | sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' | uniq 1>&2 rm -f $xtmp $xtmp.status diff --git a/bin/9l b/bin/9l index af8a2317..fb72904c 100755 --- a/bin/9l +++ b/bin/9l @@ -297,7 +297,7 @@ fi xtmp=/tmp/9l.$$.$USER.out xxout() { - egrep -v ': In function `' $xtmp + egrep -v 'is almost always misused|: In function `' $xtmp rm -f $xtmp } -- cgit v1.2.3