From 9c6cec803aad3564376cc598d6f7dafdcc26c0f9 Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Tue, 13 Oct 2020 00:58:06 +0200 Subject: [PATCH] linux,macos: fix uv_set_process_title regression The call to `uv__set_process_title()` had been accidentally removed. Fixes: https://github.com/libuv/libuv/issues/3037 PR-URL: https://github.com/libuv/libuv/pull/3019 Refs: https://github.com/nodejs/node/issues/35503 Reviewed-By: Ben Noordhuis Reviewed-By: Santiago Gimeno Reviewed-By: Richard Lau --- src/unix/proctitle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/proctitle.c b/src/unix/proctitle.c index 9ffe5b62..9e39545e 100644 --- a/src/unix/proctitle.c +++ b/src/unix/proctitle.c @@ -119,6 +119,7 @@ int uv_set_process_title(const char* title) { memcpy(pt->str, title, len); memset(pt->str + len, '\0', pt->cap - len); pt->len = len; + uv__set_process_title(pt->str); uv_mutex_unlock(&process_title_mutex);