!442 M核posix接口fs模块用例完善

Merge pull request !442 from wangchen/posix_test
This commit is contained in:
openharmony_ci 2021-12-19 08:12:27 +00:00 committed by Gitee
commit 7e9d84362f
2 changed files with 266 additions and 282 deletions

View File

@ -290,7 +290,7 @@ static int ConvertFlagToLfsOpenFlag (int oflags)
lfsOpenFlag |= LFS_O_WRONLY;
}
if (oflags & O_RDONLY) {
if (oflags == O_RDONLY) {
lfsOpenFlag |= LFS_O_RDONLY;
}

File diff suppressed because it is too large Load Diff