- UNIX st_ctime is inode change time, not creation time
- Now always returning 0 for ctime (Some UNIX systems have 'btime' for creation)
- This should address Debian build reproducibility issues
}
#else
stats->accessed = s.st_atime;
- stats->created = s.st_ctime;
+ // UNIX st_ctime is 'status change' time, not creation time
+ // Marking created as 0, as ctime changes cause unreproducible builds
+ stats->created = 0;
stats->modified = s.st_mtime;
#endif
/*