Date: Thu, 17 Oct 1996 09:02:39 +0200 (IST) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" Cc: djgpp-workers AT delorie DOT com Subject: Re: .INF files questions In-Reply-To: <9610161624.aa08046@ailin.inti.edu.ar> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.