This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding REMOVE action to hsearch


On Wednesday 26 June 2013 09:24:30 Bartosz GoÅaszewski wrote:
> Glibc hashmap implementation doesn't allow individual entries to be
> removed. This has rendered the glibc hashmap useless for me on
> multiple occasions. Is this an intentional design? If not, then would
> there by any chance of merging an implementation of REMOVE action for
> hsearch if I did it?

to be fair, the hashmap implementation is based on the POSIX one:
	http://pubs.opengroup.org/onlinepubs/9699919799/functions/hcreate.html

i would start by browsing the upstream working group to see if anyone has 
already made a proposal that fits your needs:
	http://www.austingroupbugs.net
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]