I guess this works? Not sure what's wrong with AF_UNIX on iOS.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4521 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2023-10-15 17:42:04 +00:00
parent a69e551968
commit 2583221117
2 changed files with 2 additions and 1 deletions

View File

@ -672,6 +672,7 @@ void tf_run_thread_start(const char* zip_path)
.https_port = 12346,
.ssb_port = 8008,
.db_path = k_db_path_default,
.one_proc = true,
.zip = zip_path,
};
*data = (tf_run_thread_data_t)

View File

@ -139,7 +139,7 @@ static JSValue _taskstub_create(JSContext* context, JSValueConst this_val, int a
if (tf_task_get_one_proc(parent))
{
uv_os_sock_t fds[2];
int pipe_result = uv_socketpair(SOCK_STREAM, AF_UNIX, fds, 0, 0);
int pipe_result = uv_socketpair(SOCK_STREAM, 0, fds, 0, 0);
if (pipe_result)
{
tf_printf("uv_socketpair failed: %s\n", uv_strerror(pipe_result));