From owner-cvs-src@FreeBSD.ORG Wed Sep 1 20:52:31 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADC8B16A4CE; Wed, 1 Sep 2004 20:52:31 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E329343D39; Wed, 1 Sep 2004 20:52:30 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i81KqQRI040816 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Sep 2004 23:52:27 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id i81KqQAC000820; Wed, 1 Sep 2004 23:52:26 +0300 (EEST) (envelope-from ru) Date: Wed, 1 Sep 2004 23:52:26 +0300 From: Ruslan Ermilov To: Julian Elischer Message-ID: <20040901205226.GA793@ip.net.ua> References: <200409011923.i81JN27E019623@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <200409011923.i81JN27E019623@repoman.freebsd.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/kgzip kgzcmp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2004 20:52:31 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 01, 2004 at 07:23:02PM +0000, Julian Elischer wrote: > julian 2004-09-01 19:23:02 UTC >=20 > FreeBSD src repository >=20 > Modified files: > usr.sbin/kgzip kgzcmp.c=20 > Log: > When non kernel programs try to define _KERNEL > it always ends in tears. > =20 > this is a temporary hack.. > we'll remove it in a short while. I'll set teh MFC to remind me > =20 > MFC after: 1 week > =20 > Revision Changes Path > 1.11 +2 -0 src/usr.sbin/kgzip/kgzcmp.c >=20 The include list was bogus here, here's the correct fix. The actual bug is in the header though. %%% Index: kgzcmp.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.sbin/kgzip/kgzcmp.c,v retrieving revision 1.11 diff -u -r1.11 kgzcmp.c --- kgzcmp.c 1 Sep 2004 19:23:02 -0000 1.11 +++ kgzcmp.c 1 Sep 2004 20:49:12 -0000 @@ -26,15 +26,12 @@ * $FreeBSD: src/usr.sbin/kgzip/kgzcmp.c,v 1.11 2004/09/01 19:23:02 julian= Exp $ */ =20 -#define _KERNEL -#define KLD_MODULE -#include -#undef KLD_MODULE -#undef _KERNEL #include #include #include =20 +#include + #include #include #include %%% Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQFBNjaKqRfpzJluFF4RAjMcAJ94HegJ8z5sTGpzCiZ9QJTUKCgwBwCbBC7d rO+eXsbn84mmDR08tzetqxY= =sayG -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--