Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/gnu/dist/gettext/gettext-tools/doc Apply patch (requested...
details: https://anonhg.NetBSD.org/src/rev/78a32553b8dd
branches: netbsd-7
changeset: 800272:78a32553b8dd
user: snj <snj%NetBSD.org@localhost>
date: Wed Jul 26 15:37:58 2017 +0000
description:
Apply patch (requested by mrg in ticket #1449):
Don't use defined() on perl arrays.
diffstat:
gnu/dist/gettext/gettext-tools/doc/texi2html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 73719ba633f6 -r 78a32553b8dd gnu/dist/gettext/gettext-tools/doc/texi2html
--- a/gnu/dist/gettext/gettext-tools/doc/texi2html Wed Jul 26 15:22:35 2017 +0000
+++ b/gnu/dist/gettext/gettext-tools/doc/texi2html Wed Jul 26 15:37:58 2017 +0000
@@ -1532,7 +1532,7 @@
$level--; # here we start at 0
if ($name =~ /^appendix/) {
# appendix style
- if (defined(@appendix_sec_num)) {
+ if (@appendix_sec_num) {
&incr_sec_num($level, @appendix_sec_num);
} else {
@appendix_sec_num = ('A', 0, 0, 0);
@@ -1540,7 +1540,7 @@
return(join('.', @appendix_sec_num[0..$level]));
} else {
# normal style
- if (defined(@normal_sec_num)) {
+ if (@normal_sec_num) {
&incr_sec_num($level, @normal_sec_num);
} else {
@normal_sec_num = (1, 0, 0, 0);
Home |
Main Index |
Thread Index |
Old Index