Compare commits

...

2 Commits

Author SHA1 Message Date
openharmony_ci
93e8dee1ae !1018 fix:添加MAX_OPEN_DIRS宏,标识最大可打开dir数量
Merge pull request !1018 from zhangdengyu/max_open_dir
2023-01-31 11:28:55 +00:00
zhangdengyu
0988dcde34 fix: 添加LOSCFG_MAX_OPEN_DIRS标识最大可打开dir数量
方案描述:
提供LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。

BREAKING CHANGE:
新增LOSCFG_MAX_OPEN_DIRS宏定义,标识最大可打开dir数量。

Close:#I6BVYZ

Signed-off-by: zhangdengyu <zhangdengyu2@huawei.com>
2023-01-31 10:46:40 +08:00

View File

@@ -138,4 +138,9 @@
#define MAX_DIRENT_NUM 14 // 14 means 4096 length buffer can store 14 dirent, see struct DIR
/* max number of open directories */
#ifndef LOSCFG_MAX_OPEN_DIRS
#define LOSCFG_MAX_OPEN_DIRS 10
#endif
#endif