summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-18 23:04:03 +0000
committerKarl Berry <karl@freefriends.org>2022-02-18 23:04:03 +0000
commita81f084f7fddc46b4a38093d83a84edceb92af8f (patch)
tree82ba4d86cc4958d349afa712bf19140ae94a5bd9
parenta9a767323f5a32d8552c16ef6da0af4cec163044 (diff)
-debug fixes, version 22.87.06 from Paul
git-svn-id: svn://tug.org/texlive/trunk@62080 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/xdvik/CHANGES14
-rwxr-xr-xBuild/source/texk/xdvik/configure24
-rw-r--r--Build/source/texk/xdvik/configure.ac2
-rw-r--r--Build/source/texk/xdvik/main.c2
-rw-r--r--Build/source/texk/xdvik/string-utils.c2
-rw-r--r--Build/source/texk/xdvik/util.c5
-rw-r--r--Build/source/texk/xdvik/version.h2
-rw-r--r--Build/source/texk/xdvik/xdvi.1.in6
8 files changed, 36 insertions, 21 deletions
diff --git a/Build/source/texk/xdvik/CHANGES b/Build/source/texk/xdvik/CHANGES
index bd35043f486..699cec9c3d4 100644
--- a/Build/source/texk/xdvik/CHANGES
+++ b/Build/source/texk/xdvik/CHANGES
@@ -9,6 +9,20 @@ Versions containing major changes are marked as `beta'; these
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)
diff --git a/Build/source/texk/xdvik/configure b/Build/source/texk/xdvik/configure
index bde8d225ba5..53810a3b391 100755
--- a/Build/source/texk/xdvik/configure
+++ b/Build/source/texk/xdvik/configure
@@ -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@tug.org>.
#
@@ -629,8 +629,8 @@ MAKEFLAGS=
# 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@tug.org'
PACKAGE_URL=''
@@ -1425,7 +1425,7 @@ if test "$ac_init_help" = "long"; then
# 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 @@ fi
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 @@ fi
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 @@ cat >config.log <<_ACEOF
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 @@ fi
# 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 @@ Usage: $0 [OPTIONS]
Report bugs to <bug-libtool@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 @@ fi
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 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# 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 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
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\\"
diff --git a/Build/source/texk/xdvik/configure.ac b/Build/source/texk/xdvik/configure.ac
index a25b166e1ab..b777c1decfc 100644
--- a/Build/source/texk/xdvik/configure.ac
+++ b/Build/source/texk/xdvik/configure.ac
@@ -6,7 +6,7 @@ dnl This file is free software; the copyright holder
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@tug.org])
AC_PREREQ([2.65])
AC_CONFIG_SRCDIR([xdvi.c])
diff --git a/Build/source/texk/xdvik/main.c b/Build/source/texk/xdvik/main.c
index 87e92fd06c9..bae27a13d97 100644
--- a/Build/source/texk/xdvik/main.c
+++ b/Build/source/texk/xdvik/main.c
@@ -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
diff --git a/Build/source/texk/xdvik/string-utils.c b/Build/source/texk/xdvik/string-utils.c
index 062cd35248f..def6e279024 100644
--- a/Build/source/texk/xdvik/string-utils.c
+++ b/Build/source/texk/xdvik/string-utils.c
@@ -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
diff --git a/Build/source/texk/xdvik/util.c b/Build/source/texk/xdvik/util.c
index 7a7bd687786..07be4a5a949 100644
--- a/Build/source/texk/xdvik/util.c
+++ b/Build/source/texk/xdvik/util.c
@@ -1222,8 +1222,9 @@ parse_debugging_string(const char *arg)
free(tempstr);
}
curr = strchr(curr, ',');
- if (curr != NULL)
- curr++;
+ if (curr == NULL)
+ break;
+ curr++;
}
return retval;
diff --git a/Build/source/texk/xdvik/version.h b/Build/source/texk/xdvik/version.h
index aff3bf3cab3..4fa8dba52d5 100644
--- a/Build/source/texk/xdvik/version.h
+++ b/Build/source/texk/xdvik/version.h
@@ -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)"
diff --git a/Build/source/texk/xdvik/xdvi.1.in b/Build/source/texk/xdvik/xdvi.1.in
index f173bf4a6a9..daa64e5d796 100644
--- a/Build/source/texk/xdvik/xdvi.1.in
+++ b/Build/source/texk/xdvik/xdvi.1.in
@@ -431,8 +431,8 @@ The individual numbers and strings have the following meanings:
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 @@ directives).
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