Skip to content
  • Brad King's avatar
    Write CMakeCache.txt atomically (#13040) · 9eb8e4b2
    Brad King authored
    The write code introduced by commit 0b0d1b1d (add CMakeCache.txt
    support, 2001-02-22) uses a temporary file but does not replace the
    original atomically.  Use cmGeneratedFileStream to do both
    copy-if-different and atomic replacement.
    9eb8e4b2