summaryrefslogtreecommitdiff
path: root/Build/source/utils/autosp/autosp-src/autosp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/autosp/autosp-src/autosp.c')
-rw-r--r--Build/source/utils/autosp/autosp-src/autosp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/autosp/autosp-src/autosp.c b/Build/source/utils/autosp/autosp-src/autosp.c
index 77add3b53d5..c2606923eed 100644
--- a/Build/source/utils/autosp/autosp-src/autosp.c
+++ b/Build/source/utils/autosp/autosp-src/autosp.c
@@ -1,4 +1,4 @@
-char version[12] = "2020-02-06";
+char version[12] = "2020-03-11";
/* Copyright (C) 2014-20 R. D. Tennent School of Computing,
* Queen's University, rdt@cs.queensu.ca
@@ -221,7 +221,7 @@ int main (int argc, char *argv[])
}
else
{
- outfile = fopen (outfilename, "wb");
+ outfile = fopen (outfilename, "w");
if (outfile == NULL)
{ printf ("Can't open %s\n", outfilename);
exit (EXIT_FAILURE);
@@ -239,7 +239,7 @@ int main (int argc, char *argv[])
*logfilename_n = '\0';
append (logfilename, &logfilename_n, "alog", sizeof (logfilename));
if (debug)
- { logfile = fopen (logfilename, "wb");
+ { logfile = fopen (logfilename, "w");
if (logfile == NULL)
{ printf ("Can't open %s\n", logfilename);
exit (EXIT_FAILURE);