[kio] [Bug 318821] New: stat st_ctime is not the creation time but the change time
Benni Hill
benni at mytum.de
Wed Apr 24 22:14:48 BST 2013
https://bugs.kde.org/show_bug.cgi?id=318821
Bug ID: 318821
Summary: stat st_ctime is not the creation time but the change
time
Classification: Unclassified
Product: kio
Version: 4.10.2
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: nfs
Assignee: unassigned-bugs at kde.org
Reporter: benni at mytum.de
In kio_nfs.cpp:801 st_ctime is treated as the creation time but according to
stat.h st_ctime is the status change time.
At line 819 something similar seems to happen.
>From stat.h:
__time_t st_atime; /* Time of last access. */
__syscall_ulong_t st_atimensec; /* Nscecs of last access. */
__time_t st_mtime; /* Time of last modification. */
__syscall_ulong_t st_mtimensec; /* Nsecs of last modification. */
__time_t st_ctime; /* Time of last status change. */
<<<------
__syscall_ulong_t st_ctimensec; /* Nsecs of last status change. */
Reproducible: Always
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list