www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/08/23/02:20:50

Date: Fri, 23 Aug 1996 09:14:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Daisuke Aoyama <jack AT st DOT rim DOT or DOT jp>
Cc: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: CR/LF conversion
In-Reply-To: <199608221522.AAA19409@mars.st.rim.or.jp>
Message-Id: <Pine.SUN.3.91.960823091035.4631F-100000@is>
Mime-Version: 1.0

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 -


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