summaryrefslogtreecommitdiff
path: root/Build/source/utils/autosp/TLpatches
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-01-09 23:14:12 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2019-01-09 23:14:12 +0000
commitb8b72a0740514b41b570cda48d26ef3999463023 (patch)
treefe06e6fc8c5f58ea50dad8854bceb652df64c7af /Build/source/utils/autosp/TLpatches
parent9823a3300cfc8502e141583168741e3d8f757537 (diff)
autosp 2019-01-08
git-svn-id: svn://tug.org/texlive/trunk@49653 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/autosp/TLpatches')
-rw-r--r--Build/source/utils/autosp/TLpatches/ChangeLog5
-rw-r--r--Build/source/utils/autosp/TLpatches/patch-01-binary-write72
2 files changed, 18 insertions, 59 deletions
diff --git a/Build/source/utils/autosp/TLpatches/ChangeLog b/Build/source/utils/autosp/TLpatches/ChangeLog
index bff16809006..cb793183d88 100644
--- a/Build/source/utils/autosp/TLpatches/ChangeLog
+++ b/Build/source/utils/autosp/TLpatches/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-10 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ Import autosp-2019-01-08.
+ * patch-01-binary-write: Adapt.
+
2018-03-12 Norbert Preining <norbert@preining.info>
* patch-01-binary-write: Add two changes in autosp.c.
diff --git a/Build/source/utils/autosp/TLpatches/patch-01-binary-write b/Build/source/utils/autosp/TLpatches/patch-01-binary-write
index ed161880d3b..a2e5790dd84 100644
--- a/Build/source/utils/autosp/TLpatches/patch-01-binary-write
+++ b/Build/source/utils/autosp/TLpatches/patch-01-binary-write
@@ -1,53 +1,7 @@
-diff -ur autosp-2018-02-23/autosp.c autosp-src/autosp.c
---- autosp-2018-02-23/autosp.c Fri Feb 23 23:55:07 2018
-+++ autosp-src/autosp.c Mon Mar 12 17:58:18 2018
-@@ -510,7 +510,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? */
- )
-@@ -984,7 +984,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)
-@@ -1008,7 +1008,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 == '{') /* {...} */
-@@ -2007,7 +2007,7 @@
- || prefix ("\\end%", *ln)
- || prefix ("\\end{document}", *ln) )
- {
-- fprintf (outfile, *ln);
-+ fprintf (outfile, "%s", *ln);
- exit(0);
- }
-
-@@ -2054,7 +2054,8 @@
- while ( c != EOF )
- {
- ungetc (c, infile);
-- fgets(line, LINE_LEN, infile);
-+ if (fgets(line, LINE_LEN, infile) == NULL)
-+ error ("Unexpected EOF.");
- lineno++;
- process_line ();
- c = getc (infile);
-@@ -2153,7 +2154,7 @@
+diff -ur autosp-2019-01-08/autosp.c autosp-src/autosp.c
+--- autosp-2019-01-08/autosp.c Tue Jan 08 22:27:17 2019
++++ autosp-src/autosp.c Thu Jan 10 07:39:06 2019
+@@ -183,7 +183,7 @@
}
else
{
@@ -56,7 +10,7 @@ diff -ur autosp-2018-02-23/autosp.c autosp-src/autosp.c
if (outfile == NULL)
{ printf ("Can't open %s\n", outfilename);
exit (EXIT_FAILURE);
-@@ -2171,7 +2172,7 @@
+@@ -201,7 +201,7 @@
*logfilename_n = '\0';
append (logfilename, &logfilename_n, "alog", sizeof (logfilename));
if (debug)
@@ -65,10 +19,10 @@ diff -ur autosp-2018-02-23/autosp.c autosp-src/autosp.c
if (logfile == NULL)
{ printf ("Can't open %s\n", logfilename);
exit (EXIT_FAILURE);
-diff -ur autosp-2018-02-23/rebar.c autosp-src/rebar.c
---- autosp-2018-02-23/rebar.c Thu Jun 15 03:08:12 2017
-+++ autosp-src/rebar.c Sat Feb 24 08:08:28 2018
-@@ -262,7 +262,7 @@
+diff -ur autosp-2019-01-08/rebar.c autosp-src/rebar.c
+--- autosp-2019-01-08/rebar.c Tue Jan 08 22:28:27 2019
++++ autosp-src/rebar.c Thu Jan 10 07:39:23 2019
+@@ -264,7 +264,7 @@
else
append (outfilename, &outfilename_n, ".aspc", sizeof (outfilename));
}
@@ -77,10 +31,10 @@ diff -ur autosp-2018-02-23/rebar.c autosp-src/rebar.c
if (outfile == NULL)
{ fprintf (stderr,"Can't open %s\n", outfilename);
exit (EXIT_FAILURE);
-diff -ur autosp-2018-02-23/tex2aspc.c autosp-src/tex2aspc.c
---- autosp-2018-02-23/tex2aspc.c Sat Dec 16 00:04:13 2017
-+++ autosp-src/tex2aspc.c Sat Feb 24 08:08:56 2018
-@@ -337,7 +337,7 @@
+diff -ur autosp-2019-01-08/tex2aspc.c autosp-src/tex2aspc.c
+--- autosp-2019-01-08/tex2aspc.c Tue Jan 08 22:28:57 2019
++++ autosp-src/tex2aspc.c Thu Jan 10 07:39:45 2019
+@@ -342,7 +342,7 @@
append (outfilename, &outfilename_n, ".aspc", sizeof (outfilename));
}