texlive[63360] Build/source/texk/bibtex-x: bibtex-x: Show "Release
commits+takuji at tug.org
commits+takuji at tug.org
Sun May 22 04:29:44 CEST 2022
Revision: 63360
http://tug.org/svn/texlive?view=revision&revision=63360
Author: takuji
Date: 2022-05-22 04:29:44 +0200 (Sun, 22 May 2022)
Log Message:
-----------
bibtex-x: Show "Release version" at the first line of banner
Modified Paths:
--------------
trunk/Build/source/texk/bibtex-x/ChangeLog
trunk/Build/source/texk/bibtex-x/bibtex.c
trunk/Build/source/texk/bibtex-x/utils.c
trunk/Build/source/texk/bibtex-x/version.h
Modified: trunk/Build/source/texk/bibtex-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/bibtex-x/ChangeLog 2022-05-21 23:49:19 UTC (rev 63359)
+++ trunk/Build/source/texk/bibtex-x/ChangeLog 2022-05-22 02:29:44 UTC (rev 63360)
@@ -1,3 +1,11 @@
+2022-05-22 TANAKA Takuji <ttk at 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 at t-lab.opal.ne.jp>
* version.h:
Modified: trunk/Build/source/texk/bibtex-x/bibtex.c
===================================================================
--- trunk/Build/source/texk/bibtex-x/bibtex.c 2022-05-21 23:49:19 UTC (rev 63359)
+++ trunk/Build/source/texk/bibtex-x/bibtex.c 2022-05-22 02:29:44 UTC (rev 63360)
@@ -268,7 +268,10 @@
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 @@
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
Modified: trunk/Build/source/texk/bibtex-x/utils.c
===================================================================
--- trunk/Build/source/texk/bibtex-x/utils.c 2022-05-21 23:49:19 UTC (rev 63359)
+++ trunk/Build/source/texk/bibtex-x/utils.c 2022-05-22 02:29:44 UTC (rev 63360)
@@ -1079,9 +1079,9 @@
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;
Modified: trunk/Build/source/texk/bibtex-x/version.h
===================================================================
--- trunk/Build/source/texk/bibtex-x/version.h 2022-05-21 23:49:19 UTC (rev 63359)
+++ trunk/Build/source/texk/bibtex-x/version.h 2022-05-22 02:29:44 UTC (rev 63360)
@@ -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__ */
More information about the tex-live-commits
mailing list.