summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix hdestroy() compliance issue.pfg2014-07-211-1/+0
| | | | | | | | | | | | | | | | | | | The hcreate(3) implementation and related functions we inherited from NetBSD used to free() the key value, something that is not supported by the standard implementation. This would cause a segmentation fault when attempting to run the examples from the opengroup and linux manpages. NetBSD has added non-standard calls to provide the previous behaviour but hdestroy is not very commonly used so at this time it seems excessive to bring those to FreeBSD. Bump the __FreeBSD_version as this is an ABI change. Reference: http://bugs.dragonflybsd.org/issues/1398 MFC after: 2 weeks
* Update license.pfg2014-07-211-7/+2
| | | | | | NetBSD has removed the advertisement clause from this file. Obtained from: NetBSD (CVS rev. 1,8)
* Add re-entrant versions of the hash functions based on the GNU api.pfg2014-07-211-29/+68
| | | | | | | While testing this I found a conformance issue in hdestroy() that will be fixed in a subsequent commit. Obtained from: NetBSD (hcreate.c, CVS Rev. 1.7)
* libc/stdlib: Minor cleanups to code originating in NetBSDpfg2014-07-151-3/+3
| | | | | | | Mostly ANSIfication and typos. Obtained from: NetBSD MFC after: 5 days
* - remove superfluous worddanger2008-07-061-3/+3
| | | | | | - remove contractions MFC after: 3 days
* Remove improper use of <namespace.h>deischen2002-06-271-1/+0
|
* Fix the style of the SCM ID's.obrien2002-03-221-1/+3
| | | | I believe have made all of libc .c's as consistent as possible.
* Add new, from scratch implementation of hsearch() et al that actually works.ru2001-05-151-0/+184
Obtained from: NetBSD MFC after: 1 month
OpenPOWER on IntegriCloud