Hi Keith,

> > It looks like a mismatch between the mode used to open the temporary
> > file and the mode that's then used to map a FILE* onto it with
> > fdopen.
...
> Notwithstanding that we probably do really want O_BINARY here, my
> tests on a Win7 Home Premium VM

Now that charlie has confirmed that flipping the single O_BINARY bit on
a single call to open() has fixed the initial problem, I agree it should
be changed in the source.  Debian Code Search shows lots of conditional
`#define O_BINARY 0' so the flag can be used if it doesn't exist.

Cheers, Ralph.

Reply via email to