Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!bingvaxu!leah!itsgw!steinmetz!jesup From: jesup@steinmetz.UUCP Newsgroups: comp.mail.uucp Subject: Re: Bugs in DCP (uupc) Message-ID: <7188@steinmetz.steinmetz.UUCP> Date: Tue, 1-Sep-87 18:49:06 EDT Article-I.D.: steinmet.7188 Posted: Tue Sep 1 18:49:06 1987 Date-Received: Thu, 3-Sep-87 02:12:22 EDT References: <7156@steinmetz.steinmetz.UUCP> Reply-To: jesup@steinmetz.UUCP (Randell Jesup) Organization: General Electric CRD, Schenectady, NY Lines: 19 >The most serious is in the system-independant code, in file dcpxfer.c. >There is a line that looks like this: > if (isupper(*cp)) tolower(*cp); >If the problem isn't obvious, the line should read: > *cp = tolower(*cp); >Luckily, Lattice will tell you things like 'statement has no effect', >as it did here. It has been pointed out to me that K&R says tolower is undefined for non-uppercase characters, even if many implementations allow it for any character. Therefor, the line should be: if (isupper(*cp)) *cp = tolower(*cp); Thanks for the correction. -- Randell Jesup (Please use one of these paths for mail) jesup@steinmetz.UUCP (uunet!steinmetz!jesup) jesup@ge-crd.ARPA