summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hdestroy(3): stop freeing key valuesdaniel2026-08-101-2/+1
| | | | | | | | | | | | | | POSIX leaves ownership of ENTRY.key with the caller. Our current behaviour came from NetBSD when this code was imported in 2004. NetBSD and FreeBSD both stopped freeing key values in July 2014. NetBSD in commit fe0a1a6 and FreeBSD in commit e19f362. Remove the call to free(3) to align ourselves with NetBSD, FreeBSD and POSIX. Also adjust rsync for the change in semantics. Flagged by Sortix os-test. ok millert@, deraadt@
* Remove dead support for changing BDB hash algorithm and cache of alternativesguenther2016-05-291-5/+4
| | | | ok natano@ millert@ deraadt@
* Pull in namespace.h when building all .c files using gcc's -include option,guenther2015-09-101-2/+1
| | | | | | | | so that we can provide asm labels for the memcpy/memset/__stack_smash_handler calls that it generates ab initio. Eliminate direct #includes of it. Make sure it's a dependency of all objects (unnecessary for asm, but close enough). ok deraadt@
* Only need <stdint.h> and not all of <inttypes.h> hereguenther2014-08-101-2/+2
|
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
|
* fix a few warnings, keep the crypt stuff for later.espie2005-10-101-2/+2
| | | | okay otto@
* zap remaining rcsid.espie2005-08-081-10/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* Working hcreate(3) et al from NetBSD (cgd) via ray at cyth dot net.millert2004-06-241-0/+200
Now passes the regress tests.