diff options
-rw-r--r-- | Build/source/texk/web2c/ctiedir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/ctiedir/ctie-k.ch | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/ctiedir/ChangeLog b/Build/source/texk/web2c/ctiedir/ChangeLog index 732e882ea3b..27ac7dc6c98 100644 --- a/Build/source/texk/web2c/ctiedir/ChangeLog +++ b/Build/source/texk/web2c/ctiedir/ChangeLog @@ -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. diff --git a/Build/source/texk/web2c/ctiedir/ctie-k.ch b/Build/source/texk/web2c/ctiedir/ctie-k.ch index e9ac5959b6e..33e69c02dc5 100644 --- a/Build/source/texk/web2c/ctiedir/ctie-k.ch +++ b/Build/source/texk/web2c/ctiedir/ctie-k.ch @@ -181,6 +181,8 @@ through the \.{kpathsea} interface. @<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 @@ usage_error (void) @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 @@ void print_version_and_exit(name, version) 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."); |