CVS: cvs.openbsd.org: src
Daniel Dickman <[email protected]> Mon, 10 Aug 2026 16:02:41 -0600 (MDT)
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/08/10 16:02:41 Modified files: lib/libc/stdlib: hcreate.3 hcreate.c usr.bin/rsync : flist.c Log message: hdestroy(3): stop freeing key values 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@