{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1762030861,
"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":"fb90322ee6d7119899f3b7f79892f73c",
"commit": {"type":"commit",
"time": 1749707811,
"time_ofs": 60,
"oid_tree": { "oid": "d2c0cdba545c63214ef4836d29c5e11fb773ffd2", "alias": []},
"oid":{ "oid": "6fd9371a23d357ce600b5b8b2ad2a38665dd769f", "alias": []},
"msg": "cov: force cwd to / after chroot",
"sig_commit": { "git_time": { "time": 1749707811, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },
"sig_author": { "git_time": { "time": 1749707809, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }},
"body": "cov: force cwd to / after chroot\n"
,
"diff": "diff --git a/lib/plat/unix/unix-spawn.c b/lib/plat/unix/unix-spawn.c\nindex 1419a0d..51f7693 100644\n--- a/lib/plat/unix/unix-spawn.c\n+++ b/lib/plat/unix/unix-spawn.c\n@@ -514,6 +514,9 @@ lws_spawn_piped(const struct lws_spawn_piped_info *i)\n \t\texit(2);\n \t}\n \n+\tif (chdir(\u0022/\u0022)) /* cov */\n+\t\tlwsl_notice(\u0022%s: Failed to cd to /\u005cn\u0022, __func__);\n+\n \t/* cwd: somewhere we can at least read things and enter it */\n \n \twd \u003d i-\u003ewd;\n","s":{"c":1762030861,"u": 5865}}
],"g": 6739,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}