git://git.nikiroo.be
/
nsub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d66728a
)
MacOS user reported a bad fopen mode, try 1 to fix it
author
Niki Roo
<niki@nikiroo.be>
Sat, 14 May 2022 21:24:38 +0000
(23:24 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Sat, 14 May 2022 21:24:38 +0000
(23:24 +0200)
src/nsub/nsub_main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/nsub/nsub_main.c
b/src/nsub/nsub_main.c
index 092978f27e51e63618eb317314b324d7a1c2fca4..630605d8000a580fb2781791b6bd9909689a9935 100644
(file)
--- a/
src/nsub/nsub_main.c
+++ b/
src/nsub/nsub_main.c
@@
-111,7
+111,7
@@
int main(int argc, char **argv) {
FILE *out = stdout;
if (!rep && out_file && !(out_file[0] == '-' && !out_file[1])) {
- out = fopen(out_file, "w
b
");
+ out = fopen(out_file, "w");
if (!in) {
fprintf(stderr, "Cannot create output file: %s\n", out_file);
rep = 3;