Bug 23922 - Dangling .pc symlinks are considered good candidates
Summary: Dangling .pc symlinks are considered good candidates
Status: RESOLVED FIXED
Alias: None
Product: pkg-config
Classification: Unclassified
Component: src (show other bugs)
Version: unspecified
Hardware: All All
: low normal
Assignee: Tollef Fog Heen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 04:04 UTC by Ciaran Anscomb
Modified: 2011-05-15 05:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Stat filenames before adding to locations hash (1.50 KB, patch)
2009-09-14 04:04 UTC, Ciaran Anscomb
Details | Splinter Review

Description Ciaran Anscomb 2009-09-14 04:04:48 UTC
Created attachment 29512 [details] [review]
Stat filenames before adding to locations hash

Our situation is a globally mounted /usr/local with symlinks to arch-specific
files.  For some archs, .pc symlinks in /usr/local/lib/pkgconfig don't point to
any arch-specific version, but pkg-config assumes they're ok.

Attached patch stats filenames and checks they look like regular files before
adding them to the locations hash.
Comment 1 Tollef Fog Heen 2011-05-15 05:09:43 UTC
Thanks, fixed with a slightly different patch in next version.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.