texlive[57526] Build/source/texk/dvipdfm-x: No kpathsea error message

commits+kakuto at tug.org commits+kakuto at tug.org
Tue Jan 26 01:57:35 CET 2021


Revision: 57526
          http://tug.org/svn/texlive?view=revision&revision=57526
Author:   kakuto
Date:     2021-01-26 01:57:35 +0100 (Tue, 26 Jan 2021)
Log Message:
-----------
No kpathsea error message in quiet mode (S. Hirata)

Modified Paths:
--------------
    trunk/Build/source/texk/dvipdfm-x/ChangeLog
    trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c
    trunk/Build/source/texk/dvipdfm-x/xbb.c

Modified: trunk/Build/source/texk/dvipdfm-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/ChangeLog	2021-01-26 00:54:16 UTC (rev 57525)
+++ trunk/Build/source/texk/dvipdfm-x/ChangeLog	2021-01-26 00:57:35 UTC (rev 57526)
@@ -1,3 +1,10 @@
+2021-01-26  Shunsaku Hirata  <shunsaku.hirata74 at gmail.com>
+
+	* dvipdfmx.c: Set the runtime flag suppressing error messages
+	for kpathsea library when "-q" option is used.
+	* dvipdfmx.c, xbb.c: Update copyright year.
+	https://tug.org/pipermail/dvipdfmx/2021-January/000216.html
+
 2021-01-24  Shunsaku Hirata  <shunsaku.hirata74 at gmail.com>
 
 	* spc_misc.c: Add a compatibility special pdffontattr.

Modified: trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c	2021-01-26 00:54:16 UTC (rev 57525)
+++ trunk/Build/source/texk/dvipdfm-x/dvipdfmx.c	2021-01-26 00:57:35 UTC (rev 57526)
@@ -1148,6 +1148,11 @@
   MESG("%s -> %s\n", dvi_filename ? dvi_filename : "stdin",
                      pdf_filename ? pdf_filename : "stdout");
 
+  /* Kpathsea messages:
+   * really_quiet > 1 is actually for suppressing error messages in dvipdfmx.
+   */
+  kpse_make_tex_discard_errors = really_quiet;
+
   /* Setup Options */
   settings.ver_major = pdf_version_major;
   settings.ver_minor = pdf_version_minor;
@@ -1155,7 +1160,7 @@
   /* PDF trailer ID. */
   if (!has_id) {
 #define PRODUCER \
-"%s-%s, Copyright 2002-2020 by Jin-Hwan Cho, Matthias Franz, and Shunsaku Hirata"
+"%s-%s, Copyright 2002-2021 by Jin-Hwan Cho, Matthias Franz, and Shunsaku Hirata"
     char producer[256];
     
     sprintf(producer, PRODUCER, my_name, VERSION);

Modified: trunk/Build/source/texk/dvipdfm-x/xbb.c
===================================================================
--- trunk/Build/source/texk/dvipdfm-x/xbb.c	2021-01-26 00:54:16 UTC (rev 57525)
+++ trunk/Build/source/texk/dvipdfm-x/xbb.c	2021-01-26 00:57:35 UTC (rev 57526)
@@ -1,5 +1,5 @@
 /* This is extractbb, a bounding box extraction program.
-    Copyright (C) 2008-2020 by Jin-Hwan Cho and Matthias Franz
+    Copyright (C) 2008-2021 by Jin-Hwan Cho and Matthias Franz
     and the dvipdfmx project team.
 
     This program is free software; you can redistribute it and/or modify
@@ -52,7 +52,7 @@
 static void show_version(void)
 {
   fprintf (stdout, "\nThis is %s Version " VERSION "\n", my_name);
-  fprintf (stdout, "\nCopyright (C) 2008-2020 by Jin-Hwan Cho and Matthias Franz\n");
+  fprintf (stdout, "\nCopyright (C) 2008-2021 by Jin-Hwan Cho and Matthias Franz\n");
   fprintf (stdout, "\nThis is free software; you can redistribute it and/or modify\n");
   fprintf (stdout, "it under the terms of the GNU General Public License as published by\n");
   fprintf (stdout, "the Free Software Foundation; either version 2 of the License, or\n");



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