Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-1]: src/gnu/dist/gettext/gettext-tools/doc Apply patch (request...
details: https://anonhg.NetBSD.org/src/rev/2c244e555f36
branches: netbsd-7-1
changeset: 800755:2c244e555f36
user: snj <snj%NetBSD.org@localhost>
date: Wed Jul 26 15:38:12 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 66381581e354 -r 2c244e555f36 gnu/dist/gettext/gettext-tools/doc/texi2html
--- a/gnu/dist/gettext/gettext-tools/doc/texi2html Sun Jul 23 06:15:49 2017 +0000
+++ b/gnu/dist/gettext/gettext-tools/doc/texi2html Wed Jul 26 15:38:12 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