[Dwarf-discuss] Do Dwarf symbols only use ascii?

Roger Phillips heidegg@hotmail.com
Thu Nov 2 23:24:11 GMT 2023


And this macro would also work for Utf8?
________________________________
From: Florian Weimer <fw@deneb.enyo.de>
Sent: Thursday, November 2, 2023 4:54 PM
To: Roger Phillips via Dwarf-discuss <dwarf-discuss@lists.dwarfstd.org>
Cc: Roger Phillips <heidegg@hotmail.com>
Subject: Re: [Dwarf-discuss] Do Dwarf symbols only use ascii?

* Roger Phillips via Dwarf-discuss:

> My question is whether these symbols really need the locale
> functionality of libc's isdigit function or if the symbols in Dwarf
> are just standard ascii and could be parsed in a portable way with
> the simple method mentioned there.

I think the current understanding on the glibc side is that isdigit
could be implement as

  #define isdigit(b) ((b) >= '0' && (b) <= '9')

because isdigit recognizing alternate digits would not be compliant
with the C standard.  We just haven't got around to making the change
in the headers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dwarfstd.org/pipermail/dwarf-discuss/attachments/20231102/6c2e5006/attachment-0001.htm>


More information about the Dwarf-discuss mailing list