From owner-cvs-all Tue Oct 9 17:19:46 2001 Delivered-To: cvs-all@freebsd.org Received: from nothing-going-on.demon.co.uk (pc-62-31-42-140-hy.blueyonder.co.uk [62.31.42.140]) by hub.freebsd.org (Postfix) with ESMTP id 6519B37B407; Tue, 9 Oct 2001 17:19:39 -0700 (PDT) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.3/8.11.3) id f9A0AZN58906; Wed, 10 Oct 2001 01:10:35 +0100 (BST) (envelope-from nik) Date: Wed, 10 Oct 2001 01:10:35 +0100 From: Nik Clayton To: Warner Losh Cc: Nate Williams , Mike Barcroft , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/string strnstr.c Makefile.inc strstr.3 src/include string.h Message-ID: <20011010011035.I966@clan.nothing-going-on.org> References: <15299.21138.651648.144237@nomad.yogotech.com> <200110090129.f991Tvs39485@freefall.freebsd.org> <15299.21138.651648.144237@nomad.yogotech.com> <200110092327.f99NRg769889@harmony.village.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Ry3qE+viRNtbc3l7" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200110092327.f99NRg769889@harmony.village.org>; from imp@harmony.village.org on Tue, Oct 09, 2001 at 05:27:42PM -0600 Organization: FreeBSD Project Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Ry3qE+viRNtbc3l7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 09, 2001 at 05:27:42PM -0600, Warner Losh wrote: > In message <15299.21138.651648.144237@nomad.yogotech.com> Nate Williams w= rites: > : Aren't names that start with str reserved by ANSI? Therefore, adding a > : non-standard routing with this name is a violation of the C language. > :=20 > : (Bruce would know more...) >=20 > Actaully, str* is reserved for the implementation space. A conforming > program cannot define str* routines, so this will not break any > conforming program. Aren't we then screwed if some future standard introduces strnstr() with a different API? N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ FreeBSD Documentation Project http://www.freebsd.org/docproj/ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- --Ry3qE+viRNtbc3l7 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 iEYEARECAAYFAjvDkfsACgkQk6gHZCw343UhnQCcD2aGtivo92OJM6RIku8lgjPH dUgAn2dFjaBBGBOJwYzZtlckAaMmN4ZR =S3Ak -----END PGP SIGNATURE----- --Ry3qE+viRNtbc3l7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message