Hi, In lib/hash-pjw-bare.h a comment says that the function's result depends on the signedness of 'char'. But in fact it does not: the function does not use the 'char' type at all.
Already reported by Paul in http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00156.html Here's a suggested comment fix: diff --git a/ChangeLog b/ChangeLog index 1bdf766..2772714 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-01-20 Bruno Haible <[email protected]> + + hash-pjw-bare: Fix comment. + * lib/hash-pjw-bare.h (hash_pjw_bare): Fix comment. + 2016-01-20 Pádraig Brady <[email protected]> gnu-web-doc-update: fix addition of new files diff --git a/lib/hash-pjw-bare.h b/lib/hash-pjw-bare.h index c370c12..f8717bf 100644 --- a/lib/hash-pjw-bare.h +++ b/lib/hash-pjw-bare.h @@ -20,5 +20,5 @@ and return the hash code. Note that unlike hash_pjw(), it does not return it modulo a table size. The result is platform dependent: it depends on the size of the 'size_t' - type and on the signedness of the 'char' type. */ + type. */ extern size_t hash_pjw_bare (const void *x, size_t n) _GL_ATTRIBUTE_PURE;
