Mike Frysinger <vapier <at> gentoo.org> writes: > on the topic of integrating it elsewhere ... the comment header states that > this is part of the GNU C library.
The original, before my hacks, was a straight copy from glibc; so this is intended to be pushed back to glibc. > if it were part of glibc, it would be > under the LGPL-2.1, but the comment header in gnulib states GPL-2. This is a recurring conversation on this list. The license in the .c file is currently specified as the most restrictive that people tend to use, but the license line in the gnulib/modules/memmem file makes it clear that when you use gnulib-tool --lgpl --import memmem, you will get a copy of memmem.c with a LGPLv2+ license, as desired, without violating any licensing. > does that > mean memmem will not be released under the LGPL-2.1 and won't be merged into > glibc ? No - I fully intend for my implementation to be usable under LGPLv2+. You should be more than welcome to use it in uClibc. -- Eric Blake