texlive[62080] Build/source/texk/xdvik: -debug fixes, version

commits+karl at tug.org commits+karl at tug.org
Sat Feb 19 00:04:03 CET 2022


Revision: 62080
          http://tug.org/svn/texlive?view=revision&revision=62080
Author:   karl
Date:     2022-02-19 00:04:03 +0100 (Sat, 19 Feb 2022)
Log Message:
-----------
-debug fixes, version 22.87.06 from Paul

Modified Paths:
--------------
    trunk/Build/source/texk/xdvik/CHANGES
    trunk/Build/source/texk/xdvik/configure
    trunk/Build/source/texk/xdvik/configure.ac
    trunk/Build/source/texk/xdvik/main.c
    trunk/Build/source/texk/xdvik/string-utils.c
    trunk/Build/source/texk/xdvik/util.c
    trunk/Build/source/texk/xdvik/version.h
    trunk/Build/source/texk/xdvik/xdvi.1.in

Modified: trunk/Build/source/texk/xdvik/CHANGES
===================================================================
--- trunk/Build/source/texk/xdvik/CHANGES	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/CHANGES	2022-02-18 23:04:03 UTC (rev 62080)
@@ -9,6 +9,20 @@
 may contain undetected bugs. Such versions shouldn't be used
 by distributors.
 
+   * 22.87.06 (2022-02-17):
+	+ util.c: Fixed segmentation fault occurring when -debug is used with
+	  a non-numerical argument.
+	+ gui/print-log.h: Avoid duplicate info symbol from .h file
+	+ main.c: Avoid warning in calling strnlen()
+	+ string-utils.c: Shell-escape more characters in shell_escape_string()
+	+ dvi-init.c, util.c, util.h: Resolve crashes under MacOS after hitting
+	  `R' in some situations
+	+ xdvi.1.in: Document "-debug find" and "-debug files" command-line
+	  arguments
+
+   * 22.87.05 (2020-03-01):
+	+ Minor man page tweaks (from Karl Berry)
+
    * 22.87.04 (2020-02-29):
 	+ Added xdvi.desktop and a mechanism to install it (TeX Live r46347)
 	+ Some changes in the man page (TeX Live r46371 and r50583)

Modified: trunk/Build/source/texk/xdvik/configure
===================================================================
--- trunk/Build/source/texk/xdvik/configure	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/configure	2022-02-18 23:04:03 UTC (rev 62080)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for xdvik 22.87.04.
+# Generated by GNU Autoconf 2.71 for xdvik 22.87.06.
 #
 # Report bugs to <tex-k at tug.org>.
 #
@@ -629,8 +629,8 @@
 # Identity of this package.
 PACKAGE_NAME='xdvik'
 PACKAGE_TARNAME='xdvik'
-PACKAGE_VERSION='22.87.04'
-PACKAGE_STRING='xdvik 22.87.04'
+PACKAGE_VERSION='22.87.06'
+PACKAGE_STRING='xdvik 22.87.06'
 PACKAGE_BUGREPORT='tex-k at tug.org'
 PACKAGE_URL=''
 
@@ -1425,7 +1425,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xdvik 22.87.04 to adapt to many kinds of systems.
+\`configure' configures xdvik 22.87.06 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1500,7 +1500,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xdvik 22.87.04:";;
+     short | recursive ) echo "Configuration of xdvik 22.87.06:";;
    esac
   cat <<\_ACEOF
 
@@ -1656,7 +1656,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xdvik configure 22.87.04
+xdvik configure 22.87.06
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2450,7 +2450,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xdvik $as_me 22.87.04, which was
+It was created by xdvik $as_me 22.87.06, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -8776,7 +8776,7 @@
 
 # Define the identity of the package.
  PACKAGE='xdvik'
- VERSION='22.87.04'
+ VERSION='22.87.06'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -18832,7 +18832,7 @@
 Report bugs to <bug-libtool at gnu.org>."
 
 lt_cl_version="\
-xdvik config.lt 22.87.04
+xdvik config.lt 22.87.06
 configured by $0, generated by GNU Autoconf 2.71.
 
 Copyright (C) 2011 Free Software Foundation, Inc.
@@ -20333,7 +20333,7 @@
 printf "%s\n" "#define DEFAULT_PS2PDF_PATH \"$with_default_ps2pdf_path\"" >>confdefs.h
 
 
-XDVIK_VERSION=22.87.04
+XDVIK_VERSION=22.87.06
 
 
 ac_config_files="$ac_config_files Makefile tests/Makefile"
@@ -20877,7 +20877,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xdvik $as_me 22.87.04, which was
+This file was extended by xdvik $as_me 22.87.06, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -20945,7 +20945,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-xdvik config.status 22.87.04
+xdvik config.status 22.87.06
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 

Modified: trunk/Build/source/texk/xdvik/configure.ac
===================================================================
--- trunk/Build/source/texk/xdvik/configure.ac	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/configure.ac	2022-02-18 23:04:03 UTC (rev 62080)
@@ -6,7 +6,7 @@
 dnl   gives unlimited permission to copy and/or distribute it,
 dnl   with or without modifications, as long as this notice is preserved.
 dnl
-m4_define([xdvik_version], [22.87.04])
+m4_define([xdvik_version], [22.87.06])
 AC_INIT([xdvik], xdvik_version, [tex-k at tug.org])
 AC_PREREQ([2.65])
 AC_CONFIG_SRCDIR([xdvi.c])

Modified: trunk/Build/source/texk/xdvik/main.c
===================================================================
--- trunk/Build/source/texk/xdvik/main.c	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/main.c	2022-02-18 23:04:03 UTC (rev 62080)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2014 the xdvik development team
+ * Copyright (c) 2013-2022 the xdvik development team
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to

Modified: trunk/Build/source/texk/xdvik/string-utils.c
===================================================================
--- trunk/Build/source/texk/xdvik/string-utils.c	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/string-utils.c	2022-02-18 23:04:03 UTC (rev 62080)
@@ -1,7 +1,7 @@
 /*
  * miscellaneous string utility functions
  * 
- * Copyright (c) 2001-2004 the xdvik development team
+ * Copyright (c) 2001-2022 the xdvik development team
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to

Modified: trunk/Build/source/texk/xdvik/util.c
===================================================================
--- trunk/Build/source/texk/xdvik/util.c	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/util.c	2022-02-18 23:04:03 UTC (rev 62080)
@@ -1222,8 +1222,9 @@
 	    free(tempstr);
 	}
 	curr = strchr(curr, ',');
-	if (curr != NULL)
-	    curr++;
+	if (curr == NULL)
+	    break;
+	curr++;
     }
 
     return retval;

Modified: trunk/Build/source/texk/xdvik/version.h
===================================================================
--- trunk/Build/source/texk/xdvik/version.h	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/version.h	2022-02-18 23:04:03 UTC (rev 62080)
@@ -2,7 +2,7 @@
 #ifndef VERSION_H_
 #define VERSION_H_
 
-#define XDVI_VERSION "22.87.04"
+#define XDVI_VERSION "22.87.06"
 
 #ifdef MOTIF
 #define XDVI_GUI "(Motif toolkit)"

Modified: trunk/Build/source/texk/xdvik/xdvi.1.in
===================================================================
--- trunk/Build/source/texk/xdvik/xdvi.1.in	2022-02-18 23:02:28 UTC (rev 62079)
+++ trunk/Build/source/texk/xdvik/xdvi.1.in	2022-02-18 23:04:03 UTC (rev 62080)
@@ -431,8 +431,8 @@
 	32768	ft	FreeType library messages (Type 1 fonts)
 	65536	ft_verbose	Verbose FreeType library messages (currently unused)
 	131072	gui	GUI elements
-	262144	find	file searching and more
-	524288	files	file parsing and more
+	262144	find	Searching for strings in the DVI file
+	524288	files	File history and opening DVI files
 .sp 1n
 .fi
 Some of the Kpathsea debugging options are actually provided by Kpathsea;
@@ -4344,7 +4344,7 @@
 the
 .B Kpathsea
 documentation,
-.BR https://ctan.org/pkg/xdvi/ .
+.BR https://ctan.org/pkg/xdvi/ ,
 and the Xdvik home page at
 .BR http://xdvi.sourceforge.net/ .
 .SH AUTHORS



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