[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 275311] XMP sidecars are not written for symbolic links [patch]
From:       Leif Huhn <leif () dkstat ! com>
Date:       2011-07-09 20:56:36
Message-ID: E1QfeZo-0002fB-9j () bugs ! kde ! org
[Download RAW message or body]

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


Leif Huhn <leif@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic