diff options
| author | ruki <[email protected]> | 2015-12-21 09:37:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-21 09:37:49 +0800 |
| commit | 8f8f8425df4e1ce4b71099a669dd4ccc3d4a0b0f (patch) | |
| tree | 3b5a397982c0d702a370c508a261353253ff2261 /core/src | |
| parent | 58f15142262d270d09b15e0c2648898be59b5013 (diff) | |
update tbox for linux
Diffstat (limited to 'core/src')
| -rwxr-xr-x | core/src/xmake/os/find.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/os/find.c b/core/src/xmake/os/find.c index 725c08e5f..e5007d1ec 100755 --- a/core/src/xmake/os/find.c +++ b/core/src/xmake/os/find.c @@ -87,8 +87,8 @@ static tb_bool_t xm_os_find_walk(tb_char_t const* path, tb_file_info_t const* in tb_assert_and_check_return_val(rootdir && rootlen, tb_false); // check - tb_assert_abort(!tb_strcmp(path, rootdir)); - tb_assert_abort(rootlen + 1 <= tb_strlen(path)); + tb_assert(!tb_strcmp(path, rootdir)); + tb_assert(rootlen + 1 <= tb_strlen(path)); // skip the rootdir path += rootlen + 1; |
