Hi, * Tony Balinski wrote (2007-09-07 18:04): >Another thing is the expression isalnum((int)*name). If char is >signed (I think it is/was(?) with Sun's compiler), this can cause >problems, especially with the old-fashioned macro implementation of >ctype.h. Better to use isalnum((unsigned char)*name) instead to be >explicit.
Interesting, my book clearly calls for an int for ISO C. Why would the
cast be a problem in this case?
Thorsten Blackmail: False Medication
--
People who disagree with me are by definition crazy. (Until
I change my mind, when they can suddenly become upstanding
citizens. I'm flexible, and not black-and-white.)
- Linus Torvalds
pgpkBCrfGbZMf.pgp
Description: PGP signature
-- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
