Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1746504698, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"4f211aad34337733f0a5d9753db44b71", "commit": {"type":"commit", "time": 1615236230, "time_ofs": 0, "oid_tree": { "oid": "522ec5b78a0640cd96c953a56d8f7525b956e188", "alias": []}, "oid":{ "oid": "d72955cc7ff24182f025fe868354208cb9a9942d", "alias": []}, "msg": "solaris: spawn: vfork is deprecated on solaris 11", "sig_commit": { "git_time": { "time": 1615236230, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1615200357, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "solaris: spawn: vfork is deprecated on solaris 11\n" , "diff": "diff --git a/lib/plat/unix/unix-spawn.c b/lib/plat/unix/unix-spawn.c\nindex 08acb86..d567dbc 100644\n--- a/lib/plat/unix/unix-spawn.c\n+++ b/lib/plat/unix/unix-spawn.c\n@@ -441,7 +441,7 @@ lws_spawn_piped(const struct lws_spawn_piped_info *i)\n \t\t lsp-\u003estdwsi[LWS_STDERR]-\u003edesc.sockfd);\n \n \t/* we are ready with the redirection pipes... do the (v)fork */\n-#if !defined(LWS_HAVE_VFORK) || !defined(LWS_HAVE_EXECVPE)\n+#if defined(__sun) || !defined(LWS_HAVE_VFORK) || !defined(LWS_HAVE_EXECVPE)\n \tlsp-\u003echild_pid \u003d fork();\n #else\n \tlsp-\u003echild_pid \u003d vfork();\n@@ -539,8 +539,8 @@ lws_spawn_piped(const struct lws_spawn_piped_info *i)\n \t\tclose(lsp-\u003epipe_fds[m][m !\u003d 0]);\n \t}\n \n-#if !defined(LWS_HAVE_VFORK) || !defined(LWS_HAVE_EXECVPE)\n-#if defined(__linux__) || defined(__APPLE__)\n+#if defined(__sun) || !defined(LWS_HAVE_VFORK) || !defined(LWS_HAVE_EXECVPE)\n+#if defined(__linux__) || defined(__APPLE__) || defined(__sun)\n \tm \u003d 0;\n \twhile (i-\u003eenv_array[m]){\n \t\tconst char *p \u003d strchr(i-\u003eenv_array[m], '\u003d');\n","s":{"c":1746425653,"u": 1930}} ],"g": 678,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}