]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Rename module hash-triple-simple to hashcode-named-file.
authorBruno Haible <bruno@clisp.org>
Tue, 29 Apr 2025 22:24:55 +0000 (00:24 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 29 Apr 2025 22:51:32 +0000 (00:51 +0200)
* lib/hashcode-named-file.c: Renamed from lib/hash-triple-simple.c.
* modules/hashcode-named-file: Renamed from modules/hash-triple-simple.
* lib/hash-triple.h: Update.
* modules/canonicalize (Depends-on): Update.
* modules/file-set (Depends-on): Update.
* modules/hash-triple (Depends-on): Update.
* NEWS: Mention the change.

ChangeLog
NEWS
lib/hash-triple.h
lib/hashcode-named-file.c [moved from lib/hash-triple-simple.c with 100% similarity]
modules/canonicalize
modules/file-set
modules/hash-triple
modules/hashcode-named-file [moved from modules/hash-triple-simple with 79% similarity]

index 6fee9a0a5c0d4085dde9471963ca7206efc88b5d..a8112663f06f07e1e2e4653f6339841e26776312 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2025-04-29  Bruno Haible  <bruno@clisp.org>
+
+       Rename module hash-triple-simple to hashcode-named-file.
+       * lib/hashcode-named-file.c: Renamed from lib/hash-triple-simple.c.
+       * modules/hashcode-named-file: Renamed from modules/hash-triple-simple.
+       * lib/hash-triple.h: Update.
+       * modules/canonicalize (Depends-on): Update.
+       * modules/file-set (Depends-on): Update.
+       * modules/hash-triple (Depends-on): Update.
+       * NEWS: Mention the change.
+
 2025-04-29  Bruno Haible  <bruno@clisp.org>
 
        Rename module hash-pjw to hashcode-string.
diff --git a/NEWS b/NEWS
index d009455429732674697b8c0333232f294dd21921..57249ffc026e4dd3d34e9d9cd8f332f3dd5df376 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,8 @@ User visible incompatible changes
 
 Date        Modules         Changes
 
+2025-04-29  hash-triple-simple  This module is renamed to hashcode-named-file.
+
 2025-01-02  string-desc     The function prefix is changed from string_desc_
             xstring-desc    to sd_, and from xstring_desc_ to xsd_.
             string-desc-quotearg
index 63819ae3e9c151f0265959be8d8fb9f54234d291..1e59be64baf00f440048cb0ac3145231c835e7a5 100644 (file)
@@ -40,7 +40,7 @@ struct F_triple
   dev_t st_dev;
 };
 
-/* Defined in module 'hash-triple-simple'.  */
+/* Defined in module 'hashcode-named-file'.  */
 
 extern size_t triple_hash (void const *x, size_t table_size) _GL_ATTRIBUTE_PURE;
 extern bool triple_compare_ino_str (void const *x, void const *y)
index 300705c130a23c0a4f617b799c8dab53ddc47be0..70861a6164fa4b73d89c6ca9ccf1dc1c98490bc8 100644 (file)
@@ -16,7 +16,7 @@ fcntl-h
 file-set
 filename
 getcwd
-hash-triple-simple
+hashcode-named-file
 idx
 intprops
 memmove
index 23efdfbb9d47434770cbfe4eb508dcbcdba88833..d3b3a107f4e4c063cc81b2765eb829142d4f15ff 100644 (file)
@@ -7,7 +7,7 @@ lib/file-set.h
 
 Depends-on:
 hash
-hash-triple-simple
+hashcode-named-file
 bool
 xalloc
 xalloc-die
index b726192a8d493774cefdcb8b0cc0400b9ad37ad1..f908f109495ab021d4f08d51df594b8746e71d28 100644 (file)
@@ -5,7 +5,7 @@ Files:
 lib/hash-triple.c
 
 Depends-on:
-hash-triple-simple
+hashcode-named-file
 same
 same-inode
 
similarity index 79%
rename from modules/hash-triple-simple
rename to modules/hashcode-named-file
index a78c019b17041a20a11d67b775e165d8182aa04c..621560430dbfa2053f4efed46faf5b594484f51a 100644 (file)
@@ -2,7 +2,7 @@ Description:
 Hash functions for file-related triples: name, device, inode.
 
 Files:
-lib/hash-triple-simple.c
+lib/hashcode-named-file.c
 lib/hash-triple.h
 
 Depends-on:
@@ -13,7 +13,7 @@ bool
 configure.ac:
 
 Makefile.am:
-lib_SOURCES += hash-triple-simple.c
+lib_SOURCES += hashcode-named-file.c
 
 Include:
 "hash-triple.h"