Work around a design defect in Ninja whereby a zero mtime is used to denote missing files (we happen to produce files that have a zero mtime and yet really do exist.) --- ninja-1.5.3/src/disk_interface.cc 2014-11-24 18:37:47.000000000 +0100 +++ ninja-1.5.3/src/disk_interface.cc 2015-07-18 23:20:38.572290139 +0200 @@ -194,6 +194,12 @@ TimeStamp RealDiskInterface::Stat(const } return -1; } + + if (st.st_mtime == 0) + // All the code assumes that mtime == 0 means "file missing". Here we + // know the file is not missing, so tweak the mtime. + st.st_mtime = 1; + return st.st_mtime; #endif } f8ba9b43323dc61988a368690b20008611fc87'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/nix/boost
AgeCommit message (Expand)Author
2020-06-24nix: Tweak .gitignore files....Remove .gitignore entries where they match source files that are tracked in Git. This is relevant to me at least, as some code searching tools use .gitignore files and will ignore matched files. Christopher Baines