Date: Sun, 5 May 2002 22:14:27 -0400 From: The Anarcat <anarcat@anarcat.dyndns.org> To: Max Okumoto <okumoto@usw4.freebsd.org> Cc: libh@FreeBSD.org Subject: Re: cvs commit: libh/util check_guards Message-ID: <20020506021427.GF393@lenny.anarcat.dyndns.org> In-Reply-To: <200205040801.g4481NN60418@usw4.freebsd.org> References: <200205040801.g4481NN60418@usw4.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020506021427.GF393>