Mail Archives: djgpp/1994/04/12/16:37:00
Tein Horng Yuan writes:
> I just make zip format available for gnu tools on
> phi.sinica.edu.tw(140.109.14.4):/pub/djgpp/tools
> 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
this:
c:filename.ext
If you did't deal with these issues, you may find your port
unreliable.
--
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 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 -