[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memchr speed
From: |
Simon Josefsson |
Subject: |
Re: memchr speed |
Date: |
Mon, 28 Apr 2008 16:21:34 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Eric Blake asked:
>> Also, is anyone interested in making gnulib's memchr and strchrnul more
>> efficient by copying the optimizations learned in memchr2?
>
> Checked in like this:
>
> 2008-04-26 Eric Blake <address@hidden>
> Bruno Haible <address@hidden>
>
> * lib/memchr.c: Include intprops.h.
This causes a license incompatibility for GnuTLS:
This causes license incompatibility because intprops is LGPL:
gnulib-tool: *** incompatible license on module intprops: LGPL
gnulib-tool: *** Stop.
GnuTLS uses memmem-simple which pulls in memchr.
I propose the patch below. Paul, is this ok?
diff --git a/modules/intprops b/modules/intprops
index f4709d5..0680adf 100644
--- a/modules/intprops
+++ b/modules/intprops
@@ -14,7 +14,7 @@ Include:
"intprops.h"
License:
-LGPL
+LGPLv2+
Maintainer:
Paul Eggert
/Simon
Re: memchr2 speed, gcc, Bruno Haible, 2008/04/26
Re: strchrnul speed, Eric Blake, 2008/04/28