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
On Mon, Apr 17, 2006 at 06:18:38AM -0600, Eric Blake wrote:
Should we change mkstemp to always open in binary mode, regardless of
the mount mode of the directory of the template name? Arguments for
this is that mkstemp is often used by programs for binary data, where a
text-mode /tmp mount point
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.
Nevertheless, I've applied