Skip to content

Commit 885f9c4

Browse files
mmomtchevsantigimeno
authored andcommitted
linux,macos: fix uv_set_process_title regression
The call to `uv__set_process_title()` had been accidentally removed. Fixes: libuv#3037 PR-URL: libuv#3019 Refs: nodejs/node#35503 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent d3f0428 commit 885f9c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/proctitle.c

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ int uv_set_process_title(const char* title) {
119119
memcpy(pt->str, title, len);
120120
memset(pt->str + len, '\0', pt->cap - len);
121121
pt->len = len;
122+
uv__set_process_title(pt->str);
122123

123124
uv_mutex_unlock(&process_title_mutex);
124125

0 commit comments

Comments
 (0)