Bug 95496 - Relative paths in dir element are handled relative to cwd
Summary: Relative paths in dir element are handled relative to cwd
Status: RESOLVED MOVED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-19 17:55 UTC by Behdad Esfahbod
Modified: 2018-08-20 21:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Behdad Esfahbod 2016-05-19 17:55:50 UTC
They should have been done relative to current file, not the processes cwd.

To fix this I suggest:

  - We do a deprecation warning for such cases and propose a fix:
  - Add a prefix="relative" that makes the relative path be relative to current file,
  - Add a prefix="cwd" for relative to cwd.  Might be useful for <dir prefix="cwd">fonts.conf</dir> for some usecases...
Comment 1 GitLab Migration User 2018-08-20 21:44:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/15.


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.