Control: tags -1 + fixed-upstream Am 15.10.2022 um 19:14 teilte Jakub Wilk mit:
Package: info Version: 6.8-6I noticed that "info -w" is puzzlingly slow when the argument is a man page:
This has been solved/implemented in two git commits:
commit ef2eb3589883dc6ced661e424f0e11bee05cc83b
Author: Gavin Smith <gavinsmith0123@gmail.com>
Date: Tue Oct 18 11:31:53 2022 +0100
* info/man.c (check_manpage_node):
Call get_manpage_node if exit status from man -w PAGE was 2.
commit 8520d2b4d80eebe49ed44f11c47901f87d35c29f
Author: Gavin Smith <gavinsmith0123@gmail.com>
Date: Sun Oct 16 14:21:32 2022 +0100
Check for man page with 'man -w'
* info/man.c (check_manpage_node): New function, to check if
man page exists with 'man -w'. This is much faster for large
man pages.
(find_man_formatter): Cache return value.
* info/info.c (get_initial_file): Use check_manpage_node instead
of get_manpage_node.
'info -w ffmpeg-all' was reported to be slow by Hilmar Preusse.
'ffmpeg-all' is an especially long man page, so takes a longer time
for nroff to format.
Hilmar
--
sigfault
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature