Re: Problem with zlib

From: George Greer (greerga@circlemud.org)
Date: 12/05/99


On Sun, 5 Dec 1999, Michael Stilson wrote:

>I didn't see anything like this in a quick scan thru the old stuff, but
>here's my problems:
>
>1: In the compile, at the lines
>    while(*ptr < 0)
>       *ptr++ = '\0';
>always gives "Comparison is always 0 due to limited range of data type"

Your 'char' isn't signed for some reason.

>ie: they get to the "Name:" prompt, type "George" and it always says
>"Did I get that right, UGeorge".
>
>I don't want to just write something to strip the 'U' and call it done if
>there's another problem and that's just fixing a symptom.

That could be because of the TELOPT 83, but I never saw the 'U' when I
tested it.  I should have, but didn't.  If you find it, be more intelligent
about the IAC handling.

--
George Greer            | Code from Erwin S. Andreasen (mudFTP, mcl)
greerga@circlemud.org   | http://www.andreasen.org/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST