[Digikam-devel] [Bug 275311] XMP sidecars are not written for symbolic links [patch]

Leif Huhn leif at dkstat.com
Sat Jul 9 21:56:36 BST 2011


https://bugs.kde.org/show_bug.cgi?id=275311


Leif Huhn <leif at dkstat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #61730|0                           |1
        is obsolete|                            |




--- Comment #7 from Leif Huhn <leif dkstat com>  2011-07-09 20:56:35 ---
Created an attachment (id=61734)
 --> (http://bugs.kde.org/attachment.cgi?id=61734)
Only follow the symlink when writing to the image file

Please ignore the previous patch (also ignore the comments about pass by
reference...I misread the original code).

This patch should be a proper fix for the problem.  Instead of traversing the
symlink when we load the metadata, we only resolve it when we save.  We only
use the resolved path when writing out the file (not when computing the path
for the sidecar).

This resolves more than one level of symlink.  It still does not handle the
situation where the sidecar is a symlink.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list