bug-gnulib
[Top][All Lists]
Advanced

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

comment fix in hash-pjw-bare


From: Bruno Haible
Subject: comment fix in hash-pjw-bare
Date: Thu, 21 Jan 2016 11:19:25 +0100
User-agent: KMail/4.8.5 (Linux/3.8.0-44-generic; KDE/4.8.5; x86_64; ; )

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  <address@hidden>
+
+       hash-pjw-bare: Fix comment.
+       * lib/hash-pjw-bare.h (hash_pjw_bare): Fix comment.
+
 2016-01-20  Pádraig Brady  <address@hidden>
 
        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;




reply via email to

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