lua 5.4.9 :

- ricompilazione per nuova versione.
This commit is contained in:
DarioS
2026-09-01 11:56:08 +02:00
parent e7edbe5a36
commit e370aaee56
14 changed files with 77 additions and 24 deletions
+2 -1
View File
@@ -302,7 +302,8 @@ static int collectargs (char **argv, int *first) {
case '-': /* '--' */
if (argv[i][2] != '\0') /* extra characters after '--'? */
return has_error; /* invalid option */
*first = i + 1;
/* if there is a script name, it comes after '--' */
*first = (argv[i + 1] != NULL) ? i + 1 : 0;
return args;
case '\0': /* '-' */
return args; /* script "name" is '-' */