Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Wed, 15 Mar 2000 00:08:56 -0500 To: Cygnus Win32 List 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 References: <200003150435 DOT XAA12288 AT mail DOT bcpl DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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