Mail Archives: djgpp/1994/04/12/12:30:52
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 "xxxbin.zip".
> 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
ericb AT lsid DOT hp DOT com
p.s. I ported most of the GNU utilities to djgpp several years ago
(see math.niu.edu ~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 -