Skip to content

Fix spelling in a couple of locally used macros - #20810

Closed
flavioamieiro wants to merge 1 commit into
curl:masterfrom
flavioamieiro:fix-ishexalpha-spelling
Closed

flavioamieiro wants to merge 1 commit into
curl:masterfrom
flavioamieiro:fix-ishexalpha-spelling

Conversation

@flavioamieiro

Copy link
Copy Markdown
Contributor

The ISLOWHEXALHA and ISUPHEXALHA macros were introduced in commit f65f750 and seem to be only referenced locally by the ISXDIGIT macro.

Judging by the ISALPHA macro defined in the same file, it seems like the intention was to spell them as IS.*HEXALPHA.

I noticed this while reading through the code and decided to open a PR, even if it is only a tiny change, just because I was already looking at it and it might be useful. If there is any reason not to merge this, please do close the PR.

The `ISLOWHEXALHA` and `ISUPHEXALHA` macros were introduced in commit
f65f750 and seem to be only referenced locally by the ISXDIGIT macro.
Judging by the ISALPHA macro defined in the same file, it seems like the
intention was to spell them as IS.*HEXALPHA.
@flavioamieiro

Copy link
Copy Markdown
Contributor Author

Quick ping here to see if there's anything I can do to improve this so it's merged (or if you deem it too small of a change to do so) as some time has passed after approval.

@vszakats vszakats closed this in fa5d2cc Mar 17, 2026
@vszakats

Copy link
Copy Markdown
Member

Thanks @flavioamieiro, nothing else to be done, it's merged now!

@flavioamieiro

Copy link
Copy Markdown
Contributor Author

Thank you @vszakats !

outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
The `ISLOWHEXALHA` and `ISUPHEXALHA` macros were introduced in commit
f65f750 and seem to be only referenced locally by the `ISXDIGIT` macro.

Judging by the `ISALPHA` macro defined in the same file, it seems like
the intention was to spell them as `IS.*HEXALPHA`.

I noticed this while reading through the code and decided to open a PR,
even if it is only a tiny change, just because I was already looking at
it and it might be useful. If there is any reason not to merge this,
please do close the PR.

Closes curl#20810
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants