Bug 1161747
Summary: | "man -k -l word" does not show full header line | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dale R. Worley <worley> |
Component: | man-db | Assignee: | Jan Chaloupka <jchaloup> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | cjwatson, jchaloup |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | man-db-2.6.5-6.fc20 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-16 14:44:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dale R. Worley
2014-11-07 18:54:27 UTC
It's hard to get everything right here because of effectively having to change option parsing semantics in midstream; but we can handle this specific case easily enough, so fixed upstream. http://git.savannah.gnu.org/cgit/man-db.git/commit/?id=81a66229658bfe38067ec001976cfecdf4bfeedf Given the simplicity of the "man -k" form, I'd think it would be easier to invoke apropos directly, just passing it the remaining arguments: char * const *new_argv = malloc(argc * sizeof (char * const)); new_argv[0] = "apropos"; memcpy(new_argv + 1, argv + 2, (argc - 1) * sizeof (char * const)); execvp("apropos", new_argv); That way man doesn't need to know anything about the arguments to apropos. Hello, thanks Colin for the patch. Dale, I will wait till Wednesday till your proposal is settled down. Jan man-db-2.6.3-9.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/man-db-2.6.3-9.fc19 f19: https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20141110/1445550.html f20: https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20141110/1445615.html f21: https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20141110/1445618.html master: https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20141110/1445621.html man-db-2.6.5-6.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/man-db-2.6.5-6.fc20 man-db-2.6.7.1-12.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/man-db-2.6.7.1-12.fc21 (In reply to Dale R. Worley from comment #2) > Given the simplicity of the "man -k" form, I'd think it would be easier to > invoke apropos directly, just passing it the remaining arguments: I agree in general; it just involves a bit more reorganisation (and thinking about what happens in the event that -k occurs in the middle of the options rather than the start). Would you mind filing an upstream bug report for that? https://savannah.nongnu.org/bugs/?group=man-db (In reply to Colin Watson from comment #8) > Would you mind filing an upstream bug report for > that? https://savannah.nongnu.org/bugs/?group=man-db I have submitted this issue upstream at https://savannah.nongnu.org/support/index.php?108684 Package man-db-2.6.3-9.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing man-db-2.6.3-9.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-15032/man-db-2.6.3-9.fc19 then log in and leave karma (feedback). man-db-2.6.7.1-12.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. man-db-2.6.5-6.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |