summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-05-22 02:29:44 +0000
committerTakuji Tanaka <ttk@t-lab.opal.ne.jp>2022-05-22 02:29:44 +0000
commit63bbba4973d4a37fe7b9e0665e11456802d80aaf (patch)
treec461e6b4ae311499b2f856bef62ad36d646bd0c4 /Build
parentf27d395eeafefce4da07096f369573cda31ef701 (diff)
bibtex-x: Show "Release version" at the first line of banner
git-svn-id: svn://tug.org/texlive/trunk@63360 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/bibtex-x/ChangeLog8
-rw-r--r--Build/source/texk/bibtex-x/bibtex.c5
-rw-r--r--Build/source/texk/bibtex-x/utils.c4
-rw-r--r--Build/source/texk/bibtex-x/version.h3
4 files changed, 16 insertions, 4 deletions
diff --git a/Build/source/texk/bibtex-x/ChangeLog b/Build/source/texk/bibtex-x/ChangeLog
index 03d93d838a7..5dae3b0b78e 100644
--- a/Build/source/texk/bibtex-x/ChangeLog
+++ b/Build/source/texk/bibtex-x/ChangeLog
@@ -1,3 +1,11 @@
+2022-05-22 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
+
+ * version.h:
+ Bump version to 4.00 (22 may 2022).
+ * bibtex.c, utils.c, version.h:
+ Show "Release version" and TeX Live version at the first line
+ of a banner.
+
2022-05-17 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* version.h:
diff --git a/Build/source/texk/bibtex-x/bibtex.c b/Build/source/texk/bibtex-x/bibtex.c
index eec2cda29aa..0c0735671aa 100644
--- a/Build/source/texk/bibtex-x/bibtex.c
+++ b/Build/source/texk/bibtex-x/bibtex.c
@@ -268,7 +268,10 @@ BEGIN
kpse_set_program_name(argv[0], PROGNAME);
mpl = kpse_var_value("max_print_line");
if (mpl)
+ BEGIN
max_print_line = atoi(mpl);
+ free(mpl);
+ END
else
max_print_line = 79; /* default */
#endif
@@ -282,7 +285,7 @@ BEGIN
initialize ();
if (log_file != NULL) {
- FPRINTF (log_file, "%s\n", BANNER);
+ FPRINTF (log_file, "%s-x%s (%s)\n", BANNER, EXT_VERSION, TL_VERSION);
FPRINTF (log_file, "Implementation: %s\n", IMPLEMENTATION);
FPRINTF (log_file, "Release version: %s\n", VERSION);
#ifdef UTF_8
diff --git a/Build/source/texk/bibtex-x/utils.c b/Build/source/texk/bibtex-x/utils.c
index 5a7b973dffa..0dd077d8b81 100644
--- a/Build/source/texk/bibtex-x/utils.c
+++ b/Build/source/texk/bibtex-x/utils.c
@@ -1079,9 +1079,9 @@ void parse_cmd_line (int argc, char **argv)
break;
case 'v': /**************** -v, --version ************/
- FPRINTF (TERM_OUT, "%s\n", BANNER);
+ FPRINTF (TERM_OUT, "%s-x%s (%s)\n", BANNER, EXT_VERSION, TL_VERSION);
FPRINTF (TERM_OUT, "Implementation: %s\n", IMPLEMENTATION);
- FPRINTF (TERM_OUT, "Release version: %s (%s)\n", VERSION, TL_VERSION);
+ FPRINTF (TERM_OUT, "Release version: %s\n", VERSION);
#ifdef UTF_8
{
UVersionInfo icuVersion;
diff --git a/Build/source/texk/bibtex-x/version.h b/Build/source/texk/bibtex-x/version.h
index 83f8cde3791..f5ea5fc7a4d 100644
--- a/Build/source/texk/bibtex-x/version.h
+++ b/Build/source/texk/bibtex-x/version.h
@@ -89,7 +89,8 @@
*/
#ifndef __VERSION_H__
# define __VERSION_H__ 1
-# define PACKAGE_DATE "(17 may 2022)"
+# define PACKAGE_DATE "(22 may 2022)"
+# define EXT_VERSION PACKAGE_VERSION
# define VERSION PACKAGE_VERSION " " PACKAGE_DATE
#endif /* __VERSION_H__ */