texlive[54947] Build/source/texk/web2c/ctiedir: [CTIE] Editorial
commits+ascherer at tug.org
commits+ascherer at tug.org
Thu Apr 30 17:47:57 CEST 2020
Revision: 54947
http://tug.org/svn/texlive?view=revision&revision=54947
Author: ascherer
Date: 2020-04-30 17:47:57 +0200 (Thu, 30 Apr 2020)
Log Message:
-----------
[CTIE] Editorial modifications.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/ctiedir/ChangeLog
trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch
Modified: trunk/Build/source/texk/web2c/ctiedir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ctiedir/ChangeLog 2020-04-30 12:59:57 UTC (rev 54946)
+++ trunk/Build/source/texk/web2c/ctiedir/ChangeLog 2020-04-30 15:47:57 UTC (rev 54947)
@@ -1,3 +1,7 @@
+2020-04-30 Andreas Scherer <https://ascherer.github.io>
+
+ * ctie-k.ch: More editorial modifications for ctie.w.
+
2020-04-27 Andreas Scherer <https://ascherer.github.io>
* ctie-k.ch: Editorial modifications for ctie.w.
Modified: trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch
===================================================================
--- trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch 2020-04-30 12:59:57 UTC (rev 54946)
+++ trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch 2020-04-30 15:47:57 UTC (rev 54947)
@@ -65,8 +65,8 @@
so uses the |char| type for input and output.
The \.{kpathsea} library (version 3.4.5 and higher) defines the |true|,
-|false|, |boolean| and |string| types in \.{kpathsea/types.h}, so we do not
-actually need to define them here.
+|false|, |boolean| and |string| types in \.{<kpathsea/simpletypes.h>},
+so we do not actually need to define them here.
@s boolean int
@s string int
@@ -87,7 +87,8 @@
extern char *strerror();
@y
@ We don't need to predeclare any string handling functions here, as
-the \.{kpathsea} headers do the right thing.
+the \.{kpathsea} headers do the right thing by including \.{<string.h>}
+behind the scenes.
@z
@x l.149
@@ -108,7 +109,7 @@
@<Global \&{\#include}s@>=
#include <stdio.h>
@y
-predefined as we include the \.{stdio.h} definitions
+predefined as we include the \.{<stdio.h>} definitions
through the \.{kpathsea} interface.
@<Global \&{\#include}s@>=
@@ -329,6 +330,16 @@
void pfatal_error (const char *s, const char *t)
@z
+ at x l.713
+@ We need an include file for the above.
+
+@<Global \&{\#include}s@>=
+#include <errno.h>
+ at y
+@ The \.{<errno.h>} include file for the above comes via the \.{kpathsea}
+interface.
+ at z
+
@x l.731 Use binary mode for output files
out_file=fopen(out_name, "w");
@y
@@ -482,9 +493,7 @@
@x l.1119 Add Web2C version to banner string
printf("%s\n", banner); /* print a ``banner line'' */
@y
-{
- printf("%s (%s)\n", banner, kpathsea_version_string); /* print a ``banner line'' */
-}
+printf("%s (%s)\n", banner, kpathsea_version_string); /* print a ``banner line'' */
@z
Section 63: use 'none' more than once.
@@ -556,8 +565,8 @@
puts ("both the CTIE copyright and the GNU General Public Licence.");
puts ("For more information about these matters, see the files");
puts ("named COPYING and the CTIE source.");
- puts ("Primary authors of CTIE: Julian Gilbey.");
- puts ("Kpathsea written by Karl Berry and others.\n");
+ puts ("Primary author of CTIE: Julian Gilbey.");
+ puts ("Kpathsea written by Karl Berry and others.");
exit (0);
}
More information about the tex-live-commits
mailing list.