From owner-freebsd-current@FreeBSD.ORG Sun Aug 16 05:22:39 2009 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 82AA0106568C for ; Sun, 16 Aug 2009 05:22:39 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9F88FC15 for ; Sun, 16 Aug 2009 05:22:38 +0000 (UTC) Received: by bwz19 with SMTP id 19so2439445bwz.37 for ; Sat, 15 Aug 2009 22:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=M25OzLGC6tKIK8mA5xhZVyNvEYuT7KjD+NtqVvHNX2A=; b=RvD2hb6rFQtTF2d7lsOF0YWjJH2puesmg3k0C0r9pUs4Xtjj730BcUC2UbqRNapOW+ hewp/1bJADqG4WgRkW3Uigb/r/Tl2IYUlanD2DW/8RPS4GBEuuv8yUBg9DQYbAiUniTh 0cAFfWyHqy1ng5x7dxYx0ht6gyAm6IdJr9Bck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FWYwJOCZ/euXEE4Fnjn7XDLtS9/wTSn9FsIvhkyW9ySRXqBGRLr1Zx5RPNDoB4A4ox VjCDIuZYZrYYa7qRnFyHZPVVQeTjRuuR+9XfOgJJcaOacY3sGVNZMV6VCjRHu4TKkCwZ HdnnxAY2TnQ+31UTwBC1wnG4N4Ace1aW55E3k= MIME-Version: 1.0 Received: by 10.204.151.83 with SMTP id b19mr1912253bkw.102.1250400157833; Sat, 15 Aug 2009 22:22:37 -0700 (PDT) In-Reply-To: References: Date: Sun, 16 Aug 2009 09:22:37 +0400 Message-ID: From: pluknet To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: broken regression/acct for several years 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, 16 Aug 2009 05:22:39 -0000 2009/8/16 pluknet : > Hi. > > This commit - kern_acct.c,v1,94 / svn r172023 - broke > regression/acct just before 7.0 was out by inclusion > kernel log() function call that requires include, > and some magic with kernel/userland side of syslog() since > log() on userland side is =A0not present. > > It could be fixed by changing log() with simple printf() and > adding specially for regression test to [Sorry, wrong button pressed] to fix "LONG_MAX undefined", so it would be like: convert.c: ../../../sys/kern/kern_acct.c - sed -n '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >= $@ + echo "#include " > $@ + sed -n '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' $? >>= $@ or by reverting r172023. Thanks. --=20 wbr, pluknet