fix: M核posix接口fs模块用例完善
【背景】M核posix接口fs模块用例无平台进行验证,在qemu上运行时会有报错。 【修改方案】 1,对部分用例进行修改,增加对qeum的适配度 【影响】 对现有的产品编译不会有影响。 re #I4L7BF Signed-off-by: wangchen <253227059@qq.com>
This commit is contained in:
parent
cd31fc9a8b
commit
ee380fb9be
|
@ -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
Loading…
Reference in New Issue