From owner-cvs-all Wed Oct 10 8:22:33 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 1AA5137B407; Wed, 10 Oct 2001 08:22:18 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id f9AFMFC09001; Wed, 10 Oct 2001 16:22:15 +0100 (BST) (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id f9AFMOg11391; Wed, 10 Oct 2001 16:22:24 +0100 (BST) (envelope-from brian@freebsd-services.com) Message-Id: <200110101522.f9AFMOg11391@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Maxim Sobolev Cc: Paul Richards , Garance A Drosihn , Brian Somers , Mike Barcroft , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/lib/libc/string strnstr.c Makefile.inc strstr.3src/include string.h In-Reply-To: Message from Maxim Sobolev of "Wed, 10 Oct 2001 18:13:17 +0300." <3BC4658D.2D91B7D8@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Oct 2001 16:22:24 +0100 From: Brian Somers 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 > Paul Richards wrote: > > > --On Tuesday, October 09, 2001 11:12:25 -0400 Garance A Drosihn > > wrote: > > > > > At 10:55 AM +0100 10/9/01, Brian Somers wrote: > > >> > mike 2001/10/08 18:29:56 PDT > > >> > Log: > > >>> Add a new libc function, strnstr(3), which allows one to limit the > > >>> number of characters that are searched. This is especially useful > > >>> with file operations and non-NUL terminated strings. > > >>> > > >>> Silence from: -audit, -hackers > > >> > MFC after: 5 days > > >> > > >> Is this based on any known standard ? If not, shouldn't there be > > >> a mention that this is a FreeBSD specific API in the man page ? > > > > > > That sounds like a good idea to me. > > > > > >> Also, does this need to be MFC'd (I would say not), and does > > >> __FreeBSD_version need to be bumped ? > > > > > > Why wouldn't we MFC this? As I understand it, this routine has been > > > added to fix a problem. Why wouldn't we want to make that fix > > > available for -stable? Why wait a year (for 5.0 to become the > > > stable branch)? > > > > It only fixes a problem if you rewrite the applications to use it, and then > > those applications won't run on earlier 4.x branches. > > > > I'm not sure the rule of not breaking binary compatibility across -stable > > branches has any relevance any more though since it's already a screwed > > policy. > > Correct me if I am wrong, but we never actually were strongly enforcing forward > binary compatibility, so that it should not be a big problem. I've always understood the rule to be that -stable remains binary compatible (both forwards and backwards) while the major release number is the same. > -Maxim -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message