Fix #1453 - do not allow empty wakeup buffer

This commit is contained in:
Sergey Lyubka committed 2022-01-21 12:35:28 +00:00
1 parent 59c4dfa33b
commit e565a7e73d
5 files changed
+6 -10

No files matched your search

-4
View File
@@ -199,11 +199,7 @@ static bool p_remove(const char *path) {
}
static bool p_mkdir(const char *path) {
#if defined(__MINGW32__) || defined(__MINGW64__)
return mkdir(path) == 0;
#else
return mkdir(path, 0775) == 0;
#endif
}
#else