tar: fix too eager autodetection, closes 11531
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 27 Nov 2018 10:26:48 +0000 (11:26 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 27 Nov 2018 10:26:48 +0000 (11:26 +0100)
commitf4fc303e3679e4ab0d45f60c31f9b687f27f7452
treec270be417b97696e3a9897eab5602ce30faf313d
parent2d217799e8f23514ad3be6a951aa928c265bc6a4
tar: fix too eager autodetection, closes 11531

function                                             old     new   delta
is_suffixed_with                                       -      54     +54
tar_main                                            1006    1026     +20
open_transformer                                      92      79     -13
config_file_action                                   478     458     -20
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/2 up/down: 74/-33)             Total: 41 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libarchive/open_transformer.c
archival/tar.c
modutils/modprobe.c