diff options
author | Christian Schneider | 2020-03-16 09:48:34 +0100 |
---|---|---|
committer | Christian Schneider | 2020-03-16 09:48:34 +0100 |
commit | 222046d801632a4e4462920f3f99d4426d0f4cfd (patch) | |
tree | ffbc29b554338812a024a83d5446ff2d1bb532b4 | |
parent | 5d9bf1534f8bd6e277f7f7e45310e028e3f2cca6 (diff) | |
download | itools-222046d801632a4e4462920f3f99d4426d0f4cfd.tar.gz itools-222046d801632a4e4462920f3f99d4426d0f4cfd.tar.bz2 itools-222046d801632a4e4462920f3f99d4426d0f4cfd.zip |
Use LOCK_EX to avoid log lines being split up
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ static function log_line($name, $line) @symlink($fullfn, $basefn); } - it::file_put_contents($fullfn, $line . "\n", FILE_APPEND); + it::file_put_contents($fullfn, $line . "\n", FILE_APPEND | LOCK_EX); } } |