Skip to content

Commit

Permalink
Fix stat CREATETIME return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmari committed Jan 8, 2016
1 parent 70cf598 commit d06a0c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/fileops.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ MVMint64 MVM_file_stat(MVMThreadContext *tc, MVMString *filename, MVMint64 statu
break;
}

case MVM_STAT_CREATETIME: r = file_info(tc, filename, use_lstat).st_ctim.tv_sec; break;
case MVM_STAT_CREATETIME: r = file_info(tc, filename, use_lstat).st_birthtim.tv_sec; break;

case MVM_STAT_ACCESSTIME: r = file_info(tc, filename, use_lstat).st_atim.tv_sec; break;

Expand Down

0 comments on commit d06a0c3

Please sign in to comment.