Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] Update v7malloc to use __dprintf instead of fprintf #2130

Merged
merged 2 commits into from
Dec 13, 2024
Merged

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Dec 13, 2024

Malloc/v7malloc doesn't drag in stdio anymore, uses small __dprintf for simple formatting. No other functional changes with v7malloc, it isn't normally used by applications.

Malloc debug output through __dprintf now goes to console automatically, not stderr.

Also retabs v7malloc.c, see second commit for non retabbing changes.

This is in preparation for using v7malloc's arena allocator for upcoming 64K near heap allocator for the 8086 toolchain.

@ghaerr ghaerr merged commit 896b0b6 into master Dec 13, 2024
2 checks passed
@ghaerr ghaerr deleted the v7malloc branch December 13, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant