This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Permission denied with makeinfo from texinfo-4.0


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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]