diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-09-30 11:18:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-30 22:52:23 +0200 |
commit | 210bbf9a391612a4e28883a288168d9a23fe66b9 (patch) | |
tree | b7bf80b215ee806e062d118b0998cfbd5eaf5563 /gnu/machine.scm | |
parent | d057d59170446fe47ddedd7eb281ca2a1dfc05e9 (diff) | |
download | guix-210bbf9a391612a4e28883a288168d9a23fe66b9.tar.gz guix-210bbf9a391612a4e28883a288168d9a23fe66b9.zip |
man-db: Correctly resolve man page links.
Fixes <https://issues.guix.gnu.org/73259>.
Fixes a bug introduced in 822455580273ea8b3c1059922e2b41a395103164
whereby a link such as “.so man1/bzdiff.1” would resolve to the file
that contains the link (in this case ‘bzcmp.1.zst’), as opposed to the
actual link target. As a result, ‘man-page->entry’ would recurse,
reopening the man page that contains the link until file descriptor
exhaustion.
* guix/man-db.scm (mandb-entries): In second argument to
‘man-page->entry’, return either FILE-GZ or FILE-ZST, but not FILE.
Change-Id: I06a7a6905a98524efc889a18e81352bf9eec5743
Diffstat (limited to 'gnu/machine.scm')
0 files changed, 0 insertions, 0 deletions