Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340697 - app-text/pinfo-0.6.9-r1 fails to find files beginning with "dir"
Summary: app-text/pinfo-0.6.9-r1 fails to find files beginning with "dir"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 14:07 UTC by Ulrich Müller
Modified: 2011-01-04 16:49 UTC (History)
0 users

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


Attachments
proposed patch (pinfo-0.6.9-dir-file.patch,305 bytes, patch)
2010-10-12 14:14 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2010-10-12 14:07:37 UTC
"pinfo dired-x" (for dired-x.info.bz2 being installed by emacs) opens the dir file instead.

Patch will follow.
Comment 1 Ulrich Müller gentoo-dev 2010-10-12 14:14:15 UTC
Created attachment 250363 [details, diff]
proposed patch

This one-liner should catch all common cases. It will still fail for exotic filenames like "dir" followed by punctuation, but I doubt that these occur in practice.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-04 16:49:15 UTC
Thanks for the patch!. Applied in 0.6.10-r2.