From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro -> possible bug Date: Thu, 8 Jan 1998 18:43:55 +0000 Organization: None Distribution: world Message-ID: References: <34B39B82 DOT 4D55 AT oce DOT nl> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk A. Jans-Beken writes: >It seems that the standard function reads a string INCLUDING the '\n' at >the end while the packed function reads a string WITHOUT the trailing >'\n'. The Allegro code reads the entire thing including the \n, but doesn't bother storing the trailing character in the returned string. Yes, this a slight difference, but I find it much more convenient that way :-) This should certainly be mentioned in the docs, though... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Pigs use it for a tambourine" - Frank Zappa