History log of /src/lib/libc/stdlib/tdestroy.c (Results 1 – 6 of 6)
Revision Date Author Comments
# 988555e3 16-Jan-2026 Doug Moore <dougm@FreeBSD.org>

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Re

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D54699

show more ...


# b8c99e7d 25-Dec-2025 Konstantin Belousov <kib@FreeBSD.org>

libc: add glibc-compatible tdestroy(3)

The function clears the whole tree.

Relnotes: yes
Reviewed by: alc, emaste
Discussed with: dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differ

libc: add glibc-compatible tdestroy(3)

The function clears the whole tree.

Relnotes: yes
Reviewed by: alc, emaste
Discussed with: dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54365

show more ...


# 988555e3 16-Jan-2026 Doug Moore <dougm@FreeBSD.org>

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Re

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D54699

show more ...


# b8c99e7d 25-Dec-2025 Konstantin Belousov <kib@FreeBSD.org>

libc: add glibc-compatible tdestroy(3)

The function clears the whole tree.

Relnotes: yes
Reviewed by: alc, emaste
Discussed with: dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differ

libc: add glibc-compatible tdestroy(3)

The function clears the whole tree.

Relnotes: yes
Reviewed by: alc, emaste
Discussed with: dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54365

show more ...


# 988555e3 16-Jan-2026 Doug Moore <dougm@FreeBSD.org>

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Re

tdestroy: don't visit one-child node twice

Change tdestroy() to immediately free a node with no right child as
soon as it is encountered. Currently, such nodes are visited twice
before deletion.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D54699

show more ...


# b8c99e7d 25-Dec-2025 Konstantin Belousov <kib@FreeBSD.org>

libc: add glibc-compatible tdestroy(3)

The function clears the whole tree.

Relnotes: yes
Reviewed by: alc, emaste
Discussed with: dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differ

libc: add glibc-compatible tdestroy(3)

The function clears the whole tree.

Relnotes: yes
Reviewed by: alc, emaste
Discussed with: dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54365

show more ...