-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 1/12/2008 8:55 AM:
|> so we can directly use tolower() here without expanding the
|> argument multiple times?
|
| I would not put side effects into the argument of tolower(): Some platforms
| may expand it into a macro which evaluates the argument more than once.

And such platforms are also broken, again arguing for a ctype and/or
tolower module.  POSIX includes a general rule that macro replacements for
functions must evaluate their argument only once, unless the function
explicitly states otherwise.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiOUq84KuGfSFAYARAvEGAJ4yGZBYA67lbqKpuO4SeRPSa3vnZQCffrl0
LmdOImPxv2ekaiQ2TOzX8YE=
=/Avn
-----END PGP SIGNATURE-----


Reply via email to