This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: memmem issues
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 11 Jan 2008 10:47:45 +0100
- Subject: Re: memmem issues
- References: <loom.20071219T210928-910@post.gmane.org> <4769E90D.5090908@byu.net> <20071220101143.GA8291@calimero.vinschen.de> <4786EEA5.1070700@byu.net>
- Reply-to: cygwin-patches at cygwin dot com
On Jan 10 21:20, Eric Blake wrote:
> According to Corinna Vinschen on 12/20/2007 3:11 AM:
> | Using one of them is certainly not a licensing violation since all code
> | examples are more or less the published examples from well-known
> | textbooks (Knuth, Sedgewick, et al.). Given that, I don't think you're
> | actually "tainted". An actual implementation would be much better than
> | a forlorn comment in an unimpressive file in some subdirectory.
>
> I took you up on that, and submitted an even better implementation to the
> newlib list, shared among memmem, strstr, and strcasestr
> (Knuth-Morris-Pratt and Boyer-Moore both require memory allocation, but
> not Two-Way). If Jeff gives the go-ahead for newlib, then we'll need to
> delete cygwin's copy of memmem.cc.
Cool, thanks for doing this.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat