Merge remote-tracking branch 'origin/master' - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit ea6d8cf4e6d83ca32ce98443dc939ec897daf6b7
DIR parent 334fc49dab766c427e4ea98719cbaf869e60b6c9
HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Mon, 11 May 2026 10:16:52 +0200
Merge remote-tracking branch 'origin/master'
Diffstat:
M src/libc/arch/posix/tmpfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/libc/arch/posix/tmpfile.c b/src/libc/arch/posix/tmpfile.c
@@ -13,7 +13,7 @@ tmpfile(void)
for (;;) {
if ((fname = tmpnam(NULL)) == NULL)
return NULL;
- if ((fp = fopen(fname, "wt+")) == NULL)
+ if ((fp = fopen(fname, "wbt+")) == NULL)
continue;
_unlink(fname);
return fp;