mirror of
https://github.com/AxioDL/kabufuda.git
synced 2025-07-06 05:05:58 +00:00
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…
x
Reference in New Issue
Block a user