wasm-micro-runtime/core/shared/platform/common/posix
Xu Jun 92c4bbebad
Fix getting port issue in posix os_socket_bind (#1981)
In the previous code, the `*port` is assigned before `getsockname`, so the caller
may be not able to get the actual port number assigned by system.
Move the assigning of `*port` to be after `getsockname` to resolve the issue.
2023-02-22 18:59:13 +08:00
..
platform_api_posix.cmake re-org platform APIs, simplify porting process (#201) 2020-03-16 16:43:57 +08:00
posix_malloc.c Add bh_print_proc_mem() to dump memory info of current process (#1734) 2022-11-25 08:33:44 +08:00
posix_memmap.c Fix ‘MADV_HUGEPAGE’ undeclared compilation error (#1012) 2022-02-18 11:25:06 +08:00
posix_socket.c Fix getting port issue in posix os_socket_bind (#1981) 2023-02-22 18:59:13 +08:00
posix_thread.c Fix issues reported by Coverity static analysis (#1974) 2023-02-22 11:10:21 +08:00
posix_time.c Apply clang-format for core/shared and product-mini files (#785) 2021-10-14 09:12:07 +08:00