Bug 54379 - pkg.c: name_ends_in_uninstalled() matches 'uninstalled' (without hyphen)
pkg.c: name_ends_in_uninstalled() matches 'uninstalled' (without hyphen)
Product: pkg-config
Classification: Unclassified
Component: src
Other All
: medium normal
Assigned To: Tollef Fog Heen
Depends on:
  Show dependency treegraph
Reported: 2012-09-02 08:29 UTC by Michał Górny
Modified: 2012-10-13 16:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny 2012-09-02 08:29:03 UTC
The check done by name_ends_in_uninstalled() matches the 'uninstalled' string, while the appended string is '-uninstalled'. I think the intent is to have the hyphen in the former string as well.
Comment 1 Dan Nicholson 2012-10-13 16:28:23 UTC
Yes, I think you're right. Good catch. So, current code would match foouninstalled.pc, but really we want foo-uninstalled.pc. That's also what the man page says. Fixed in commit 3aa6216.