Date: Fri, 23 Aug 1996 09:14:16 +0200 (IST) From: Eli Zaretskii To: Daisuke Aoyama Cc: DJ Delorie , djgpp-workers AT delorie DOT com Subject: Re: CR/LF conversion In-Reply-To: <199608221522.AAA19409@mars.st.rim.or.jp> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 23 Aug 1996, =?ISO-2022-JP?B?GyRCQEQ7M0JnMnAbKEI=?= /Daisuke Aoyama wrote: > after `read (fh,buf,3)', it returns 3 and seek at 3 > after `read (fh,buf,4)', it returns 3 and seek at 4 but delete '\r' > > It separates CR from LF. So I cannot found the difference from BUF > and cannot seek backward easily. I think this inconsistency between `read' and `fseek' should be corrected in the alpha release of the C library. Could you try it and see if it fixes this problem? ftp://ftp.delorie.com/pub/djgpp/alpha/960725/djlsr200.zip