提交 820de25e 编写于 作者: S Shengliang Guan

fix: failed to recursive mkdir in mac

上级 ffdfd39c
...@@ -158,7 +158,7 @@ int32_t taosMulMkDir(const char *dirname) { ...@@ -158,7 +158,7 @@ int32_t taosMulMkDir(const char *dirname) {
#ifdef WINDOWS #ifdef WINDOWS
code = _mkdir(temp, 0755); code = _mkdir(temp, 0755);
#elif defined(DARWIN) #elif defined(DARWIN)
code = mkdir(dirname, 0777); code = mkdir(temp, 0777);
#else #else
code = mkdir(temp, 0755); code = mkdir(temp, 0755);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册