summaryrefslogtreecommitdiff
path: root/Build/source/utils/autosp/TLpatches/patch-01-binary-write
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/autosp/TLpatches/patch-01-binary-write')
-rw-r--r--Build/source/utils/autosp/TLpatches/patch-01-binary-write75
1 files changed, 0 insertions, 75 deletions
diff --git a/Build/source/utils/autosp/TLpatches/patch-01-binary-write b/Build/source/utils/autosp/TLpatches/patch-01-binary-write
deleted file mode 100644
index b5a2d57f5e1..00000000000
--- a/Build/source/utils/autosp/TLpatches/patch-01-binary-write
+++ /dev/null
@@ -1,75 +0,0 @@
-diff -ur autosp-2020-02-06/autosp.c autosp-src/autosp.c
---- autosp-2020-02-06/autosp.c Thu Feb 06 23:00:34 2020
-+++ autosp-src/autosp.c Fri Feb 07 07:43:38 2020
-@@ -221,7 +221,7 @@
- }
- else
- {
-- outfile = fopen (outfilename, "w");
-+ outfile = fopen (outfilename, "wb");
- if (outfile == NULL)
- { printf ("Can't open %s\n", outfilename);
- exit (EXIT_FAILURE);
-@@ -239,7 +239,7 @@
- *logfilename_n = '\0';
- append (logfilename, &logfilename_n, "alog", sizeof (logfilename));
- if (debug)
-- { logfile = fopen (logfilename, "w");
-+ { logfile = fopen (logfilename, "wb");
- if (logfile == NULL)
- { printf ("Can't open %s\n", logfilename);
- exit (EXIT_FAILURE);
-diff -ur autosp-2020-02-06/rebar.c autosp-src/rebar.c
---- autosp-2020-02-06/rebar.c Thu Feb 06 16:22:35 2020
-+++ autosp-src/rebar.c Fri Feb 07 07:44:13 2020
-@@ -264,7 +264,7 @@
- else
- append (outfilename, &outfilename_n, ".aspc", sizeof (outfilename));
- }
-- outfile = fopen (outfilename, "w");
-+ outfile = fopen (outfilename, "wb");
- if (outfile == NULL)
- { fprintf (stderr,"Can't open %s\n", outfilename);
- exit (EXIT_FAILURE);
-diff -ur autosp-2020-02-06/spacing_note.c autosp-src/spacing_note.c
---- autosp-2020-02-06/spacing_note.c Thu Feb 06 16:22:35 2020
-+++ autosp-src/spacing_note.c Fri Feb 07 07:47:00 2020
-@@ -30,7 +30,7 @@
- update_global_skip (n);
- /* commas will be discarded by filter_output (i) */
- if (*s == '.' && new_beaming == 0 && !dottedbeamnotes)
-- spacing = spacing * 1.50;
-+ spacing = (int)(spacing * 1.50);
- else if ( (*s == '^' || *s == '_' || *s == '=' || *s == '>')
- && !vspacing_active[i] /* is additional spacing needed? */
- )
-@@ -532,7 +532,7 @@
- || prefix ("\\qbpp", s)
- || prefix ("\\dspp", s)
- || doubledotted )
-- { spacing *= 1.75; doubledotted = false;}
-+ { spacing = (int)(spacing * 1.75); doubledotted = false;}
- else
- if (prefix ("\\whp", s)
- || prefix ("\\hup", s)
-@@ -556,7 +556,7 @@
- || prefix ("\\qbp", s)
- || prefix ("\\dsp", s)
- || dotted )
-- { spacing *= 1.5; dotted = false; }
-+ { spacing = (int)(spacing * 1.5); dotted = false; }
-
- t = strpbrk (s+1, "{\\&|$"); /* collective coding? */
- if (*t == '{') /* {...} */
-diff -ur autosp-2020-02-06/tex2aspc.c autosp-src/tex2aspc.c
---- autosp-2020-02-06/tex2aspc.c Thu Feb 06 16:22:35 2020
-+++ autosp-src/tex2aspc.c Fri Feb 07 07:47:30 2020
-@@ -342,7 +342,7 @@
- append (outfilename, &outfilename_n, ".aspc", sizeof (outfilename));
- }
-
-- outfile = fopen (outfilename, "w");
-+ outfile = fopen (outfilename, "wb");
- if (outfile == NULL)
- { printf ("Can't open %s\n", outfilename);
- exit (EXIT_FAILURE);