Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23436 - makewhatis sys-apps/man minor functionality improvement
Summary: makewhatis sys-apps/man minor functionality improvement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tavis Ormandy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 23:03 UTC by Paul Thompson
Modified: 2003-09-05 16:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
trivial patch to makewhatis (makewhatis.patch2,250 bytes, patch)
2003-06-24 23:05 UTC, Paul Thompson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Thompson 2003-06-24 23:03:53 UTC
As documented in the man page, makewhatis can take a subsections
argument (-s). Unfortunately, this is currently broken due to the
way arguments are referenced. This is a patch Ive been using
for a while. Basicly, it allows the script to parse:
-s "1 2 3"
as "1 2 3" being one argument to -s, rather than just pairing
the '1' to -s and choking on 2 and 3 as separate args.
Comment 1 Paul Thompson 2003-06-24 23:05:06 UTC
Created attachment 13815 [details, diff]
trivial patch to makewhatis
Comment 2 Tavis Ormandy (RETIRED) gentoo-dev 2003-09-05 16:10:22 UTC
Confirmed, looks like an obvious flaw in their logic.

assigning to me...
Comment 3 Tavis Ormandy (RETIRED) gentoo-dev 2003-09-05 16:32:01 UTC
This has been fixed in man-1.5m2, with the same fix you suggested :)

1.5m2 should be in portage shortly.

RESOLVED, FIXED.