Commit Diff


commit - 0dfd6525a647e1edaa193054774452ef9fe1871b
commit + d756dc5e15308bbf53d27317eeb67da98edad2d9
blob - cbd67ce97043d68c12cdef3598b3dd3ee5235ef4
blob + 3bb7943ae74f6cd48cc01a10b01ace5d7f066cbc
--- bin/9c
+++ bin/9c
@@ -55,18 +55,9 @@ esac
 
 # N.B. Must use temp file to avoid pipe; pipe loses status.
 xtmp=/tmp/9c.$$.$USER.out
-status=x
-case "$tag" in
-*SunOS*-cc)
-	$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>&1 | 
-		/bin/sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' 1>&2
-	status=$?
-	;;
-*)
-	$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@"
-	status=$?
-	;;
-esac >$xtmp 2>&1
-grep -v '__p9l_autolib_' $xtmp
-rm -f $xtmp
+$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" >$xtmp 2>&1
+status=$?
+grep -v '__p9l_autolib_' $xtmp |
+sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
+rm -f $xtmp $xtmp.status
 exit $status