Message-ID: <33FAB80D.6186@nv.aif.or.jp> Date: Wed, 20 Aug 1997 18:25:33 +0900 From: daisuke MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: bug report? Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Precedence: bulk Hello, 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. Is there debugged version already, or patch? Sincerely, Daisuke Hashimoto P.S. It is great that I can use GNU programs on my PC.