Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2001 11:12:25 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Brian Somers <brian@freebsd-services.com>, Mike Barcroft <mike@FreeBSD.org>
Cc:        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:  <p05101002b7e8c3250150@[128.113.24.47]>
In-Reply-To: <200110090955.f999tT490240@hak.lan.Awfulhak.org>
References:  <200110090955.f999tT490240@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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)?

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05101002b7e8c3250150>