[Digikam-devel] [Bug 199967] Creation date newer than last modified date

Tim Jenness tim.jenness at gmail.com
Tue Jul 14 08:11:13 BST 2009


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





--- Comment #3 from Tim Jenness <tim jenness gmail com>  2009-07-14 09:11:11 ---
After some more investigation I think that something is assuming that the ctime
field is the file creation time. It's not, it's the inode creation time. The
problem is that if you use something like cp -p or mv the modification and
access times are preserved but the inode creation time changes. I haven't been
able to find the bit in the code where the file is stat()ed [I'm a C programmer
not a C++ programmer] but what needs to happen is that the create date has to
be the oldest of atime, ctime and mtime. I can have a go at a patch if someone
can point me at the relevant file.

-- 
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