Why is tolower behave different???

diamond@tkovoa diamond at tkou02.enet.dec.com
Mon Jul 23 11:37:24 AEST 1990


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.

It's nice to see that the VAX compiler conforms more closely to the
standard than Sun does.

-- 
Norman Diamond, Nihon DEC     diamond at tkou02.enet.dec.com
This is me speaking.  If you want to hear the company speak, you need DECtalk.



More information about the Comp.lang.c mailing list