On 7/28/25 3:32 PM, Junio C Hamano wrote: >> The additive variant of the djb2 hash is used in ELF symbol lookup, and >> Noah Goldstein contributed a well-optimized implementation to Glibc. > > What is the licensing terms for that code you are proposing us to > borrow? If it is anything recent in GNU, I'd expect that it would > be GPLv3, which would be incompatible with our code base? That feels like a quite surprising assessment. Many GNU projects make specific calculations here. See: https://www.gnu.org/licenses/gpl-faq.html#DoesAllGNUSoftwareUseTheGNUGPLAsItsLicense https://www.gnu.org/licenses/why-not-lgpl.html At any rate, quite untrue. Glibc's wikipedia page -- and also its source code, luckily -- documents "LGPL-2.1-or-later", which is more permissive than git (and equally as permissive as xdiff). Reason is documented in the second link. :) -- Eli Schwartz
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature