Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1753169261, "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":"1d9e09d29bd8cc9ac947ff12e293b10d", "commit": {"type":"commit", "time": 1747283577, "time_ofs": 60, "oid_tree": { "oid": "6ff86efe9893a7b1c6242a3e0066f5a5d5ac92e8", "alias": []}, "oid":{ "oid": "78a35feaff8c47bdefc012ec7bd9914f5942e1ea", "alias": []}, "msg": "pollfd: skip BSD wait linked list if not unix", "sig_commit": { "git_time": { "time": 1747283577, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1747283556, "offset": 60 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "pollfd: skip BSD wait linked list if not unix\n\nhttps://github.com/warmcat/libwebsockets/issues/3390\n" , "diff": "diff --git a/lib/core-net/pollfd.c b/lib/core-net/pollfd.c\nindex 3396940..be58078 100644\n--- a/lib/core-net/pollfd.c\n+++ b/lib/core-net/pollfd.c\n@@ -69,7 +69,8 @@ _lws_change_pollfd(struct lws *wsi, int _and, int _or, struct lws_pollargs *pa)\n \tcontext \u003d wsi-\u003ea.context;\n \tpt \u003d \u0026context-\u003ept[(int)wsi-\u003etsi];\n \n-#if !defined(LWS_WITH_EVENT_LIBS)\n+#if !defined(LWS_WITH_EVENT_LIBS) \u0026\u0026 !defined(LWS_PLAT_FREERTOS) \u0026\u0026 \u005c\n+ !defined(WIN32) \u0026\u0026 !defined(_WIN32)\n \t/*\n \t * This only applies when we use the default poll() event loop.\n \t *\n","s":{"c":1753169261,"u": 2264}} ],"g": 3083,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}