delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/20/07:48:06

Date: Sun, 20 Oct 1996 13:42:18 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: .INF files questions
In-Reply-To: <9610171437.aa28928@ailin.inti.edu.ar>
Message-Id: <Pine.SUN.3.91.961020133429.29874D-100000@is>
Mime-Version: 1.0

On Thu, 17 Oct 1996, Salvador Eduardo Tropea (SET) wrote:

>   Actually my code automatically converts all the DOS files to UNIX, first ask 
> to the operator if he wants that. Is NOT the same, I use the binary mode for 
> the files becase is:
> a) Much more fast.
> b) Much more safe, I tried with text mode but is imposible, soon or later some 
> thing fails in the seek routines, I'm not making any pointer arithmetic, I'm 

Try the libc in v2.01, it should solve these problems.

> just storing values returned by ftell and then using it with fseek, that's 
> works the major part of the time but not ever. My task uses a lot of seeks and 

Why do you need at all to seek?  You have virtual memory; just read all 
the file into memory and forget about disk I/O.  That's how GNU info 
works.

>   If somebody touchs one of the .inf files with a DOS editor is crazy because 
> that isn't the way to modify the file, you destroy can mess the pointers of the  
> indirect table!!!, the right way is modify the SOURCES not the .infs, if the 

Many people don't download the Texinfo sources, and don't know how to use 
Makeinfo.  Sometimes the Info files include errors (such as mis-spelled 
cross-references to other Info files) which need to be corrected.  It is 
true that this invalidates the tag tables, but Info readers generally use 
the tag table only as guideline, searching a few KBytes around the position 
they point to, so a small change is usually not a problem at all.

- Raw text -


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