www.delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |