mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-26 15:59:04 +00:00
Release redbean 2.0.6
This commit is contained in:
parent
e55ef556aa
commit
4b9ee980a1
2 changed files with 2 additions and 5 deletions
5
third_party/lua/lunix.c
vendored
5
third_party/lua/lunix.c
vendored
|
@ -36,7 +36,6 @@
|
|||
#include "libc/errno.h"
|
||||
#include "libc/fmt/fmt.h"
|
||||
#include "libc/fmt/magnumstrs.internal.h"
|
||||
#include "libc/intrin/kprintf.h"
|
||||
#include "libc/log/log.h"
|
||||
#include "libc/macros.internal.h"
|
||||
#include "libc/mem/fmt.h"
|
||||
|
@ -69,6 +68,7 @@
|
|||
#include "libc/sysv/consts/rlim.h"
|
||||
#include "libc/sysv/consts/rlimit.h"
|
||||
#include "libc/sysv/consts/rusage.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "libc/sysv/consts/sa.h"
|
||||
#include "libc/sysv/consts/shut.h"
|
||||
#include "libc/sysv/consts/sig.h"
|
||||
|
@ -88,7 +88,6 @@
|
|||
#include "third_party/lua/lgc.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
#include "third_party/lua/luaconf.h"
|
||||
#include "libc/sysv/consts/s.h"
|
||||
#include "tool/net/luacheck.h"
|
||||
|
||||
/**
|
||||
|
@ -231,7 +230,6 @@ static int MakeSockaddr(lua_State *L, int i, struct sockaddr_storage *ss,
|
|||
unreachable;
|
||||
}
|
||||
*salen = sizeof(struct sockaddr_un);
|
||||
kprintf("shit %d\n", ((struct sockaddr_in *)ss)->sin_family);
|
||||
return i + 1;
|
||||
} else {
|
||||
((struct sockaddr_in *)ss)->sin_family = AF_INET;
|
||||
|
@ -239,7 +237,6 @@ static int MakeSockaddr(lua_State *L, int i, struct sockaddr_storage *ss,
|
|||
htonl(luaL_optinteger(L, i, 0));
|
||||
((struct sockaddr_in *)ss)->sin_port = htons(luaL_optinteger(L, i + 1, 0));
|
||||
*salen = sizeof(struct sockaddr_in);
|
||||
kprintf("wut %d\n", ((struct sockaddr_in *)ss)->sin_family);
|
||||
return i + 2;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -143,7 +143,7 @@ STATIC_YOINK("ShowCrashReportsEarly");
|
|||
#define REDBEAN "redbean"
|
||||
#endif
|
||||
|
||||
#define VERSION 0x020005
|
||||
#define VERSION 0x020006
|
||||
#define HEARTBEAT 5000 /*ms*/
|
||||
#define HASH_LOAD_FACTOR /* 1. / */ 4
|
||||
#define MONITOR_MICROS 150000
|
||||
|
|
Loading…
Add table
Reference in a new issue