From owner-freebsd-current@FreeBSD.ORG Sun Jul 25 14:42:44 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB74B1065672 for ; Sun, 25 Jul 2010 14:42:44 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA3B8FC0C for ; Sun, 25 Jul 2010 14:42:44 +0000 (UTC) Received: by bwz12 with SMTP id 12so2776497bwz.13 for ; Sun, 25 Jul 2010 07:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:cc:subject:in-reply-to :date:date:message-id:references:user-agent:mime-version :content-type; bh=lXqDDYC6zQYFbBBlMKnN1YcYjxJPW7xcury0vf316Qw=; b=LBKrFPXBoFY3dykmxZdr92psw2XLFR+YGptZDx2eyPtyUEFAqrt21jC2uCyGGIkzCq krxKG0GGNcm++0LnzC04gzZu5z/9svOtz0ikeM+YaeJOQcnaSHFmVbcMeP7qu9A3fQLX 7jm2gHYYIUABFrB+OmKe6Q9hg8xtasxDyi01U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:cc:subject:in-reply-to:date:message-id:references:user-agent :mime-version:content-type; b=GNpys8bwTzPc/OP7G8rubueRnhiZC8AuIibgGLvAJuXGBzYhhm15WrAur43Nd5pb/x 6njTutGK20VciYLGFS5TSy2WETyN5Nfo6ks+RTOjilvtB8lC+kAAfYlYnMcEfcMhOKOa Oxwv62NZd9j39Az8ofsrwi53R0rHVo3oWYyGE= Received: by 10.204.82.155 with SMTP id b27mr4438460bkl.182.1280068961648; Sun, 25 Jul 2010 07:42:41 -0700 (PDT) Received: from localhost (tor-gw.wkwtor.vivi2.kapper.net [94.136.16.242]) by mx.google.com with ESMTPS id x19sm2025533bkv.21.2010.07.25.07.42.39 (version=SSLv3 cipher=RC4-MD5); Sun, 25 Jul 2010 07:42:41 -0700 (PDT) From: Anonymous In-Reply-To: <4C4BFC04.8080503@FreeBSD.org> (Gabor Kovesdan's message of "Sun, 25 Jul 2010 10:55:32 +0200") Date: Sun, 25 Jul 2010 18:34:27 +0400 Date: Sun, 25 Jul 2010 18:40:15 +0400 Message-ID: <86ocdv7hqk.fsf@gmail.com> References: <4C4BFC04.8080503@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-current@FreeBSD.org Subject: Re: BSD grep fixes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jul 2010 14:42:44 -0000 (the message didn't get into the list because of silly typo: `cuirrent@' instead of `current@') Gabor Kovesdan writes: > I've fixed the last two issues that were reported. If you encounter > something more, please let me know. Thanks. But I think there is another issue affecting usr.bin/kdump/mkioctls. $ make depend sh /usr/src/usr.bin/kdump/mkioctls /usr/include > ioctl.c :1:31: fatal error: altq/altq.h:#define: No such file or directory compilation terminated. sh /usr/src/usr.bin/kdump/mksubr /usr/include > kdump_subr.c rm -f .depend mkdep -f .depend -a -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. /usr/src/usr.bin/kdump/kdump.c ioctl.c kdump_subr.c /usr/src/usr.bin/kdump/../ktrace/subr.c ioctl.c:26:31: fatal error: altq/altq.h:#define: No such file or directory compilation terminated. mkdep: compile failed *** Error code 1 Stop in /usr/src/usr.bin/kdump. If I reduce to a simple case it would look like following $ echo blah >foo $ echo clop >bar $ bsd-grep -l '.*' ./* ./foo:blah ./foo ./bar:clop ./bar $ gnu-grep -l '.*' ./* ./foo ./bar `-l' option is not supposed to show the matching line at all, only filename. > > Gabor > > -------- Mensagem Original -------- > Assunto: svn commit: r210461 - head/usr.bin/grep > Data: Sun, 25 Jul 2010 08:42:18 +0000 (UTC) > De: Gabor Kovesdan > Para: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org > > Author: gabor > Date: Sun Jul 25 08:42:18 2010 > New Revision: 210461 > URL: http://svn.freebsd.org/changeset/base/210461 > > Log: > - Fix --color behaviour to only output color sequences if stdout is a tty > or if forced mode is specified [1] > - While here, add some alternative names for the options and make then > case-insensitive > - Fix -q and -l behaviour [2] > - Some small changes to make the code easier to review > > Submitted by: swell.k@gmail.com [1], > dougb [2] > Approved by: delphij (mentor)