Issue 2455: stat.ST_CTIME and stat.ST_ATIME problem (original) (raw)

Issue2455

Created on 2008-03-22 02:25 by sassas, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg64310 - (view) Author: Andrey Skvortsov (sassas) Date: 2008-03-22 02:25
stat.ST_CTIME and stat.ST_ATIME are mixed up. ST_CTIME gives access time and should be ST_ATIME and vice versa ST_ATIME gives creation time. Linux.
msg64905 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-04-03 20:22
Not here, ST_CTIME is 9 and ST_ATIME is 7, both are the correct indices at the tuple returned by os.stat. Could you recheck that and then and include some output (if it is really incorrect) ?
History
Date User Action Args
2022-04-11 14:56:32 admin set github: 46707
2008-05-25 09🔞01 gregory.p.smith set status: open -> closedresolution: not a bug
2008-04-03 20:22:16 gpolo set nosy: + gpolomessages: +
2008-03-22 02:25:15 sassas create