mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
into a slave port of it. PR: ports/104990 Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz> (maintainer) Repocopy by: marcus
11 lines
293 B
C
11 lines
293 B
C
--- lposix.c.orig Thu Nov 2 11:08:39 2006
|
|
+++ lposix.c Thu Nov 2 11:11:29 2006
|
|
@@ -64,7 +64,7 @@
|
|
}
|
|
else
|
|
{
|
|
- int j=luaL_findstring(luaL_checkstring(L, i), S);
|
|
+ int j=luaL_checkoption(L, i, NULL, S);
|
|
if (j==-1) luaL_argerror(L, i, "unknown selector");
|
|
return F(L, j, data);
|
|
}
|