This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Bug libc/15973] glibc should provide strnspn() and strncspn()


On Fri, Jun 13, 2014 at 12:48:04PM +0000, fweimer at redhat dot com wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=15973
> 
> Florian Weimer <fweimer at redhat dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |fweimer at redhat dot com
> 
> --- Comment #5 from Florian Weimer <fweimer at redhat dot com> ---
> The existing strspn function isn't even such a great model for an API.  In most
> cases, it would be beneficial to pre-compile the pattern.  I don't think it
> makes sense to add more interfaces with the same issue.
> 
You could do caching on-line but it is not on my priority list.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]