summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/printversion.c
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2006-12-26 23:37:34 +0000
committerMartin Schröder <martin@oneiros.de>2006-12-26 23:37:34 +0000
commit812aa90acbef4930ae356ab194f3f2a8f573f6e4 (patch)
treea1b8b3d895238994c60580df9e6f0619b2034923 /Build/source/texk/web2c/lib/printversion.c
parente3bba99884ce591c9485122e96fff7071fc7c112 (diff)
Import pdftex 1.40-rc4, which also changes the signature of
print_version_and_exit, and adds a new library (libs/obsdcompat). git-svn-id: svn://tug.org/texlive/trunk@2959 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/printversion.c')
-rw-r--r--Build/source/texk/web2c/lib/printversion.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/printversion.c b/Build/source/texk/web2c/lib/printversion.c
index cbcf5d56a00..a120deccb3c 100644
--- a/Build/source/texk/web2c/lib/printversion.c
+++ b/Build/source/texk/web2c/lib/printversion.c
@@ -16,8 +16,10 @@ This is PROGRAM, Version VERSION-NUMBER
program, but tangle doesn't allow multiline string constants ... */
void
-printversionandexit P3C(const_string, banner,
- const_string, copyright_holder, const_string, author)
+printversionandexit P4C(const_string, banner,
+ const_string, copyright_holder,
+ const_string, author,
+ char*, extra_info)
{
extern string versionstring; /* from web2c/lib/version.c */
extern KPSEDLL string kpathsea_version_string;/* from kpathsea/version.c */
@@ -54,5 +56,9 @@ printversionandexit P3C(const_string, banner,
printf ("Primary author of %s: %s.\n", prog_name, author);
puts ("Kpathsea written by Karl Berry, Olaf Weber, and others.\n");
+ if (extra_info) {
+ puts (extra_info);
+ }
+
uexit (0);
}