mirror of
https://github.com/danog/file.git
synced 2024-11-26 20:04:51 +01:00
Fix eio
This commit is contained in:
parent
0b21b1cb8c
commit
6af87e04a5
@ -346,7 +346,7 @@ final class EioFilesystemDriver implements FilesystemDriver
|
||||
|
||||
public function write(string $path, string $contents): void
|
||||
{
|
||||
$flags = \EIO_O_RDWR | \EIO_O_CREAT;
|
||||
$flags = \EIO_O_RDWR | \EIO_O_CREAT | \EIO_O_TRUNC;
|
||||
$mode = \EIO_S_IRUSR | \EIO_S_IWUSR | \EIO_S_IXUSR;
|
||||
$priority = \EIO_PRI_DEFAULT;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user