diff options
author | Niels Thykier <niels@thykier.net> | 2019-08-17 10:23:35 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2019-08-17 10:23:35 +0000 |
commit | d93a0c292100a4a95e57f3d44fd53f58bbce68d0 (patch) | |
tree | 58420793e7a5a1af223d7c6b95d9f053f7fce204 /dh | |
parent | 1377ddc1ad4a45e99a2a58cc215b863046eac9ea (diff) | |
download | debhelper-d93a0c292100a4a95e57f3d44fd53f58bbce68d0.tar.gz |
dh: Fix use of uninitialized variable in compat 13
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -837,7 +837,7 @@ while (@ARGV_orig) { } if ($opt =~ m/^(--[^=]++)(?:=.*)?$/ or $opt =~ m/^(-[^-])$/) { my $optname = $1; - if (length($optname) > 2 and (compat(12, 1) or m/^-[^-][^=]/)) { + if (length($optname) > 2 and (compat(12, 1) or $optname =~ m/^-[^-][^=]/)) { # We cannot optimize bundled options but we can optimize a single # short option with an explicit parameter (-B=F is ok, -BF is not) # In compat 12 or earlier, we also punt on long options due to |