Mail Archives: djgpp/1994/04/12/16:37:00

From: Eric Backus <ericb AT lsid DOT hp DOT com>
Subject: Re: zip format for gnu tools avaiable
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 12 Apr 94 9:16:40 PDT
"tyuan AT beta DOT wsl DOT sini :" at Apr 12, 94 5:56 pm :
Mailer: Elm [revision: 70.85]

Tein Horng Yuan writes:
> I just make zip format available for gnu tools on
> I also make all executable to run w/ go32 1.11.
> At the same time, if you only want the binary file,
> you can download file w/ filename like "".
> There are files modified by me in it as well.
> fileutil is ok now.  The problem is that I must open
> files with O_BINARY attribute.

The problem is figuring out which files to open with O_BINARY, and
which not to.  It's not as easy as it looks.  You also sometimes have
to do a setmode() on stdin and/or stdout.  You need to modify the
method of generating backup filenames, if you didn't already.  You
also need to be careful of DOS drive specifications in filenames,
especially filenames that do not include the root directory, like


If you did't deal with these issues, you may find your port
    Eric Backus
    ericb AT lsid DOT hp DOT com
    (206) 335-2495

p.s.  I ported most of the GNU utilities to djgpp several years ago
(see ~ftp/pub/msdos/djgpp.stuff/fsfports).
Unfortunately, I haven't had time to keep this port up to date, but I
do remember that some of these issues are a pain to deal with.

- Raw text -

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