summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-03 15:28:01 +0800
committerruki <[email protected]>2016-07-03 15:28:01 +0800
commit5a9164b076b0a1f72cc0a58ea7da18547405ce59 (patch)
treec8b4d44188840657c5349130502f7462a1755b51 /core
parentf8ade101414a282cc67f6254458f28c50de55bac (diff)
fix process arguments bug for posix
Diffstat (limited to 'core')
-rwxr-xr-xcore/pkg/tbox.pkg/inc/mac/x64/tbox.config.h36
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/algorithm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/bubble_sort.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/count.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/count_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/distance.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/find.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/find_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/for.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/for_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/heap_sort.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/insert_sort.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/predicate.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/quick_sort.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/remove.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/remove_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/rfind.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/rfind_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/rfor.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/rfor_if.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/rwalk.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/sort.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/algorithm/walk.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/aice.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/aico.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/aicp.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/aioe.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/aioo.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/aiop.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/asio.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/dns.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/http.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/asio/ssl.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/charset/charset.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/charset/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/config.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/bloom_filter.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/circle_queue.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/container.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/element.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/element/hash.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/element/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/hash_map.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/hash_set.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/heap.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/iterator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/iterator/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/list.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/list_entry.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/priority_queue.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/queue.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/single_list.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/single_list_entry.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/stack.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/container/vector.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/database/database.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/database/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/database/sql.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/database/value.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/libc.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/ctype.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/limits.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/misc.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/setjmp.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/signal.h2
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/stdarg.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/time/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/time/time.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/misc/time/type.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/stdio/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/stdio/printf_object.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/stdio/stdio.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/stdlib/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/stdlib/stdlib.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/string/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libc/string/string.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/ceil.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/fabs.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/floor.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/inf.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/libm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/maf.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/math.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/mif.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/nan.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/pi.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/libm/round.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/fixed.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/fixed16.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/fixed30.h2
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/fixed6.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/impl/fixed16_arm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/impl/fixed30_arm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/impl/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/impl/random.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/int32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/math.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/math/random.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/allocator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/buffer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/default_allocator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/fixed_pool.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/large_allocator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/memory.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/native_allocator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/queue_buffer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/small_allocator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/static_allocator.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/static_buffer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/memory/string_pool.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/cookies.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/dns/cache.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/dns/dns.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/dns/looker.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/dns/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/dns/server.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/http.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/hwaddr.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/ipaddr.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/ipv4.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/ipv6.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/network.h10
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/ssl.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/network/url.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/array.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/boolean.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/data.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/date.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/dictionary.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/null.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/number.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/object.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/object/string.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/android/android.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/android/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/frame.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/frame.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/frame.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/frame.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/atomic64.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/backtrace.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/cache_time.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic64.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/compiler/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/directory.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/dns.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/dynamic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/environment.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/event.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/exception.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/file.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/hostname.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/ifaddrs.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/libc/exception.h26
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/libc/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/linux/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/ltimer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/mach/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/mach/ios/prefix.h0
-rw-r--r--core/pkg/tbox.pkg/inc/tbox/platform/mach/mac/prefix.h31
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/mach/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/memory.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/mutex.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/page.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/path.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/platform.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/posix/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/posix/sockaddr.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/print.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/process.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/processor.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/sched.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/semaphore.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/socket.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/spinlock.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/systemv/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/thread.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/thread_pool.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/thread_store.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/time.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/timer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/unix/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/unix/syscall.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic64.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/barrier.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/exception.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/dbghelp.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/interface.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/iphlpapi.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/kernel32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/mswsock.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/shell32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/user32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/ws2_32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/ntstatus.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/prefix.h6
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/platform/windows/socket_pool.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/abort.h7
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/arch.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.S0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm/asm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm/cache.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.S0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/assembler.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/assert.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/check.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/compiler.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/config.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/cpu.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/endian.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/keyword.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/limits.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/malloc.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/packed.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/state.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/trace.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/type.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/utils.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/prefix/version.h0
-rwxr-xr-xcore/pkg/tbox.pkg/inc/tbox/regex/regex.h10
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/async_stream.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/async_transfer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/filter.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/static_stream.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/stream.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/transfer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/stream/transfer_pool.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/string/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/string/static_string.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/string/string.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/tbox.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/adler32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/base32.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/base64.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/bits.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/crc.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/dump.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_arm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_gcc.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_sh4.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_x86.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/impl/crc_arm.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/impl/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/lock_profiler.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/md5.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/option.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/sha.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/singleton.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/trace.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/url.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/used.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/utils/utils.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/xml/node.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/xml/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/xml/reader.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/xml/writer.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/xml/xml.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/zip/gzip.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/zip/prefix.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/zip/zip.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/zip/zlib.h0
-rwxr-xr-x[-rw-r--r--]core/pkg/tbox.pkg/inc/tbox/zip/zlibraw.h0
302 files changed, 71 insertions, 59 deletions
diff --git a/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h b/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h
index 2b4fb39c8..ea46a2e3c 100755
--- a/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h
+++ b/core/pkg/tbox.pkg/inc/mac/x64/tbox.config.h
@@ -2,19 +2,21 @@
#define TB_CONFIG_H
// version
-#define TB_CONFIG_VERSION "1.5.1"
+#define TB_CONFIG_VERSION "1.5.3"
#define TB_CONFIG_VERSION_MAJOR 1
#define TB_CONFIG_VERSION_MINOR 5
-#define TB_CONFIG_VERSION_ALTER 1
-#define TB_CONFIG_VERSION_BUILD 201605200949
+#define TB_CONFIG_VERSION_ALTER 3
+#define TB_CONFIG_VERSION_BUILD 201607031524
// defines
#define TB_CONFIG_OS_MACOSX 1
+#define TB_CONFIG_SMALL 1
#define TB_CONFIG_TYPE_HAVE_FLOAT 1
#define TB_CONFIG_POSIX_HAVE_POSIX_SPAWNP 1
#define TB_CONFIG_LIBC_HAVE_MKTIME 1
#define TB_CONFIG_LIBM_HAVE_ACOS 1
#define TB_CONFIG_POSIX_HAVE_SOCKET 1
+#define TB_CONFIG_LIBC_HAVE_SETLOCALE 1
#define TB_CONFIG_POSIX_HAVE_POLL 1
#define TB_CONFIG_LIBC_HAVE_KILL 1
#define TB_CONFIG_LIBM_HAVE_ATAN2 1
@@ -43,7 +45,7 @@
#define TB_CONFIG_LIBC_HAVE_WCSNCPY 1
#define TB_CONFIG_LIBC_HAVE_GMTIME 1
#define TB_CONFIG_LIBM_HAVE_TAN 1
-#define TB_CONFIG_LIBC_HAVE_SIGSETJMP 1
+#define TB_CONFIG_LIBM_HAVE_POWF 1
#define TB_CONFIG_LIBM_HAVE_SINF 1
#define TB_CONFIG_LIBM_HAVE_ATAN 1
#define TB_CONFIG_LIBC_HAVE_STRNCMP 1
@@ -55,50 +57,50 @@
#define TB_CONFIG_LIBC_HAVE_STRCMP 1
#define TB_CONFIG_LIBC_HAVE_STRCASECMP 1
#define TB_CONFIG_LIBC_HAVE_MEMSET 1
+#define TB_CONFIG_LIBC_HAVE_FPUTS 1
#define TB_CONFIG_LIBM_HAVE_TANF 1
#define TB_CONFIG_LIBC_HAVE_STRNCPY 1
#define TB_CONFIG_LIBC_HAVE_LOCALTIME 1
-#define TB_CONFIG_INFO_HAVE_VERSION 1
+#define TB_CONFIG_LIBC_HAVE_WCSNCASECMP 1
#define TB_CONFIG_LIBC_HAVE_STRCPY 1
#define TB_CONFIG_LIBC_HAVE_WCSLCPY 1
#define TB_CONFIG_SYSTEMV_HAVE_SEMGET 1
#define TB_CONFIG_POSIX_HAVE_WAITPID 1
-#define TB_CONFIG_POSIX_HAVE_WRITEV 1
#define TB_CONFIG_LIBC_HAVE_GETTIMEOFDAY 1
-#define TB_CONFIG_LIBM_HAVE_ATAN2F 1
+#define TB_CONFIG_LIBC_HAVE_SIGNAL 1
#define TB_CONFIG_LIBC_HAVE_STRSTR 1
-#define TB_CONFIG_POSIX_HAVE_READV 1
+#define TB_CONFIG_POSIX_HAVE_WRITEV 1
#define TB_CONFIG_LIBC_HAVE_WCSNCMP 1
-#define TB_CONFIG_POSIX_HAVE_REGCOMP 1
+#define TB_CONFIG_POSIX_HAVE_READV 1
#define TB_CONFIG_LIBM_HAVE_LOG2 1
#define TB_CONFIG_LIBM_HAVE_COS 1
-#define TB_CONFIG_POSIX_HAVE_SYSCONF 1
+#define TB_CONFIG_POSIX_HAVE_REGCOMP 1
#define TB_CONFIG_POSIX_HAVE_PTHREAD_MUTEX_INIT 1
#define TB_CONFIG_LIBM_HAVE_FMODF 1
-#define TB_CONFIG_POSIX_HAVE_GETPAGESIZE 1
+#define TB_CONFIG_POSIX_HAVE_SYSCONF 1
#define TB_CONFIG_LIBC_HAVE_WCSTOMBS 1
#define TB_CONFIG_LIBM_HAVE_FMOD 1
#define TB_CONFIG_LIBC_HAVE_MEMCMP 1
+#define TB_CONFIG_POSIX_HAVE_GETPAGESIZE 1
#define TB_CONFIG_POSIX_HAVE_SEM_INIT 1
#define TB_CONFIG_POSIX_HAVE_GETHOSTNAME 1
#define TB_CONFIG_POSIX_HAVE_OPENDIR 1
-#define TB_CONFIG_LIBC_HAVE_STRLEN 1
-#define TB_CONFIG_MODULE_HAVE_THREAD 1
+#define TB_CONFIG_LIBM_HAVE_COSF 1
+#define TB_CONFIG_LIBM_HAVE_ATAN2F 1
#define TB_CONFIG_LIBM_HAVE_EXP 1
#define TB_CONFIG_LIBM_HAVE_SIN 1
-#define TB_CONFIG_LIBM_HAVE_COSF 1
#define TB_CONFIG_POSIX_HAVE_PTHREAD_CREATE 1
#define TB_CONFIG_LIBM_HAVE_ASIN 1
#define TB_CONFIG_LIBM_HAVE_EXPF 1
+#define TB_CONFIG_LIBC_HAVE_STRLEN 1
+#define TB_CONFIG_MODULE_HAVE_THREAD 1
#define TB_CONFIG_MODULE_HAVE_NETWORK 1
#define TB_CONFIG_LIBC_HAVE_MEMMEM 1
#define TB_CONFIG_LIBC_HAVE_WCSCASECMP 1
-#define TB_CONFIG_LIBC_HAVE_WCSNCASECMP 1
#define TB_CONFIG_LIBC_HAVE_MBSTOWCS 1
-#define TB_CONFIG_LIBM_HAVE_POWF 1
+#define TB_CONFIG_LIBC_HAVE_SIGSETJMP 1
#define TB_CONFIG_LIBM_HAVE_LOG2F 1
#define TB_CONFIG_LIBM_HAVE_ASINF 1
-#define TB_CONFIG_LIBC_HAVE_SIGNAL 1
#define TB_CONFIG_LIBC_HAVE_SETJMP 1
#define TB_CONFIG_LIBC_HAVE_STRCASESTR 1
#define TB_CONFIG_LIBC_HAVE_BACKTRACE 1
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/algorithm.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/algorithm.h
index e8c3981ac..e8c3981ac 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/algorithm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/algorithm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find.h
index 6a6f0b5f5..6a6f0b5f5 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find_if.h
index 43d9f581c..43d9f581c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/binary_find_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/bubble_sort.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/bubble_sort.h
index 9d98c046e..9d98c046e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/bubble_sort.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/bubble_sort.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/count.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/count.h
index 58053cbef..58053cbef 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/count.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/count.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/count_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/count_if.h
index 4800417b5..4800417b5 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/count_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/count_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/distance.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/distance.h
index 268049483..268049483 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/distance.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/distance.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/find.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/find.h
index be3ed6f3c..be3ed6f3c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/find.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/find.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/find_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/find_if.h
index d5239aa5c..d5239aa5c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/find_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/find_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/for.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/for.h
index 814607a3e..814607a3e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/for.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/for.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/for_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/for_if.h
index cd2270a25..cd2270a25 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/for_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/for_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/heap_sort.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/heap_sort.h
index 092ba2387..092ba2387 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/heap_sort.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/heap_sort.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/insert_sort.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/insert_sort.h
index 595be6a66..595be6a66 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/insert_sort.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/insert_sort.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/predicate.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/predicate.h
index 3b9e13eb2..3b9e13eb2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/predicate.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/predicate.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/prefix.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/prefix.h
index c991dc554..c991dc554 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/quick_sort.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/quick_sort.h
index 51aca3eae..51aca3eae 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/quick_sort.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/quick_sort.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove.h
index 55d688378..55d688378 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first.h
index a5524d6c4..a5524d6c4 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first_if.h
index 12a547e41..12a547e41 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_first_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_if.h
index 382a94ffd..382a94ffd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/remove_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind.h
index 5c9bf5368..5c9bf5368 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind_if.h
index 6608f39fa..6608f39fa 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfind_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor.h
index bbe553812..bbe553812 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor_if.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor_if.h
index 41da291b1..41da291b1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor_if.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/rfor_if.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/rwalk.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/rwalk.h
index f85b0f1a3..f85b0f1a3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/rwalk.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/rwalk.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/sort.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/sort.h
index 8d76f7c03..8d76f7c03 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/sort.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/sort.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/algorithm/walk.h b/core/pkg/tbox.pkg/inc/tbox/algorithm/walk.h
index b5fe70f03..b5fe70f03 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/algorithm/walk.h
+++ b/core/pkg/tbox.pkg/inc/tbox/algorithm/walk.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/aice.h b/core/pkg/tbox.pkg/inc/tbox/asio/aice.h
index 899caf88c..899caf88c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/aice.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/aice.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/aico.h b/core/pkg/tbox.pkg/inc/tbox/asio/aico.h
index 9b808c738..9b808c738 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/aico.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/aico.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/aicp.h b/core/pkg/tbox.pkg/inc/tbox/asio/aicp.h
index f8c0fbf62..f8c0fbf62 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/aicp.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/aicp.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/aioe.h b/core/pkg/tbox.pkg/inc/tbox/asio/aioe.h
index e9c692a48..e9c692a48 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/aioe.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/aioe.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/aioo.h b/core/pkg/tbox.pkg/inc/tbox/asio/aioo.h
index 372cbd86d..372cbd86d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/aioo.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/aioo.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/aiop.h b/core/pkg/tbox.pkg/inc/tbox/asio/aiop.h
index 4b5cc15e3..4b5cc15e3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/aiop.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/aiop.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/asio.h b/core/pkg/tbox.pkg/inc/tbox/asio/asio.h
index 8d96712c2..8d96712c2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/asio.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/asio.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/dns.h b/core/pkg/tbox.pkg/inc/tbox/asio/dns.h
index 5039b4cec..5039b4cec 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/dns.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/dns.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/http.h b/core/pkg/tbox.pkg/inc/tbox/asio/http.h
index 1fddab323..1fddab323 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/http.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/http.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/prefix.h b/core/pkg/tbox.pkg/inc/tbox/asio/prefix.h
index fe7990e96..fe7990e96 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/asio/ssl.h b/core/pkg/tbox.pkg/inc/tbox/asio/ssl.h
index a2d192e52..a2d192e52 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/asio/ssl.h
+++ b/core/pkg/tbox.pkg/inc/tbox/asio/ssl.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/charset/charset.h b/core/pkg/tbox.pkg/inc/tbox/charset/charset.h
index e33d12436..e33d12436 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/charset/charset.h
+++ b/core/pkg/tbox.pkg/inc/tbox/charset/charset.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/charset/prefix.h b/core/pkg/tbox.pkg/inc/tbox/charset/prefix.h
index 4f36158ce..4f36158ce 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/charset/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/charset/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/config.h b/core/pkg/tbox.pkg/inc/tbox/config.h
index 27ccfd550..27ccfd550 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/config.h
+++ b/core/pkg/tbox.pkg/inc/tbox/config.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/bloom_filter.h b/core/pkg/tbox.pkg/inc/tbox/container/bloom_filter.h
index 883e0bab9..883e0bab9 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/bloom_filter.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/bloom_filter.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/circle_queue.h b/core/pkg/tbox.pkg/inc/tbox/container/circle_queue.h
index 82157147c..82157147c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/circle_queue.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/circle_queue.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/container.h b/core/pkg/tbox.pkg/inc/tbox/container/container.h
index 237ceb9c1..237ceb9c1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/container.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/container.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/element.h b/core/pkg/tbox.pkg/inc/tbox/container/element.h
index 1ded4b0ff..1ded4b0ff 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/element.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/element.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/element/hash.h b/core/pkg/tbox.pkg/inc/tbox/container/element/hash.h
index 54a4e411a..54a4e411a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/element/hash.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/element/hash.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/element/prefix.h b/core/pkg/tbox.pkg/inc/tbox/container/element/prefix.h
index 51bf8c8a4..51bf8c8a4 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/element/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/element/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/hash_map.h b/core/pkg/tbox.pkg/inc/tbox/container/hash_map.h
index 8ac423017..8ac423017 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/hash_map.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/hash_map.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/hash_set.h b/core/pkg/tbox.pkg/inc/tbox/container/hash_set.h
index db0e930e8..db0e930e8 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/hash_set.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/hash_set.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/heap.h b/core/pkg/tbox.pkg/inc/tbox/container/heap.h
index 612618bca..612618bca 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/heap.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/heap.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/iterator.h b/core/pkg/tbox.pkg/inc/tbox/container/iterator.h
index c0d26e620..c0d26e620 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/iterator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/iterator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/iterator/prefix.h b/core/pkg/tbox.pkg/inc/tbox/container/iterator/prefix.h
index d84483189..d84483189 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/iterator/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/iterator/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/list.h b/core/pkg/tbox.pkg/inc/tbox/container/list.h
index f27c4935a..f27c4935a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/list.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/list.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/list_entry.h b/core/pkg/tbox.pkg/inc/tbox/container/list_entry.h
index 4a006a16d..4a006a16d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/list_entry.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/list_entry.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/prefix.h b/core/pkg/tbox.pkg/inc/tbox/container/prefix.h
index 3dde431fe..3dde431fe 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/priority_queue.h b/core/pkg/tbox.pkg/inc/tbox/container/priority_queue.h
index 2e87a64ae..2e87a64ae 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/priority_queue.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/priority_queue.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/queue.h b/core/pkg/tbox.pkg/inc/tbox/container/queue.h
index 8aa5a98aa..8aa5a98aa 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/queue.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/queue.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/single_list.h b/core/pkg/tbox.pkg/inc/tbox/container/single_list.h
index 861c749c0..861c749c0 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/single_list.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/single_list.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/single_list_entry.h b/core/pkg/tbox.pkg/inc/tbox/container/single_list_entry.h
index c45be57b1..c45be57b1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/single_list_entry.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/single_list_entry.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/stack.h b/core/pkg/tbox.pkg/inc/tbox/container/stack.h
index d357eca0a..d357eca0a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/stack.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/stack.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/container/vector.h b/core/pkg/tbox.pkg/inc/tbox/container/vector.h
index 9ffae0401..9ffae0401 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/container/vector.h
+++ b/core/pkg/tbox.pkg/inc/tbox/container/vector.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/database/database.h b/core/pkg/tbox.pkg/inc/tbox/database/database.h
index 26122a4ec..26122a4ec 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/database/database.h
+++ b/core/pkg/tbox.pkg/inc/tbox/database/database.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/database/prefix.h b/core/pkg/tbox.pkg/inc/tbox/database/prefix.h
index e0e7f10d5..e0e7f10d5 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/database/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/database/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/database/sql.h b/core/pkg/tbox.pkg/inc/tbox/database/sql.h
index bdbe4b876..bdbe4b876 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/database/sql.h
+++ b/core/pkg/tbox.pkg/inc/tbox/database/sql.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/database/value.h b/core/pkg/tbox.pkg/inc/tbox/database/value.h
index a28d286ee..a28d286ee 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/database/value.h
+++ b/core/pkg/tbox.pkg/inc/tbox/database/value.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/libc.h b/core/pkg/tbox.pkg/inc/tbox/libc/libc.h
index 0ae380055..0ae380055 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/libc.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/libc.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/ctype.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/ctype.h
index 878fce45c..878fce45c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/ctype.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/ctype.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/limits.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/limits.h
index 45828a1a7..45828a1a7 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/limits.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/limits.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/misc.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/misc.h
index 84a6aebbf..84a6aebbf 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/misc.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/misc.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/prefix.h
index 3cd542525..3cd542525 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/setjmp.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/setjmp.h
index b8583dcfd..b8583dcfd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/setjmp.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/setjmp.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/signal.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/signal.h
index ca15dc661..a2db2500f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/signal.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/signal.h
@@ -77,6 +77,8 @@
# define TB_SIGPWR (30) // power failure restart (system v).
# define TB_SIGSYS (31) // bad system call.
# define TB_SIGUNUSED (31)
+
+# define TB_SIG_DFL ((tb_void_t (*)(tb_int_t))0)
#endif
#endif
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/stdarg.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/stdarg.h
index 16aff2378..16aff2378 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/stdarg.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/stdarg.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/prefix.h
index af57dee8b..af57dee8b 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/time.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/time.h
index d96c76432..d96c76432 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/time.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/time.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/type.h b/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/type.h
index 25679768a..25679768a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/type.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/misc/time/type.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libc/prefix.h
index d01c40204..d01c40204 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/stdio/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libc/stdio/prefix.h
index 0b3b5db9e..0b3b5db9e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/stdio/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/stdio/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/stdio/printf_object.h b/core/pkg/tbox.pkg/inc/tbox/libc/stdio/printf_object.h
index 966ddc4a9..966ddc4a9 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/stdio/printf_object.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/stdio/printf_object.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/stdio/stdio.h b/core/pkg/tbox.pkg/inc/tbox/libc/stdio/stdio.h
index 99935bce8..99935bce8 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/stdio/stdio.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/stdio/stdio.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/prefix.h
index 16225fb06..16225fb06 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/stdlib.h b/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/stdlib.h
index bef6c0651..bef6c0651 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/stdlib.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/stdlib/stdlib.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/string/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libc/string/prefix.h
index 4a7bd507e..4a7bd507e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/string/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/string/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libc/string/string.h b/core/pkg/tbox.pkg/inc/tbox/libc/string/string.h
index ead619b44..ead619b44 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libc/string/string.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libc/string/string.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/ceil.h b/core/pkg/tbox.pkg/inc/tbox/libm/ceil.h
index eb3eaf343..eb3eaf343 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/ceil.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/ceil.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/fabs.h b/core/pkg/tbox.pkg/inc/tbox/libm/fabs.h
index 2465c49e2..2465c49e2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/fabs.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/fabs.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/floor.h b/core/pkg/tbox.pkg/inc/tbox/libm/floor.h
index 8c31041c1..8c31041c1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/floor.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/floor.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/inf.h b/core/pkg/tbox.pkg/inc/tbox/libm/inf.h
index 289ead7e3..289ead7e3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/inf.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/inf.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/libm.h b/core/pkg/tbox.pkg/inc/tbox/libm/libm.h
index ddcb0df07..ddcb0df07 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/libm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/libm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/maf.h b/core/pkg/tbox.pkg/inc/tbox/libm/maf.h
index 3101d4a4a..3101d4a4a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/maf.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/maf.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/math.h b/core/pkg/tbox.pkg/inc/tbox/libm/math.h
index 5f6b91737..5f6b91737 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/math.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/math.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/mif.h b/core/pkg/tbox.pkg/inc/tbox/libm/mif.h
index 0518db0d3..0518db0d3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/mif.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/mif.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/nan.h b/core/pkg/tbox.pkg/inc/tbox/libm/nan.h
index 0aca2f237..0aca2f237 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/nan.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/nan.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/pi.h b/core/pkg/tbox.pkg/inc/tbox/libm/pi.h
index 29bbc59c7..29bbc59c7 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/pi.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/pi.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/prefix.h b/core/pkg/tbox.pkg/inc/tbox/libm/prefix.h
index 0e0e72d14..0e0e72d14 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/libm/round.h b/core/pkg/tbox.pkg/inc/tbox/libm/round.h
index 17e9148fc..17e9148fc 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/libm/round.h
+++ b/core/pkg/tbox.pkg/inc/tbox/libm/round.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/fixed.h b/core/pkg/tbox.pkg/inc/tbox/math/fixed.h
index 590578a73..590578a73 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/fixed.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/fixed.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/fixed16.h b/core/pkg/tbox.pkg/inc/tbox/math/fixed16.h
index 138934543..138934543 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/fixed16.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/fixed16.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/fixed30.h b/core/pkg/tbox.pkg/inc/tbox/math/fixed30.h
index 41965701a..c820018b3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/fixed30.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/fixed30.h
@@ -133,7 +133,7 @@ static __tb_inline__ tb_fixed30_t tb_float_to_fixed30_check(tb_float_t x)
static __tb_inline__ tb_fixed30_t tb_fixed16_to_fixed30_check(tb_fixed16_t x)
{
// check overflow, [-2, 2]
- tb_assert(x >= (-2 << 16) && x <= (2 << 16) - 1);
+ tb_assert((x >> 16) >= -2 && (x >> 16) <= 2);
return (x << 14);
}
#endif
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/fixed6.h b/core/pkg/tbox.pkg/inc/tbox/math/fixed6.h
index ed384c32c..ed384c32c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/fixed6.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/fixed6.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed16_arm.h b/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed16_arm.h
index 2a84fca64..2a84fca64 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed16_arm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed16_arm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed30_arm.h b/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed30_arm.h
index 68ea25f26..68ea25f26 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed30_arm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/impl/fixed30_arm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/impl/prefix.h b/core/pkg/tbox.pkg/inc/tbox/math/impl/prefix.h
index 55e9f3aff..55e9f3aff 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/impl/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/impl/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/impl/random.h b/core/pkg/tbox.pkg/inc/tbox/math/impl/random.h
index c73accf88..c73accf88 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/impl/random.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/impl/random.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/int32.h b/core/pkg/tbox.pkg/inc/tbox/math/int32.h
index b51d425a3..b51d425a3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/int32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/int32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/math.h b/core/pkg/tbox.pkg/inc/tbox/math/math.h
index 9eef102c4..9eef102c4 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/math.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/math.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/prefix.h b/core/pkg/tbox.pkg/inc/tbox/math/prefix.h
index e42d4e57a..e42d4e57a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/math/random.h b/core/pkg/tbox.pkg/inc/tbox/math/random.h
index f21a364ee..f21a364ee 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/math/random.h
+++ b/core/pkg/tbox.pkg/inc/tbox/math/random.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/allocator.h b/core/pkg/tbox.pkg/inc/tbox/memory/allocator.h
index d78d66b90..d78d66b90 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/allocator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/allocator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/buffer.h b/core/pkg/tbox.pkg/inc/tbox/memory/buffer.h
index 98c6f568e..98c6f568e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/buffer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/buffer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/default_allocator.h b/core/pkg/tbox.pkg/inc/tbox/memory/default_allocator.h
index 4762a5e7d..4762a5e7d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/default_allocator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/default_allocator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/fixed_pool.h b/core/pkg/tbox.pkg/inc/tbox/memory/fixed_pool.h
index 433948dd8..433948dd8 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/fixed_pool.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/fixed_pool.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/large_allocator.h b/core/pkg/tbox.pkg/inc/tbox/memory/large_allocator.h
index f78e70eee..f78e70eee 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/large_allocator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/large_allocator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/memory.h b/core/pkg/tbox.pkg/inc/tbox/memory/memory.h
index b80d00ba2..b80d00ba2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/memory.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/memory.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/native_allocator.h b/core/pkg/tbox.pkg/inc/tbox/memory/native_allocator.h
index 3df6a16dd..3df6a16dd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/native_allocator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/native_allocator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/prefix.h b/core/pkg/tbox.pkg/inc/tbox/memory/prefix.h
index 120511a2a..120511a2a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/queue_buffer.h b/core/pkg/tbox.pkg/inc/tbox/memory/queue_buffer.h
index cb4c18d4f..cb4c18d4f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/queue_buffer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/queue_buffer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/small_allocator.h b/core/pkg/tbox.pkg/inc/tbox/memory/small_allocator.h
index 78100ad28..78100ad28 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/small_allocator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/small_allocator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/static_allocator.h b/core/pkg/tbox.pkg/inc/tbox/memory/static_allocator.h
index 19334dfb9..19334dfb9 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/static_allocator.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/static_allocator.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/static_buffer.h b/core/pkg/tbox.pkg/inc/tbox/memory/static_buffer.h
index daaa065fd..daaa065fd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/static_buffer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/static_buffer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/memory/string_pool.h b/core/pkg/tbox.pkg/inc/tbox/memory/string_pool.h
index a1c068a92..a1c068a92 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/memory/string_pool.h
+++ b/core/pkg/tbox.pkg/inc/tbox/memory/string_pool.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/cookies.h b/core/pkg/tbox.pkg/inc/tbox/network/cookies.h
index 5d6438fe9..5d6438fe9 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/cookies.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/cookies.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/dns/cache.h b/core/pkg/tbox.pkg/inc/tbox/network/dns/cache.h
index b4bcdd662..b4bcdd662 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/dns/cache.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/dns/cache.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/dns/dns.h b/core/pkg/tbox.pkg/inc/tbox/network/dns/dns.h
index d4553323f..d4553323f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/dns/dns.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/dns/dns.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/dns/looker.h b/core/pkg/tbox.pkg/inc/tbox/network/dns/looker.h
index b400e8108..b400e8108 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/dns/looker.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/dns/looker.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/dns/prefix.h b/core/pkg/tbox.pkg/inc/tbox/network/dns/prefix.h
index ba0e8ccbe..ba0e8ccbe 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/dns/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/dns/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/dns/server.h b/core/pkg/tbox.pkg/inc/tbox/network/dns/server.h
index 7a574a28c..7a574a28c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/dns/server.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/dns/server.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/http.h b/core/pkg/tbox.pkg/inc/tbox/network/http.h
index 6ff4cb986..6ff4cb986 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/http.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/http.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/hwaddr.h b/core/pkg/tbox.pkg/inc/tbox/network/hwaddr.h
index f3168cf24..f3168cf24 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/hwaddr.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/hwaddr.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/ipaddr.h b/core/pkg/tbox.pkg/inc/tbox/network/ipaddr.h
index d24f7400d..d24f7400d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/ipaddr.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/ipaddr.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/ipv4.h b/core/pkg/tbox.pkg/inc/tbox/network/ipv4.h
index 5d6639c9d..5d6639c9d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/ipv4.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/ipv4.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/ipv6.h b/core/pkg/tbox.pkg/inc/tbox/network/ipv6.h
index b9b4b99d5..b9b4b99d5 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/ipv6.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/ipv6.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/network.h b/core/pkg/tbox.pkg/inc/tbox/network/network.h
index 31e6b74c0..da1a1972c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/network.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/network.h
@@ -39,6 +39,11 @@
#include "dns/dns.h"
/* //////////////////////////////////////////////////////////////////////////////////////
+ * extern
+ */
+__tb_extern_c_enter__
+
+/* //////////////////////////////////////////////////////////////////////////////////////
* interfaces
*/
@@ -51,4 +56,9 @@ tb_bool_t tb_network_init(tb_noarg_t);
/// exit network
tb_void_t tb_network_exit(tb_noarg_t);
+/* //////////////////////////////////////////////////////////////////////////////////////
+ * extern
+ */
+__tb_extern_c_leave__
+
#endif
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/prefix.h b/core/pkg/tbox.pkg/inc/tbox/network/prefix.h
index f84388c05..f84388c05 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/ssl.h b/core/pkg/tbox.pkg/inc/tbox/network/ssl.h
index 160bec37d..160bec37d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/ssl.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/ssl.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/network/url.h b/core/pkg/tbox.pkg/inc/tbox/network/url.h
index b82094ec8..b82094ec8 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/network/url.h
+++ b/core/pkg/tbox.pkg/inc/tbox/network/url.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/array.h b/core/pkg/tbox.pkg/inc/tbox/object/array.h
index 7e860acbd..7e860acbd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/array.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/array.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/boolean.h b/core/pkg/tbox.pkg/inc/tbox/object/boolean.h
index 5ad12edb6..5ad12edb6 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/boolean.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/boolean.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/data.h b/core/pkg/tbox.pkg/inc/tbox/object/data.h
index 6449e8307..6449e8307 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/data.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/data.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/date.h b/core/pkg/tbox.pkg/inc/tbox/object/date.h
index 289951c85..289951c85 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/date.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/date.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/dictionary.h b/core/pkg/tbox.pkg/inc/tbox/object/dictionary.h
index a4f9b5dc7..a4f9b5dc7 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/dictionary.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/dictionary.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/null.h b/core/pkg/tbox.pkg/inc/tbox/object/null.h
index f1e20b427..f1e20b427 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/null.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/null.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/number.h b/core/pkg/tbox.pkg/inc/tbox/object/number.h
index 830afc660..830afc660 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/number.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/number.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/object.h b/core/pkg/tbox.pkg/inc/tbox/object/object.h
index f3853df22..f3853df22 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/object.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/object.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/prefix.h b/core/pkg/tbox.pkg/inc/tbox/object/prefix.h
index 0179b06ce..0179b06ce 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/object/string.h b/core/pkg/tbox.pkg/inc/tbox/object/string.h
index a3721b777..a3721b777 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/object/string.h
+++ b/core/pkg/tbox.pkg/inc/tbox/object/string.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/android/android.h b/core/pkg/tbox.pkg/inc/tbox/platform/android/android.h
index 3868f34e5..3868f34e5 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/android/android.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/android/android.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/android/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/android/prefix.h
index 65be2ee39..65be2ee39 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/android/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/android/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/atomic.h
index 131cd2ed3..131cd2ed3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/frame.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/frame.h
index 4e0b57417..4e0b57417 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/frame.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/frame.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/prefix.h
index 6e4b9b805..6e4b9b805 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/arm/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/atomic.h
index ea9bc45d8..ea9bc45d8 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/barrier.h
index 5c4542140..5c4542140 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/frame.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/frame.h
index 9d029823a..9d029823a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/frame.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/frame.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/prefix.h
index ead1d4e22..ead1d4e22 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/atomic.h
index 8ff26d126..8ff26d126 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/barrier.h
index 08fdb7c11..08fdb7c11 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/frame.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/frame.h
index 512b06e00..512b06e00 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/frame.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/frame.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/prefix.h
index c2d356bde..c2d356bde 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x64/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/atomic.h
index b708e5d03..b708e5d03 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/barrier.h
index e88531d88..e88531d88 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/frame.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/frame.h
index bdbbcd715..bdbbcd715 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/frame.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/frame.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/prefix.h
index ca366b4b1..ca366b4b1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/arch/x86/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/atomic.h
index 0075668f9..0075668f9 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/atomic64.h b/core/pkg/tbox.pkg/inc/tbox/platform/atomic64.h
index c7e88121d..c7e88121d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/atomic64.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/atomic64.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/backtrace.h b/core/pkg/tbox.pkg/inc/tbox/platform/backtrace.h
index 733a75dbd..733a75dbd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/backtrace.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/backtrace.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/barrier.h
index 5054febfe..5054febfe 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/cache_time.h b/core/pkg/tbox.pkg/inc/tbox/platform/cache_time.h
index 1979c7817..1979c7817 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/cache_time.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/cache_time.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic.h
index 66eba4d6d..66eba4d6d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic64.h b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic64.h
index e4bc06098..e4bc06098 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic64.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/atomic64.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/barrier.h
index 06ac42942..06ac42942 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/prefix.h
index 2900ee549..2900ee549 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/gcc/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/prefix.h
index c41e8c01d..c41e8c01d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/compiler/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/compiler/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/directory.h b/core/pkg/tbox.pkg/inc/tbox/platform/directory.h
index 23df0b329..23df0b329 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/directory.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/directory.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/dns.h b/core/pkg/tbox.pkg/inc/tbox/platform/dns.h
index 8fa360c63..8fa360c63 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/dns.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/dns.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/dynamic.h b/core/pkg/tbox.pkg/inc/tbox/platform/dynamic.h
index 420772d19..420772d19 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/dynamic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/dynamic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/environment.h b/core/pkg/tbox.pkg/inc/tbox/platform/environment.h
index 7140ee3ac..7140ee3ac 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/environment.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/environment.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/event.h b/core/pkg/tbox.pkg/inc/tbox/platform/event.h
index 48b05e008..48b05e008 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/event.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/event.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/exception.h b/core/pkg/tbox.pkg/inc/tbox/platform/exception.h
index 080fb7e21..080fb7e21 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/exception.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/exception.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/file.h b/core/pkg/tbox.pkg/inc/tbox/platform/file.h
index 0590e47a2..0590e47a2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/file.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/file.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/hostname.h b/core/pkg/tbox.pkg/inc/tbox/platform/hostname.h
index f6eb57090..f6eb57090 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/hostname.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/hostname.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/ifaddrs.h b/core/pkg/tbox.pkg/inc/tbox/platform/ifaddrs.h
index ceb76ee61..ceb76ee61 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/ifaddrs.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/ifaddrs.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/libc/exception.h b/core/pkg/tbox.pkg/inc/tbox/platform/libc/exception.h
index a8ffbc1b7..a93eb82c6 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/libc/exception.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/libc/exception.h
@@ -32,6 +32,9 @@
#include "../../libc/misc/signal.h"
#include "../../libc/misc/setjmp.h"
#include "../../container/container.h"
+#ifdef TB_CONFIG_LIBC_HAVE_KILL
+# include <unistd.h>
+#endif
/* //////////////////////////////////////////////////////////////////////////////////////
* types
@@ -43,10 +46,10 @@
typedef struct __tb_exception_list_t
{
// the thread store base
- tb_thread_store_data_t base;
+ tb_thread_store_data_t base;
// the stack
- tb_stack_ref_t stack;
+ tb_stack_ref_t stack;
}tb_exception_list_t;
@@ -145,7 +148,23 @@ static __tb_inline__ tb_void_t tb_exception_func_impl(tb_int_t sig)
tb_sigjmpbuf_t* jmpbuf = (tb_sigjmpbuf_t*)tb_stack_top(list->stack);
if (jmpbuf) tb_siglongjmp(*jmpbuf, 1);
}
- else tb_trace_e("exception: unknown signal: %d", sig);
+ else
+ {
+ // trace
+ tb_trace_e("exception: no handler for signal: %d", sig);
+
+ // ignore signal
+ tb_signal(TB_SIGILL, TB_SIG_DFL);
+ tb_signal(TB_SIGFPE, TB_SIG_DFL);
+ tb_signal(TB_SIGBUS, TB_SIG_DFL);
+ tb_signal(TB_SIGSEGV, TB_SIG_DFL);
+ tb_signal(TB_SIGABRT, TB_SIG_DFL);
+
+#ifdef TB_CONFIG_LIBC_HAVE_KILL
+ // kill it
+ kill(getpid(), sig);
+#endif
+ }
}
static __tb_inline__ tb_void_t tb_exception_init_impl()
{
@@ -157,6 +176,7 @@ static __tb_inline__ tb_void_t tb_exception_init_impl()
tb_signal(TB_SIGFPE, tb_exception_func_impl);
tb_signal(TB_SIGBUS, tb_exception_func_impl);
tb_signal(TB_SIGSEGV, tb_exception_func_impl);
+ tb_signal(TB_SIGABRT, tb_exception_func_impl);
// tb_signal(TB_SIGTRAP, tb_exception_func_impl);
}
}
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/libc/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/libc/prefix.h
index 0b9dab421..0b9dab421 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/libc/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/libc/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/linux/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/linux/prefix.h
index e131be8ad..e131be8ad 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/linux/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/linux/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/ltimer.h b/core/pkg/tbox.pkg/inc/tbox/platform/ltimer.h
index 93b5e8c3d..93b5e8c3d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/ltimer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/ltimer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/mach/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/mach/barrier.h
index 3a54f5ef5..3a54f5ef5 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/mach/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/mach/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/mach/ios/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/mach/ios/prefix.h
index d8bdbc6d3..d8bdbc6d3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/mach/ios/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/mach/ios/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/mach/mac/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/mach/mac/prefix.h
deleted file mode 100644
index f4e014c91..000000000
--- a/core/pkg/tbox.pkg/inc/tbox/platform/mach/mac/prefix.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*!The Treasure Box Library
- *
- * TBox is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * TBox is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with TBox;
- * If not, see <a href="http://www.gnu.org/licenses/"> http://www.gnu.org/licenses/</a>
- *
- * Copyright (C) 2009 - 2015, ruki All rights reserved.
- *
- * @author ruki
- * @file prefix.h
- * @ingroup platform
- */
-#ifndef TB_PLATFORM_MACH_MAC_PREFIX_H
-#define TB_PLATFORM_MACH_MAC_PREFIX_H
-
-/* //////////////////////////////////////////////////////////////////////////////////////
- * includes
- */
-#include "../prefix.h"
-
-#endif
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/mach/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/mach/prefix.h
index e306ad0da..e306ad0da 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/mach/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/mach/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/memory.h b/core/pkg/tbox.pkg/inc/tbox/platform/memory.h
index 0cb294d35..0cb294d35 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/memory.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/memory.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/mutex.h b/core/pkg/tbox.pkg/inc/tbox/platform/mutex.h
index 2600463f7..2600463f7 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/mutex.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/mutex.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/page.h b/core/pkg/tbox.pkg/inc/tbox/platform/page.h
index c3c9ca9c0..c3c9ca9c0 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/page.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/page.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/path.h b/core/pkg/tbox.pkg/inc/tbox/platform/path.h
index c08eb4f6c..c08eb4f6c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/path.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/path.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/platform.h b/core/pkg/tbox.pkg/inc/tbox/platform/platform.h
index 7233c2272..7233c2272 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/platform.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/platform.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/posix/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/posix/prefix.h
index cf88c8e85..cf88c8e85 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/posix/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/posix/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/posix/sockaddr.h b/core/pkg/tbox.pkg/inc/tbox/platform/posix/sockaddr.h
index 3d3529c01..3d3529c01 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/posix/sockaddr.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/posix/sockaddr.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/prefix.h
index c5791eab9..c5791eab9 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/print.h b/core/pkg/tbox.pkg/inc/tbox/platform/print.h
index a7b00e490..a7b00e490 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/print.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/print.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/process.h b/core/pkg/tbox.pkg/inc/tbox/platform/process.h
index dab5ac300..dab5ac300 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/process.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/process.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/processor.h b/core/pkg/tbox.pkg/inc/tbox/platform/processor.h
index 16ca7360c..16ca7360c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/processor.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/processor.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/sched.h b/core/pkg/tbox.pkg/inc/tbox/platform/sched.h
index 09ca92f27..09ca92f27 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/sched.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/sched.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/semaphore.h b/core/pkg/tbox.pkg/inc/tbox/platform/semaphore.h
index 1eb800ce8..1eb800ce8 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/semaphore.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/semaphore.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/socket.h b/core/pkg/tbox.pkg/inc/tbox/platform/socket.h
index 2022aa4a1..2022aa4a1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/socket.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/socket.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/spinlock.h b/core/pkg/tbox.pkg/inc/tbox/platform/spinlock.h
index cd4f91376..cd4f91376 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/spinlock.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/spinlock.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/systemv/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/systemv/prefix.h
index 64c917a0f..64c917a0f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/systemv/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/systemv/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/thread.h b/core/pkg/tbox.pkg/inc/tbox/platform/thread.h
index e1de62e96..e1de62e96 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/thread.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/thread.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/thread_pool.h b/core/pkg/tbox.pkg/inc/tbox/platform/thread_pool.h
index 2f8df50dc..2f8df50dc 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/thread_pool.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/thread_pool.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/thread_store.h b/core/pkg/tbox.pkg/inc/tbox/platform/thread_store.h
index ea15fe37e..ea15fe37e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/thread_store.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/thread_store.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/time.h b/core/pkg/tbox.pkg/inc/tbox/platform/time.h
index bc9009c70..bc9009c70 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/time.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/time.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/timer.h b/core/pkg/tbox.pkg/inc/tbox/platform/timer.h
index ef9968195..ef9968195 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/timer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/timer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/unix/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/unix/prefix.h
index c5735c89c..c5735c89c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/unix/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/unix/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/unix/syscall.h b/core/pkg/tbox.pkg/inc/tbox/platform/unix/syscall.h
index ffa028f34..ffa028f34 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/unix/syscall.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/unix/syscall.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic.h
index 2df848185..2df848185 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic64.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic64.h
index 3cf651b98..3cf651b98 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic64.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/atomic64.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/barrier.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/barrier.h
index 61e27d51c..61e27d51c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/barrier.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/barrier.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/exception.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/exception.h
index 132d38d17..132d38d17 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/exception.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/exception.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/dbghelp.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/dbghelp.h
index 582082055..582082055 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/dbghelp.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/dbghelp.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/interface.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/interface.h
index 24e843258..24e843258 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/interface.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/interface.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/iphlpapi.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/iphlpapi.h
index 677690f66..677690f66 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/iphlpapi.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/iphlpapi.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/kernel32.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/kernel32.h
index b9f3f3773..b9f3f3773 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/kernel32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/kernel32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/mswsock.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/mswsock.h
index b791d5c07..b791d5c07 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/mswsock.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/mswsock.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/prefix.h
index c65ec26ab..c65ec26ab 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/shell32.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/shell32.h
index 54f3d38ca..54f3d38ca 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/shell32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/shell32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/user32.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/user32.h
index a1875436c..a1875436c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/user32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/user32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/ws2_32.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/ws2_32.h
index d53b99cfb..d53b99cfb 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/ws2_32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/interface/ws2_32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/ntstatus.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/ntstatus.h
index c57efe865..c57efe865 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/ntstatus.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/ntstatus.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/prefix.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/prefix.h
index d14a6fea8..9d9f38502 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/prefix.h
@@ -57,11 +57,7 @@ static __tb_inline__ tb_wchar_t const* tb_path_absolute_w(tb_char_t const* path,
if (!tb_path_absolute(path, full_a, TB_PATH_MAXN)) return tb_null;
// atow
- tb_size_t size = tb_atow(full, full_a, maxn);
- if (size < maxn) full[size] = L'\0';
-
- // ok?
- return size? full : tb_null;
+ return tb_atow(full, full_a, maxn) != -1? full : tb_null;
}
#endif
diff --git a/core/pkg/tbox.pkg/inc/tbox/platform/windows/socket_pool.h b/core/pkg/tbox.pkg/inc/tbox/platform/windows/socket_pool.h
index ff8fde64a..ff8fde64a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/platform/windows/socket_pool.h
+++ b/core/pkg/tbox.pkg/inc/tbox/platform/windows/socket_pool.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix.h b/core/pkg/tbox.pkg/inc/tbox/prefix.h
index c72e3af69..c72e3af69 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/abort.h b/core/pkg/tbox.pkg/inc/tbox/prefix/abort.h
index 3b52d631c..4ae8b1d58 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/abort.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/abort.h
@@ -34,8 +34,11 @@
* macros
*/
-// abort it, @note ud2 cannot be aborted immediately for multi-thread
-#if defined(TB_ARCH_x86) || defined(TB_ARCH_x64)
+/* abort it, @note ud2 cannot be aborted immediately for multi-thread
+ * and it will be not catched for linux exception (ignore int3 signal)
+ */
+#if (defined(TB_ARCH_x86) || defined(TB_ARCH_x64)) && \
+ (!defined(TB_CONFIG_EXCEPTION_ENABLE) || defined(TB_CONFIG_OS_WINDOWS))
# if defined(TB_ASSEMBLER_IS_MASM) && !defined(TB_ARCH_x64)
//# define tb_abort_done() do { __tb_asm__ { ud2 } } while (0)
# define tb_abort_done() do { __tb_asm__ { int 3 } } while (0)
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/arch.h b/core/pkg/tbox.pkg/inc/tbox/prefix/arch.h
index 6bebf5f90..6bebf5f90 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/arch.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/arch.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm.h b/core/pkg/tbox.pkg/inc/tbox/prefix/asm.h
index 7480e805d..7480e805d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.S b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.S
index 85744e43e..85744e43e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.S
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.S
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.h b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.h
index 58d8a6e9f..58d8a6e9f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/arm/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/asm.h b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/asm.h
index f3c6bbfa4..f3c6bbfa4 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/asm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/asm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/cache.h b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/cache.h
index 9ffa51d6d..9ffa51d6d 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/cache.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/cache.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.S b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.S
index 574675b8a..574675b8a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.S
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.S
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.h b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.h
index d211e155e..d211e155e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/asm/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/assembler.h b/core/pkg/tbox.pkg/inc/tbox/prefix/assembler.h
index 8f55841a3..8f55841a3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/assembler.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/assembler.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/assert.h b/core/pkg/tbox.pkg/inc/tbox/prefix/assert.h
index ab5771310..ab5771310 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/assert.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/assert.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/check.h b/core/pkg/tbox.pkg/inc/tbox/prefix/check.h
index b64aacd55..b64aacd55 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/check.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/check.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/compiler.h b/core/pkg/tbox.pkg/inc/tbox/prefix/compiler.h
index 4d50eacc2..4d50eacc2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/compiler.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/compiler.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/config.h b/core/pkg/tbox.pkg/inc/tbox/prefix/config.h
index d8b62dcb3..d8b62dcb3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/config.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/config.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/cpu.h b/core/pkg/tbox.pkg/inc/tbox/prefix/cpu.h
index fab6bb866..fab6bb866 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/cpu.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/cpu.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/endian.h b/core/pkg/tbox.pkg/inc/tbox/prefix/endian.h
index 04ce3c8db..04ce3c8db 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/endian.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/endian.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/keyword.h b/core/pkg/tbox.pkg/inc/tbox/prefix/keyword.h
index 246310bd2..246310bd2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/keyword.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/keyword.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/limits.h b/core/pkg/tbox.pkg/inc/tbox/prefix/limits.h
index 7bc322f8c..7bc322f8c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/limits.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/limits.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/malloc.h b/core/pkg/tbox.pkg/inc/tbox/prefix/malloc.h
index 37651ad51..37651ad51 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/malloc.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/malloc.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/packed.h b/core/pkg/tbox.pkg/inc/tbox/prefix/packed.h
index 815c294bb..815c294bb 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/packed.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/packed.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/prefix.h b/core/pkg/tbox.pkg/inc/tbox/prefix/prefix.h
index db4bf42f3..db4bf42f3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/state.h b/core/pkg/tbox.pkg/inc/tbox/prefix/state.h
index d8e5dc454..d8e5dc454 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/state.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/state.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/trace.h b/core/pkg/tbox.pkg/inc/tbox/prefix/trace.h
index 15fcbf4a4..15fcbf4a4 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/trace.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/trace.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/type.h b/core/pkg/tbox.pkg/inc/tbox/prefix/type.h
index 400ac88bc..400ac88bc 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/type.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/type.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/utils.h b/core/pkg/tbox.pkg/inc/tbox/prefix/utils.h
index 4bd0e7a46..4bd0e7a46 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/utils.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/utils.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/prefix/version.h b/core/pkg/tbox.pkg/inc/tbox/prefix/version.h
index 9d066993f..9d066993f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/prefix/version.h
+++ b/core/pkg/tbox.pkg/inc/tbox/prefix/version.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/regex/regex.h b/core/pkg/tbox.pkg/inc/tbox/regex/regex.h
index f80f0366a..a25ee00be 100755
--- a/core/pkg/tbox.pkg/inc/tbox/regex/regex.h
+++ b/core/pkg/tbox.pkg/inc/tbox/regex/regex.h
@@ -29,6 +29,11 @@
#include "prefix.h"
/* //////////////////////////////////////////////////////////////////////////////////////
+ * extern
+ */
+__tb_extern_c_enter__
+
+/* //////////////////////////////////////////////////////////////////////////////////////
* types
*/
@@ -407,4 +412,9 @@ tb_char_t const* tb_regex_replace_done_cstr(tb_char_t const* pattern, tb_
tb_char_t const* tb_regex_replace_done_simple(tb_char_t const* pattern, tb_size_t mode, tb_char_t const* cstr, tb_char_t const* replace_cstr);
+/* //////////////////////////////////////////////////////////////////////////////////////
+ * extern
+ */
+__tb_extern_c_leave__
+
#endif
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/async_stream.h b/core/pkg/tbox.pkg/inc/tbox/stream/async_stream.h
index 0d7c5cece..0d7c5cece 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/async_stream.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/async_stream.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/async_transfer.h b/core/pkg/tbox.pkg/inc/tbox/stream/async_transfer.h
index 525820a59..525820a59 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/async_transfer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/async_transfer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/filter.h b/core/pkg/tbox.pkg/inc/tbox/stream/filter.h
index f6c1535e2..f6c1535e2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/filter.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/filter.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/prefix.h b/core/pkg/tbox.pkg/inc/tbox/stream/prefix.h
index f2e4b50d7..f2e4b50d7 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/static_stream.h b/core/pkg/tbox.pkg/inc/tbox/stream/static_stream.h
index 3cead8dc0..3cead8dc0 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/static_stream.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/static_stream.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/stream.h b/core/pkg/tbox.pkg/inc/tbox/stream/stream.h
index 10a906c73..10a906c73 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/stream.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/stream.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/transfer.h b/core/pkg/tbox.pkg/inc/tbox/stream/transfer.h
index f82a23308..f82a23308 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/transfer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/transfer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/stream/transfer_pool.h b/core/pkg/tbox.pkg/inc/tbox/stream/transfer_pool.h
index a251b099c..a251b099c 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/stream/transfer_pool.h
+++ b/core/pkg/tbox.pkg/inc/tbox/stream/transfer_pool.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/string/prefix.h b/core/pkg/tbox.pkg/inc/tbox/string/prefix.h
index baa78f413..baa78f413 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/string/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/string/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/string/static_string.h b/core/pkg/tbox.pkg/inc/tbox/string/static_string.h
index 8f97aeacb..8f97aeacb 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/string/static_string.h
+++ b/core/pkg/tbox.pkg/inc/tbox/string/static_string.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/string/string.h b/core/pkg/tbox.pkg/inc/tbox/string/string.h
index f59bb04ae..f59bb04ae 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/string/string.h
+++ b/core/pkg/tbox.pkg/inc/tbox/string/string.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/tbox.h b/core/pkg/tbox.pkg/inc/tbox/tbox.h
index 190252505..190252505 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/tbox.h
+++ b/core/pkg/tbox.pkg/inc/tbox/tbox.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/adler32.h b/core/pkg/tbox.pkg/inc/tbox/utils/adler32.h
index dc0240a55..dc0240a55 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/adler32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/adler32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/base32.h b/core/pkg/tbox.pkg/inc/tbox/utils/base32.h
index 912139a89..912139a89 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/base32.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/base32.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/base64.h b/core/pkg/tbox.pkg/inc/tbox/utils/base64.h
index 957dd0910..957dd0910 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/base64.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/base64.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/bits.h b/core/pkg/tbox.pkg/inc/tbox/utils/bits.h
index cdc05ad66..cdc05ad66 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/bits.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/bits.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/crc.h b/core/pkg/tbox.pkg/inc/tbox/utils/crc.h
index 047ca5142..047ca5142 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/crc.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/crc.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/dump.h b/core/pkg/tbox.pkg/inc/tbox/utils/dump.h
index 07f254673..07f254673 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/dump.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/dump.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_arm.h b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_arm.h
index 988e2a311..988e2a311 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_arm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_arm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_gcc.h b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_gcc.h
index 70df7ae14..70df7ae14 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_gcc.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_gcc.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_sh4.h b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_sh4.h
index d73418104..d73418104 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_sh4.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_sh4.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_x86.h b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_x86.h
index 2eef8b0fd..2eef8b0fd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_x86.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/impl/bits_x86.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/impl/crc_arm.h b/core/pkg/tbox.pkg/inc/tbox/utils/impl/crc_arm.h
index e3164bd20..e3164bd20 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/impl/crc_arm.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/impl/crc_arm.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/impl/prefix.h b/core/pkg/tbox.pkg/inc/tbox/utils/impl/prefix.h
index 0f32a6b68..0f32a6b68 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/impl/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/impl/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/lock_profiler.h b/core/pkg/tbox.pkg/inc/tbox/utils/lock_profiler.h
index 657d5ee31..657d5ee31 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/lock_profiler.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/lock_profiler.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/md5.h b/core/pkg/tbox.pkg/inc/tbox/utils/md5.h
index 3503712cf..3503712cf 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/md5.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/md5.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/option.h b/core/pkg/tbox.pkg/inc/tbox/utils/option.h
index f1c67cc5e..f1c67cc5e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/option.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/option.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/prefix.h b/core/pkg/tbox.pkg/inc/tbox/utils/prefix.h
index c9bbc618f..c9bbc618f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/sha.h b/core/pkg/tbox.pkg/inc/tbox/utils/sha.h
index 845dd5c64..845dd5c64 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/sha.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/sha.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/singleton.h b/core/pkg/tbox.pkg/inc/tbox/utils/singleton.h
index cf8170bc2..cf8170bc2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/singleton.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/singleton.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/trace.h b/core/pkg/tbox.pkg/inc/tbox/utils/trace.h
index ffdd0efd3..ffdd0efd3 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/trace.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/trace.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/url.h b/core/pkg/tbox.pkg/inc/tbox/utils/url.h
index e8b671152..e8b671152 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/url.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/url.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/used.h b/core/pkg/tbox.pkg/inc/tbox/utils/used.h
index 624ce2acd..624ce2acd 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/used.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/used.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/utils/utils.h b/core/pkg/tbox.pkg/inc/tbox/utils/utils.h
index 9b3393fdf..9b3393fdf 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/utils/utils.h
+++ b/core/pkg/tbox.pkg/inc/tbox/utils/utils.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/xml/node.h b/core/pkg/tbox.pkg/inc/tbox/xml/node.h
index 23da09d11..23da09d11 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/xml/node.h
+++ b/core/pkg/tbox.pkg/inc/tbox/xml/node.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/xml/prefix.h b/core/pkg/tbox.pkg/inc/tbox/xml/prefix.h
index eddf8bca1..eddf8bca1 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/xml/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/xml/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/xml/reader.h b/core/pkg/tbox.pkg/inc/tbox/xml/reader.h
index 1f6dd84f2..1f6dd84f2 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/xml/reader.h
+++ b/core/pkg/tbox.pkg/inc/tbox/xml/reader.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/xml/writer.h b/core/pkg/tbox.pkg/inc/tbox/xml/writer.h
index 8541ba03e..8541ba03e 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/xml/writer.h
+++ b/core/pkg/tbox.pkg/inc/tbox/xml/writer.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/xml/xml.h b/core/pkg/tbox.pkg/inc/tbox/xml/xml.h
index 4c0214775..4c0214775 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/xml/xml.h
+++ b/core/pkg/tbox.pkg/inc/tbox/xml/xml.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/zip/gzip.h b/core/pkg/tbox.pkg/inc/tbox/zip/gzip.h
index e614e1a5f..e614e1a5f 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/zip/gzip.h
+++ b/core/pkg/tbox.pkg/inc/tbox/zip/gzip.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/zip/prefix.h b/core/pkg/tbox.pkg/inc/tbox/zip/prefix.h
index 76f5d0884..76f5d0884 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/zip/prefix.h
+++ b/core/pkg/tbox.pkg/inc/tbox/zip/prefix.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/zip/zip.h b/core/pkg/tbox.pkg/inc/tbox/zip/zip.h
index 04d8a145a..04d8a145a 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/zip/zip.h
+++ b/core/pkg/tbox.pkg/inc/tbox/zip/zip.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/zip/zlib.h b/core/pkg/tbox.pkg/inc/tbox/zip/zlib.h
index f6b2ae730..f6b2ae730 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/zip/zlib.h
+++ b/core/pkg/tbox.pkg/inc/tbox/zip/zlib.h
diff --git a/core/pkg/tbox.pkg/inc/tbox/zip/zlibraw.h b/core/pkg/tbox.pkg/inc/tbox/zip/zlibraw.h
index 805f7c50b..805f7c50b 100644..100755
--- a/core/pkg/tbox.pkg/inc/tbox/zip/zlibraw.h
+++ b/core/pkg/tbox.pkg/inc/tbox/zip/zlibraw.h