🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2718

toupper etc on non lowercase char Non ANSI?

#2718
From: Per Mildner
Date: Sat, 03 Jun 1989 15:40
6 lines
707 bytes
Doesn't ANSI C requires toupper to leave nonlowercase chars unchanged?
This is not the case with gcc on our (sun) system as it seem to use
ctype.h as supplied by sun. G++ have the same problem even though it
has it's own ctype.h. Is this a bug or has ANSI C changed since
Harbison&Steele was printed?
Technical Details
Message-ID: <8906031540.AA20183@mizar.DoCS.UU.SE>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!mizar.docs.uu.se!perm

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!mizar.docs.uu.se!perm
From: perm@mizar.docs.uu.se (Per Mildner)
Newsgroups: gnu.gcc.bug
Subject: toupper etc on non lowercase char Non ANSI?
Message-ID: <8906031540.AA20183@mizar.DoCS.UU.SE>
Date: 3 Jun 89 15:40:39 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 6