Fix path handling snafu for CheckWPS tool
Somehow it got hooked to simulator file functions when it should be (and was) using raw OS functions. Credit: Frank Gevaerts Change-Id: Iac02fed1067830a432183632a047e00dfd03d3c2
This commit is contained in:
parent
16d1788356
commit
4f7fea2add
|
@ -27,9 +27,9 @@
|
|||
#include "config.h"
|
||||
#include "fs_attr.h"
|
||||
|
||||
#if defined (APPLICATION)
|
||||
#if defined (APPLICATION) || defined(CHECKWPS)
|
||||
#include "filesystem-app.h"
|
||||
#elif defined(SIMULATOR) || defined(__PCTOOL__)
|
||||
#elif defined(SIMULATOR) || defined(DBTOOL)
|
||||
#include "../../uisimulator/common/filesystem-sim.h"
|
||||
#else
|
||||
#include "filesystem-native.h"
|
||||
|
|
|
@ -42,9 +42,9 @@ enum relate_result
|
|||
RELATE_PREFIX, /* the path2 contains path1 as a prefix */
|
||||
};
|
||||
|
||||
#if defined(APPLICATION)
|
||||
#if defined(APPLICATION) || defined(CHECKWPS)
|
||||
#include "filesystem-app.h"
|
||||
#elif defined(SIMULATOR) || defined(__PCTOOL__)
|
||||
#elif defined(SIMULATOR) || defined(DBTOOL)
|
||||
#include "../../uisimulator/common/filesystem-sim.h"
|
||||
#else
|
||||
#include "filesystem-native.h"
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
../../firmware/common/strlcpy.c
|
||||
../../firmware/common/pathfuncs.c
|
||||
../../firmware/asm/mempcpy.c
|
||||
#ifdef WIN32
|
||||
../../firmware/target/hosted/filesystem-win32.c
|
||||
#else /* !WIN32 */
|
||||
../../firmware/target/hosted/filesystem-unix.c
|
||||
#ifdef APPLICATION
|
||||
#endif /* WIN32 */
|
||||
../../firmware/target/hosted/filesystem-app.c
|
||||
#else
|
||||
../../uisimulator/common/filesystem-sim.c
|
||||
#endif
|
||||
#ifdef DEBUG
|
||||
../../firmware/debug.c
|
||||
#endif
|
||||
|
|
|
@ -39,7 +39,6 @@ bool debug_wps = true;
|
|||
int wps_verbose_level = 0;
|
||||
char *skin_buffer;
|
||||
|
||||
const char *sim_root_dir = ".";
|
||||
const struct settings_list *settings;
|
||||
const int nb_settings = 0;
|
||||
|
||||
|
|
|
@ -10,7 +10,11 @@ database.c
|
|||
../../firmware/common/unicode.c
|
||||
../../firmware/target/hosted/debug-hosted.c
|
||||
../../firmware/logf.c
|
||||
#ifdef WIN32
|
||||
../../firmware/target/hosted/filesystem-win32.c
|
||||
#else /* !WIN32 */
|
||||
../../firmware/target/hosted/filesystem-unix.c
|
||||
#endif /* WIN32 */
|
||||
#ifdef APPLICATION
|
||||
../../firmware/target/hosted/filesystem-app.c
|
||||
#else /* !APPLICATION */
|
||||
|
|
Loading…
Reference in New Issue