Ticket #53143: st_birthtim.tv.patch

File st_birthtim.tv.patch, 818 bytes (added by ballapete (Peter "Pete" Dyballa), 7 years ago)

Patch to delete st_birthtim.tv_*

  • src/unix/fs.c

    old new  
    782782  dst->st_mtim.tv_nsec = src->st_mtimespec.tv_nsec;
    783783  dst->st_ctim.tv_sec = src->st_ctimespec.tv_sec;
    784784  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;
    787785  dst->st_flags = src->st_flags;
    788786  dst->st_gen = src->st_gen;
    789787#elif defined(__ANDROID__)
     
    793791  dst->st_mtim.tv_nsec = src->st_mtimensec;
    794792  dst->st_ctim.tv_sec = src->st_ctime;
    795793  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;
    798794  dst->st_flags = 0;
    799795  dst->st_gen = 0;
    800796#elif !defined(_AIX) && (       \