www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/15/00:09:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 15 Mar 2000 00:08:56 -0500
To: Cygnus Win32 List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Permission denied with makeinfo from texinfo-4.0
Message-ID: <20000315000856.C3982@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com,
Cygnus Win32 List <cygwin AT sourceware DOT cygnus DOT com>
References: <kvwvn5pd44 DOT fsf AT vzell DOT de DOT oracle DOT com> <200003150435 DOT XAA12288 AT mail DOT bcpl DOT net>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <200003150435.XAA12288@mail.bcpl.net>; from dbryan@bcpl.net on Tue, Mar 14, 2000 at 11:35:37PM -0500

On Tue, Mar 14, 2000 at 11:35:37PM -0500, J. David Bryan wrote:
>A workaround is to compile makeinfo with "-DWIN32".  This will use 
>alternate code within files.c which does not exhibit this problem.

Defining -DWIN32 is not usually a good idea.  It usually causes packages
to use windows specific code and workarounds which are not necessary
for cygwin.

Is it possible to provide a little more pinpoint control to get the
files opened with O_BINARY?

Usually I do something like this:

#ifndef O_BINARY
#define O_BINARY 0
#endif

.
.
.
  open("foo", O_CREATE|O_TRUNC|O_BINARY);

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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