Mail Archives: djgpp-workers/1996/08/23/02:20:50
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
- Raw text -