diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-16 00:00:41 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2021-02-25 19:52:33 +0100 |
commit | 614a996e50903fce2a94225056c07ee013a3483f (patch) | |
tree | ba62618ef8d345b055720a65ec6283bbea804daa /pkgs/build-support | |
parent | 1afdcc045e8118741903616aa51a1b9726a8f909 (diff) |
pkgs/profpatsch/nman: fix panic if mandir.len() < 3
Sometimes share/man contains directories that are not of the form man<section> which we are checking in build_man_page. However, this check can't deal with directories that are shorter than 3 characters due to the use of split_at() which panics if the index is out of range (for somer reason…). In nixpkgs it is relatively common to have directories like "de" in share/man. This has been resolved.
Diffstat (limited to 'pkgs/build-support')
0 files changed, 0 insertions, 0 deletions