texlive[58740] Build/source/texk/web2c/ctiedir: [CTIE] Include TeX

commits+ascherer at tug.org commits+ascherer at tug.org
Sun Apr 4 12:05:18 CEST 2021


Revision: 58740
          http://tug.org/svn/texlive?view=revision&revision=58740
Author:   ascherer
Date:     2021-04-04 12:05:18 +0200 (Sun, 04 Apr 2021)
Log Message:
-----------
[CTIE] Include TeX Live versionstring in banner line.

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	2021-04-04 10:05:16 UTC (rev 58739)
+++ trunk/Build/source/texk/web2c/ctiedir/ChangeLog	2021-04-04 10:05:18 UTC (rev 58740)
@@ -1,3 +1,7 @@
+2021-04-04  Andreas Scherer  <https://ascherer.github.io>
+
+	* ctie-k.ch: Include TeX Live versionstring in banner line.
+
 2021-03-10  Andreas Scherer  <https://ascherer.github.io>
 
 	* ctie-k.ch: More concise 'find/fopen' logic.

Modified: trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch
===================================================================
--- trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch	2021-04-04 10:05:16 UTC (rev 58739)
+++ trunk/Build/source/texk/web2c/ctiedir/ctie-k.ch	2021-04-04 10:05:18 UTC (rev 58740)
@@ -181,6 +181,8 @@
 
 @<Global \&{\#include}s@>=
 #include <kpathsea/kpathsea.h>
+#include <w2c/config.h>
+#include <lib/lib.h>
 @z
 
 @x l.176 And this.
@@ -581,7 +583,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, versionstring); /* print a ``banner line'' */
 @z
 
 Section 63: use 'none' more than once.
@@ -648,7 +650,7 @@
 static void
 print_version_and_exit (const_string name, const_string version)
 {
-    printf ("%s %s\n", name, version);
+    printf ("%s %s%s\n", name, version, versionstring);
     puts (kpathsea_version_string);
 
     puts ("Copyright (C) 2002,2003 Julian Gilbey.");



More information about the tex-live-commits mailing list.