[NON-WHINE] RE: mkstemp vs. text mode

Gary R. Van Sickle g.r.vansickle@worldnet.att.net
Thu Apr 20 01:55:00 GMT 2006

> From: Gary R. Van Sickle
> > From: Gary R. Van Sickle
> > 
> > > From: Christopher Faylor
> > [snip]
> > > Yes, I think it makes sense to open temp files in binary
> > but I'll bet
> > > that someone is relying on textmode behavior.
> > 
> > I'll see that bet and raise you; I'll bet this results in massive 
> > problems.
> > 

Welp, looks like I (probably) lose that hand (happily).  Using:

CYGWIN_NT-5.1 DFW5RB41 1.5.20s(0.155/4/2) 20060418 12:31:05 i686 Cygwin

with a /tmp mounted as text mode works fine for a configure, build, and
install of wxWindows.  The configure does most of the temp file
machinations, with about 2000 add, modify, and remove events in the /tmp
directory, as reported by a program I have for monitoring such things.

Gary R. Van Sickle

More information about the Cygwin-patches mailing list