Ticket #53143: st_birthtim.tv.patch
File st_birthtim.tv.patch, 818 bytes (added by ballapete (Peter "Pete" Dyballa), 8 years ago) |
---|
-
src/unix/fs.c
old new 782 782 dst->st_mtim.tv_nsec = src->st_mtimespec.tv_nsec; 783 783 dst->st_ctim.tv_sec = src->st_ctimespec.tv_sec; 784 784 dst->st_ctim.tv_nsec = src->st_ctimespec.tv_nsec; 785 dst->st_birthtim.tv_sec = src->st_birthtimespec.tv_sec;786 dst->st_birthtim.tv_nsec = src->st_birthtimespec.tv_nsec;787 785 dst->st_flags = src->st_flags; 788 786 dst->st_gen = src->st_gen; 789 787 #elif defined(__ANDROID__) … … 793 791 dst->st_mtim.tv_nsec = src->st_mtimensec; 794 792 dst->st_ctim.tv_sec = src->st_ctime; 795 793 dst->st_ctim.tv_nsec = src->st_ctimensec; 796 dst->st_birthtim.tv_sec = src->st_ctime;797 dst->st_birthtim.tv_nsec = src->st_ctimensec;798 794 dst->st_flags = 0; 799 795 dst->st_gen = 0; 800 796 #elif !defined(_AIX) && ( \