Skip to content

Compare strings and buffers like uACPI#303

Merged
IsaacWoods merged 1 commit into
rust-osdev:mainfrom
martin-hughes:i297-string-equality
May 24, 2026
Merged

Compare strings and buffers like uACPI#303
IsaacWoods merged 1 commit into
rust-osdev:mainfrom
martin-hughes:i297-string-equality

Conversation

@martin-hughes
Copy link
Copy Markdown
Contributor

Closes #297

Compare strings and buffers like uACPI or Windows NT would do. They compare the whole string/buffer - unless doing and/or comparisons of buffers, when they look only at the first 4 bytes.

Closes rust-osdev#297

Compare strings and buffers like uACPI or Windows NT would do. They
compare the whole string/buffer - unless doing and/or comparisons of
buffers, when they look only at the first 4 bytes.
@IsaacWoods
Copy link
Copy Markdown
Member

Nice, thanks!

@IsaacWoods IsaacWoods merged commit fd48c88 into rust-osdev:main May 24, 2026
5 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.

String equality checking wrong - only checks 4 bytes?

2 participants