delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/17/03:08:23

Date: Thu, 17 Oct 1996 09:02:39 +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: <9610161624.aa08046@ailin.inti.edu.ar>
Message-Id: <Pine.SUN.3.91.961017085215.24334F-100000@is>
Mime-Version: 1.0

On Wed, 16 Oct 1996, Salvador Eduardo Tropea (SET) wrote:

>   So if better if all the files are UNIX. That's the same for info.exe and
> the files are little smaller in this way, so I don't see any reason to
> distribute some files in DOS format.

Please don't do that.  Info.exe can read both DOS- and Unix-style files,
both compressed and uncompressed, so why shouldn't your Info reader do the
same?  It is so simple!  Previous versions of info.exe indeed required
Unix-style files, but this produced a flood of FAQs (the FAQ list still
includes an answer to such a question in section 6.8; that problem was
solved in the port of Texinfo 3.6).  Making Info files Unix-style only 
means that if anybody touches such a file with a DOS editor, they 
immediately have a file that will fail Info.  It just doesn't make any 
sense to introduce such a limitation where a solution is so simple (less 
than 10 lines in the Info sources).

> b) My routines calls to the decompressor using system(), and I saw that
> after 10 or 12 calls part of my memory is corrupted.

The version of `system' in the stock v2.0 libc has a bug: it loses 
handles when you use redirection in the command you invoke.  v2.01 
corrects this bug.  A patch is available from the DJGPP bug-tracking 
system, in case you cannot wait for v2.01.

- Raw text -


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