Why is tolower behave different???
ross boylan
boylanr at silver.ucs.indiana.edu
Tue Jul 24 05:51:29 AEST 1990
diamond at tkou02.enet.dec.com (diamond at tkovoa) writes:
>In article <2841 at elrond.CalComp.COM> shodsdon at elrond.CalComp.COM (Steve V. Hodsdon) writes:
>>I just finished porting a software package that ran on a VAX 11/780
>>to a Sun SPARCserver. One of the programs would not run.
>>Finally, it dawned on me that the function call tolower was to blame.
>>On the VAX, the call did nothing if the char was already lowercase, while
>>the Sun converted it anyway.
>>I know, I know... RTFM. The FM does say this also.
>Huh? File a bug report. Tell Sun to RTFS.
I recall having a similar problem with tolower, but I think it's a
"feature" not a bug. On some systems tolower is only defined for
upper case laters--that is, it will do strange things to non-upper
case letters. May be a Unix Sys V v. BSD difference. The world would
More information about the Comp.lang.c
mailing list