delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/20/11:08:25

Date: Wed, 20 Aug 1997 18:06:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: daisuke <f6604726 AT nv DOT aif DOT or DOT jp>
cc: djgpp AT delorie DOT com
Subject: Re: bug report?
In-Reply-To: <33FAB80D.6186@nv.aif.or.jp>
Message-ID: <Pine.SUN.3.91.970820180551.24006S-100000@is>
MIME-Version: 1.0

On Wed, 20 Aug 1997, daisuke wrote:

> I use gcc for MS-DOS ported by you, and I am facing problem.  I found
> that atoi function and fgets function working starangely.  I used atoi,
> but it returns incorrect value.  The argument was a character
> representing one digit integer, but it returns four digit integer.  For
> fgets function, file pointer increment is incorrect.  It read a string
> containing 70 character, but increment was only 2 bytes.  Those
> functions sometimes work properly, sometimes don't.

Please post a short program which exhibits these problems.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019