Refactor and fix up a lot of code
Don't tell the boss I forgot a couple of free()s...
This commit is contained in:
parent
fe38efac42
commit
290289cbf5
12 changed files with 175 additions and 335 deletions
|
@ -414,6 +414,10 @@ static int os_exit (lua_State *L) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef HOST_NAME_MAX
|
||||
# define HOST_NAME_MAX 256 /* according to POSIX */
|
||||
#endif
|
||||
|
||||
/***
|
||||
* Returns the system hostname.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue