From owner-freebsd-libh Sun May 5 19:15:33 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by hub.freebsd.org (Postfix) with ESMTP id 06CA137B407 for ; Sun, 5 May 2002 19:15:29 -0700 (PDT) Received: from shall.anarcat.dyndns.org ([65.94.191.78]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20020506021527.FHVM17922.tomts22-srv.bellnexxia.net@shall.anarcat.dyndns.org>; Sun, 5 May 2002 22:15:27 -0400 Received: from lenny.anarcat.dyndns.org (lenny.anarcat.dyndns.org [192.168.0.4]) by shall.anarcat.dyndns.org (Postfix) with SMTP id 42FAF76; Sun, 5 May 2002 22:15:17 -0400 (EDT) Received: by lenny.anarcat.dyndns.org (sSMTP sendmail emulation); Sun, 5 May 2002 22:14:27 -0400 Date: Sun, 5 May 2002 22:14:27 -0400 From: The Anarcat To: Max Okumoto Cc: libh@FreeBSD.org Subject: Re: cvs commit: libh/util check_guards Message-ID: <20020506021427.GF393@lenny.anarcat.dyndns.org> References: <200205040801.g4481NN60418@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NGIwU0kFl1Z1A3An" Content-Disposition: inline In-Reply-To: <200205040801.g4481NN60418@usw4.freebsd.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --NGIwU0kFl1Z1A3An Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm not sure I understand what this script does. Does it force a given file.hh to have header guards like: #ifndef FILE_HH #define FILE_HH /* c code here */ #endif in other words, what is the format of the XXXX in your commit log? I'm not sure that an additional md5 suffix is necessary. There shouldn't be similar header file names. Anyways, with the compile dir scheme if there's files with identical file names, they're going to make a mess in the compile directories. A. On Sat May 04, 2002 at 03:01:23AM -0500, Max Okumoto wrote: > okumoto 2002/05/04 03:01:23 CDT >=20 > Added files: > util check_guards=20 > Log: > This script validates header guards. The file must begin and end > with the guards, with matching tags. If they are found and the > tags all match a new tag is generated from the basename of the > header file. An additional md5 suffix, generated from the path > to the file, is appended to differentiate this file from any other > file with the same name. > =20 > #ifndef XXXX > #define XXXX > /* c code here */ > #endif XXXX >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 Why bother building more nukes until we use the ones we already have? --NGIwU0kFl1Z1A3An Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjzV5wIACgkQttcWHAnWiGeMGgCeMXsmZa0BQlNO/6IsdTMa1W5Q me8An0haV4iiu0l785Lk/1XdMLNvtXO7 =jY78 -----END PGP SIGNATURE----- --NGIwU0kFl1Z1A3An-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message