Disable gethostid() in the build system Lua; it's unused and doesn't work on
Haiku.
This commit is contained in:
parent
4d7c27391f
commit
e7eb563ee9
|
@ -702,6 +702,7 @@ static int Pgetpid(lua_State *L) /** getpid([options]) */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
static int Phostid(lua_State *L) /** hostid() */
|
static int Phostid(lua_State *L) /** hostid() */
|
||||||
{
|
{
|
||||||
char b[32];
|
char b[32];
|
||||||
|
@ -709,6 +710,7 @@ static int Phostid(lua_State *L) /** hostid() */
|
||||||
lua_pushstring(L, b);
|
lua_pushstring(L, b);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static int Pttyname(lua_State *L) /** ttyname([fd]) */
|
static int Pttyname(lua_State *L) /** ttyname([fd]) */
|
||||||
|
@ -1060,7 +1062,7 @@ static const luaL_reg R[] =
|
||||||
{"getpasswd", Pgetpasswd},
|
{"getpasswd", Pgetpasswd},
|
||||||
{"getpid", Pgetpid},
|
{"getpid", Pgetpid},
|
||||||
{"glob", Pglob},
|
{"glob", Pglob},
|
||||||
{"hostid", Phostid},
|
//{"hostid", Phostid},
|
||||||
{"kill", Pkill},
|
{"kill", Pkill},
|
||||||
{"link", Plink},
|
{"link", Plink},
|
||||||
{"mkdir", Pmkdir},
|
{"mkdir", Pmkdir},
|
||||||
|
|
Loading…
Reference in a new issue