On 07/18/2010 01:54 AM, Eric Blake wrote:
By the way, newer cygwin provides mkostemp() - did you only fix the
problem for older cygwin that lacks mkostemp and thus gets the gnulib
fallback that doesn't force binary?

mkostemp also forces binary? That's a bug IMO, since the caller can tell Cygwin if it wants binary or text.

And what's wrong with using
setmode() (from<io.h>, or from gnulib's "binary-io.h") on the fd
created by mkstemp() to ensure the desired mode, rather than having to
use mkostemp?

I want the default type given by the mount point (using the mount type of /tmp is fine), can I get that?

Paolo



Reply via email to