Skip to content

fix strict aliasing violations, remove unused libmy files#72

Merged
rafaelvanoni merged 4 commits into
nextfrom
aliasing-fixes
Jun 1, 2026
Merged

fix strict aliasing violations, remove unused libmy files#72
rafaelvanoni merged 4 commits into
nextfrom
aliasing-fixes

Conversation

@rafaelvanoni
Copy link
Copy Markdown
Contributor

No description provided.

@rafaelvanoni rafaelvanoni self-assigned this May 16, 2026
@rafaelvanoni rafaelvanoni requested a review from cmikk May 16, 2026 00:05
Copy link
Copy Markdown
Contributor

@cmikk cmikk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, with a note to copy my_format.[ch] to the main libmy and ensure it is in sync with dnstable/libmy.

Comment thread libmy/my_format.c

return my_bytes_to_hex_str((const uint8_t *) &nval, sizeof(nval), is_upper, dst, dst_size);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears that only wdns and dnstable use the my_format.[ch] files, and neither use this function, so removing it is appropriate. In general, though, a libmy cleanup should focus on files rather than functions.

These files should be rolled into the main libmy repo, in case we want to use them elsewhere.

@rafaelvanoni rafaelvanoni merged commit 46296ab into next Jun 1, 2026
@rafaelvanoni rafaelvanoni deleted the aliasing-fixes branch June 1, 2026 22:27
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.

3 participants