mirror of https://github.com/AxioDL/kabufuda.git
AsyncIOPosix: Add mode_t argument to open
This commit is contained in:
parent
4891a95688
commit
b63f7c6401
|
@ -7,7 +7,7 @@
|
|||
namespace kabufuda {
|
||||
|
||||
AsyncIO::AsyncIO(SystemStringView filename, bool truncate) {
|
||||
m_fd = open(filename.data(), O_RDWR | O_CREAT | (truncate ? O_TRUNC : 0));
|
||||
m_fd = open(filename.data(), O_RDWR | O_CREAT | (truncate ? O_TRUNC : 0), 0644);
|
||||
}
|
||||
|
||||
AsyncIO::~AsyncIO() {
|
||||
|
|
Loading…
Reference in New Issue