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

Print uid_t portably with PRIu64. #1122

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

sortie
Copy link
Contributor

@sortie sortie commented Nov 2, 2024

uid_t on Sortix is 64-bit.

I'm unclear if PRIu64 exists on Visual Studio like you suggested if %llu doesn't work. If not, then we could compat header inttypes.h and add a fallback definition for MSVC that surely has another sequence that does it.

... It might be easier to just drop the uids from the error message. "session file has incorrect owner" is clear enough.

@botovq
Copy link
Contributor

botovq commented Nov 3, 2024 via email

@botovq botovq merged commit 880ac26 into libressl:master Nov 3, 2024
47 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