Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall
2026-02-13 14:24:23 +01:00

View File

@@ -81,7 +81,7 @@ static const char *clib_extname(lua_State *L, const char *name)
/* Check for a recognized ld script line. */ /* Check for a recognized ld script line. */
static const char *clib_check_lds(lua_State *L, const char *buf) static const char *clib_check_lds(lua_State *L, const char *buf)
{ {
char *p, *e; const char *p, *e;
if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) && if ((!strncmp(buf, "GROUP", 5) || !strncmp(buf, "INPUT", 5)) &&
(p = strchr(buf, '('))) { (p = strchr(buf, '('))) {
while (*++p == ' ') ; while (*++p == ' ') ;