From 495aee441b75276e38c75694ccb455bb6463fdb9 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Tue, 22 Nov 2011 19:11:26 -0500 Subject: Bash-4.2 distribution sources and documentation --- lib/sh/tmpfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sh/tmpfile.c') diff --git a/lib/sh/tmpfile.c b/lib/sh/tmpfile.c index a87c254..0bbc287 100644 --- a/lib/sh/tmpfile.c +++ b/lib/sh/tmpfile.c @@ -40,7 +40,7 @@ extern int errno; #endif -#define BASEOPENFLAGS (O_CREAT | O_TRUNC | O_EXCL) +#define BASEOPENFLAGS (O_CREAT | O_TRUNC | O_EXCL | O_BINARY) #define DEFAULT_TMPDIR "." /* bogus default, should be changed */ #define DEFAULT_NAMEROOT "shtmp" -- cgit v1.2.3