Item10581 broke the output relative resource path if the default resource path was in use (Item10944). The analysis of the problem was correct however the fix was incorrect, resulting in breakage if a non-default resource path is used.

_rsrcpath() is designed to be passed two "absolute" paths, both rooted at / (which is actually the directory relativedir/outfile). The bug is that while a user provided resource path was prefixed with /, the default was set to rsrc instead of /rsrc.

The attached patch makes that change and reverts the gist of the incorrect fix.

-- DiabJerius - 08 Dec 2011

Please see Item11345 for an enhanced version of this patch.

-- DiabJerius - 09 Dec 2011
 

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads