Skip to content

Commit b63eb11

Browse files
committed
chore: add FIXME for status file overwrite
Signed-off-by: Yuming He <ComixHe1895@outlook.com>
1 parent 16e3c1b commit b63eb11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/linyaps_box/utils/atomic_write.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ void linyaps_box::utils::atomic_write(const std::filesystem::path &path, std::st
2424
}
2525
});
2626

27+
// FIXME: do not overwrite status file
2728
std::ofstream temp_file;
2829
temp_file.exceptions(std::ofstream::failbit | std::ofstream::badbit);
2930
temp_file.open(temp_path);

0 commit comments

Comments
 (0)