small path_xx windows adjustemnts
This commit is contained in:
parent
19eac2d7dc
commit
013642b994
@ -1299,7 +1299,8 @@ bool PathDirContents::opendir()
|
||||
CLOSEDIR(m->dirhdl);
|
||||
m->dirhdl = nullptr;
|
||||
}
|
||||
SYSPATH(m->dirpath, sysdir);
|
||||
const std::string& dp{m->dirpath};
|
||||
SYSPATH(dp, sysdir);
|
||||
m->dirhdl = OPENDIR(sysdir);
|
||||
#ifdef _WIN32
|
||||
int rc = GetLastError();
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
#include "cstr.h"
|
||||
#ifdef _WIN32
|
||||
#include "safewindows.h"
|
||||
#include <Shlobj.h>
|
||||
#else
|
||||
#include <sys/param.h>
|
||||
#include <pwd.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user