From owner-freebsd-current@FreeBSD.ORG Wed Oct 5 14:52:47 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A16106566C; Wed, 5 Oct 2011 14:52:47 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8AABE8FC08; Wed, 5 Oct 2011 14:52:47 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb@protected-networks.net) by sarah.protected-networks.net (Postfix) with ESMTPSA id 46AB8616D; Wed, 5 Oct 2011 10:52:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1317826366; bh=doRw/8/3yNYy4gilXg3Ic9xBQ5d3kc1eeO0irS0+9WY=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=R+YKk+MW07GZw4FFS5azFxE5wgoQ6fqRDOMav7oh22VOtHAyOSxDFgHvBJr6FXE0O /9KY+r4sk9Y0KsZiI2n7yNLkfQdH1k1/nn8ojiAFPKzioDZP9A3kbOS7lzPEwKf DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:content-type:content-transfer-encoding; b=DtjOnX6VbtHrbsaBf7vgbfHdKeTvoQ3il2XpT931YA5+D+a46OpRCfvPVJKw7DYsD MiYVdS88LiourYnSbzdoxe0IiFww7csN3o0P0FO2VVmDIoFFrohcB5XrOFpuizM Message-ID: <4E8C6F3C.6090707@protected-networks.net> Date: Wed, 05 Oct 2011 10:52:44 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1 MIME-Version: 1.0 To: David Wolfskill , current@freebsd.org, Gabor Kovesdan References: <20111005135000.GE2831@albert.catwhisker.org> <4E8C6E29.1010507@protected-networks.net> In-Reply-To: <4E8C6E29.1010507@protected-networks.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Problem with r226035 - in head/usr.bin/grep: . regex? 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: Wed, 05 Oct 2011 14:52:47 -0000 On 10/05/11 10:48, I wrote: > Does this look right? > ! ts = ((long)u - v < 0) ? 0 : (u - v); \ Doh! It should probably be .. ts = ((long)(u - v) < 0) ? 0 : (u - v);