icinga2
icinga2 copied to clipboard
Replace all occurrences of the tempfile + rename pattern with AtomicFile
The just merged PR #9451 adds a class AtomicFile
which encapsulates the common write to a temporary file and then rename it to the final name pattern. This class should be used everywhere this pattern is used.