summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-11-18 12:09:16 +0100
committerJim Meyering <meyering@redhat.com>2011-11-18 16:00:44 +0100
commit2895f9dcb663cc11cd70395c98442574bc5df5fd (patch)
tree013a2179261899c01448c077e38bfec663f5efe8 /NEWS
parentff37e81646b996b43d4635ddbb12c4e2654d544b (diff)
downloadgnulib-2895f9dcb663cc11cd70395c98442574bc5df5fd.tar.gz
hash: deprecate poorly-named hash_insert0: use hash_insert_if_absent
* lib/hash.c (hash_insert_if_absent): Rename from hash_insert0. Add a sentence to the comment. (hash_insert0): New function that simply calls hash_insert_if_absent. * lib/hash.h (hash_insert_if_absent): Declare it. (hash_insert0): Add deprecation attribute. (_GL_ATTRIBUTE_DEPRECATED): Define. * lib/di-set.c (di_set_insert): Use hash_insert_if_absent, not hash_insert0. * NEWS: Mention it, even though it's not really an incompatible change Prompted by a question from Matthew Booth <mbooth@redhat.com>.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 495c81b8df..0322bd26eb 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,10 @@ User visible incompatible changes
Date Modules Changes
+2011-11-18 hash This module deprecates the hash_insert0 function
+ using gcc's "deprecated" attribute. Use the better-
+ named hash_insert_if_absent equivalent.
+
2011-11-04 openat This module no longer provides the mkdirat()
function. If you need this function, you now need
to request the 'mkdirat' module.