[gs-bugs] [Bug 691408] Standard search path is not used for ICC profiles

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 16 04:48:11 UTC 2010


--- Comment #37 from Alex Cherepanov <alex.cherepanov at artifex.com> 2010-07-16 04:48:09 UTC ---
Created an attachment (id=6493)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6493)
Patch for Resoirce/ in LIBPATH

Fix the bug that prevented recognition of GenericResourceDir/Category/Name
as a valid resource path and required inclusion of GenericResourceDir in
the search path by re-implementing ResourceFileName procedure.

New procedure does the following:
1. Return GenericResourceDir/Category/Name if it exists.
2. Searches for Category/Name in LIBPATH. Returns actual path if found.
3. For non-existing resources return the same path as (1).

Old implementation added GenericResourceDir twice, didn't close files,
used system memory, called expensive procedures twice, etc.

Regression testing shows trivial differences in 23-07.ps, which prints
the length of ResourceFileName procedure.

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list