[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hash-pjw license

From: Paul Eggert
Subject: Re: hash-pjw license
Date: Wed, 26 Sep 2012 08:17:16 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0

On 09/25/2012 06:19 AM, Nikos Mavrogiannopoulos wrote:

>  Would it be possible to relicense hash-pjw under LGPLv2+ or v3+?

Makes sense to me, since the same code is distributed elsewhere
in gnulib under LGPLv2+ -- see localename.c.  Jim?

> Also would it be possible to have a version that works with
> non-null terminated strings? (patch attached).

Sounds easy, perhaps in a separate file.
> A question on this function is why do you use char *s to describe
> input and not unsigned char*? Given that h is unsigned anyway I don't
> see the purpose for having s signed.

But 'char' might not be signed.  And here it doesn't matter whether it's
signed, so it's cleaner to not say either way.

The basic idea, originally, is that 'char' was supposed to
be either signed char or unsigned char, whichever was faster, so
the C tradition is to use 'char' when we don't care, so to speak.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]