[EXTERNAL] Re: [PATCH 2/7] Use matching format for NTSTATUS

Lavrentiev, Anton (NIH/NLM/NCBI) [C] lavr@ncbi.nlm.nih.gov
Sun Jan 16 00:20:03 GMT 2022

> Just the suggestion that as all standards support using %#08x to prefix
> with 0x (prefix output capitalization follows format letter
> capitalization) and would be preferable to hacking the text 0x onto the
> format %08X, doing all of the formatting work with the format flags.

First off, I am perfectly aware of the "alternate" form, and I don't like it
because it either creates all-caps representation (which I find hard to read,
and I mentioned that), or it creates a "camel-case" representation (all "normal"
digits are "capital" letters, while a-f are not, and I do not like that,

> My awareness and attitude to modifying output presentation using only
> formats was hardened by those not using date formats to modify date
> presentation during projects prior to Y2K!

It may be so but it has nothing to do with the output of NT status here.

Also, a little tolerance of how something can be done not exactly the way
you would do it, goes a long way.

Thank you for not trolling,

Anton Lavrentiev
Contractor NIH/NLM/NCBI

More information about the Cygwin-patches mailing list