compat: mingw realpath
@@ -350,6 +350,7 @@ intmax_t mdb_get_filesize(HANDLE han_u)
char *realpath(const char *path, char *resolved_path)
{
- // TODO
- return strdup(path);
+ // XX MAX_PATH
+ //
+ return _fullpath(resolved_path, path, MAX_PATH);
}
