Re: sid cgen cpus broken by absence of pic libiberty

"Frank Ch. Eigler" <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel,gmane.comp.tools.cgen.devel
Message-ID <[email protected]>
Hi -

> Actually, I was being sarcastic.  The whole "set this global variable,
> then do something, and then set it back" maneuver doesn't sit well
> with me; it just feels like asking for trouble.  But I may well be
> exaggerating the issue. [...]

I suspect you are.  A single setlocale(LC_CTYPE) call before the
beginning of input parsing, and perhaps a single call to set it back
at the end of input parsing, is just not that much execution effort.

Still, if you wish to make your own macro for this, fine.  One may
also want to look at what the other parsing-related routines do in
the rest of the toolchain.  Maybe there is some code or policy sharing
opportunity.

- FChE
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCAlyRVZbdDOm/ZT0RAlWRAJ0Zh+cuaWqH0S3Z/DdnfeZvSSERYACePNoc
1xQvimGkZBUsiWdN4Ach6b0=
=et4+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.