Skip to content

windows: use consistent format when showing error codes - #18877

Closed
vszakats wants to merge 8 commits into
curl:masterfrom
vszakats:hex
Closed

windows: use consistent format when showing error codes#18877
vszakats wants to merge 8 commits into
curl:masterfrom
vszakats:hex

Conversation

@vszakats

@vszakats vszakats commented Oct 6, 2025

Copy link
Copy Markdown
Member

For GetLastError() and SECURITY_STATUS:
0x-prefixed, 8-digit, lowercase, hex: 0x1234abcd

Also: say GetLastError() instead of errno in one message.

@vszakats vszakats added Windows Windows-specific tidy-up labels Oct 6, 2025
@vszakats vszakats changed the title windows: show error codes in the same format across the codebase windows: show error codes in the same format across the code Oct 6, 2025
@vszakats vszakats changed the title windows: show error codes in the same format across the code windows: use consistent format for error codes Oct 6, 2025
@vszakats vszakats changed the title windows: use consistent format for error codes windows: use consistent format when showing error codes Oct 6, 2025
@vszakats vszakats closed this in 51b85bd Oct 6, 2025
@vszakats
vszakats deleted the hex branch October 6, 2025 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant