Mail Archives: cygwin-developers/1998/10/14/04:25:59

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: RE: tar, zip, gzip troubles
14 Oct 1998 04:25:59 -0700 :
Message-ID: <>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: "Kubat, Karel" <k DOT kubat AT roccadefinance DOT nl>
Cc: gw32 <gnu-win32 AT cygnus DOT com>

---"Kubat, Karel" <k DOT kubat AT roccadefinance DOT nl> wrote:
> More on open/fopen in binary mode.
> Earnie Boyd writes:
> > I suggest that you get the source code and find all of the
> > statements and properly add the necessary file mode processing
> > switches. Make the appropriate changes to the open/fopen statements.
> You've got my vote on this! Only problem is, fopen() doesn't know a
> or "wb" setting as I've found out. The only way I could think of while
> porting stuff, was to rewrite fopen() into open() calls, using
> as a flag.
> Are there better ways?

This is the first I've heard of this.  "rb" and "wb" should work with
fopen(), if not it's a bug and should be reported as such.

Any others on the list seen this problem?

-                \\||//
--        earnie_boyd AT yahoo DOT com        --
-- --

PS: Newbie's, you should visit my page.
Get your free address at

- Raw text -

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