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

KOSP => KOSU #54

Merged
merged 4 commits into from
Dec 10, 2024
Merged

Conversation

andressbarajas
Copy link
Collaborator

  • Update byteorder to not rely on arch types
  • Fix wide character support
  • Correct out-of-memory test in scandir
  • Reverse the order of searching the genwait queue

byteorder.h was including <sys/_types.h> taking
advantage of an old workaround that exports our
internal types through that header and into stdio.

This was the only file relying on that workaround in
the KOS codebase and adjusting it is needed for #840
The previous cleanup of bfont.h accidentally used the size of
a thin char to calculate the offsets for all the wide chars.

The impact was visible in the bfont example where instead of
printing the start button icon, a JISX-0208 character was printed.
The test after realloc was improperly testing 'list' for NULL
rather than '*list'.
This should provide an optimization for the more
common scenario of new entries waiting longer than old.
@andressbarajas andressbarajas merged commit d16dd03 into KallistiOSUnchained:master Dec 10, 2024
4 checks passed
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.

2 participants