Bug 12965 - The function FcStrSetAddFilename contradicts its documentation
Summary: The function FcStrSetAddFilename contradicts its documentation
Status: RESOLVED DUPLICATE of bug 12964
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.4
Hardware: All All
: medium normal
Assignee: Keith Packard
QA Contact:
Depends on:
Reported: 2007-10-26 12:21 UTC by David
Modified: 2007-11-03 22:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description David 2007-10-26 12:21:38 UTC
The description of the function FcStrSetAddFilename states: "Adds a copy s to set, The copy is created with FcStrCopyFilename so that leading '~' values are replaced with the value of the HOME environment variable". But if the name of the input file is not a full path and its first character is not '~', the function FcStrCopyFilename returns concatenation of the current working directory with the file name. So the function FcStrSetAddFilename adds to the set the string, which should not be added according to the documentation.

The detailed bug description can be found at: 

Comment 1 Keith Packard 2007-11-03 22:32:13 UTC

*** This bug has been marked as a duplicate of bug 12964 ***

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.