!442 M核posix接口fs模块用例完善
Merge pull request !442 from wangchen/posix_test
This commit is contained in:
commit
7e9d84362f
|
@ -290,7 +290,7 @@ static int ConvertFlagToLfsOpenFlag (int oflags)
|
||||||
lfsOpenFlag |= LFS_O_WRONLY;
|
lfsOpenFlag |= LFS_O_WRONLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (oflags & O_RDONLY) {
|
if (oflags == O_RDONLY) {
|
||||||
lfsOpenFlag |= LFS_O_RDONLY;
|
lfsOpenFlag |= LFS_O_RDONLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue