mirror of
https://github.com/encounter/aurora.git
synced 2025-07-07 13:46:08 +00:00
AsyncIOPosix: Add mode_t argument to open
This commit is contained in:
parent
d65bef16ed
commit
5ccbf0d225
@ -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