Path: utzoo!attcan!uunet!lll-winken!sol.ctr.columbia.edu!cica!iuvax!silver!boylanr From: boylanr@silver.ucs.indiana.edu (ross boylan) Newsgroups: comp.lang.c Subject: Re: Why is tolower behave different??? Message-ID: <51820@iuvax.cs.indiana.edu> Date: 23 Jul 90 19:51:29 GMT References: <2841@elrond.CalComp.COM> <1863@tkou02.enet.dec.com> Sender: news@iuvax.cs.indiana.edu Distribution: na Lines: 17 diamond@tkou02.enet.dec.com (diamond@tkovoa) writes: >In article <2841@elrond.CalComp.COM> shodsdon@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