mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-26 07:49:05 +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/errno.h"
|
||||||
#include "libc/fmt/fmt.h"
|
#include "libc/fmt/fmt.h"
|
||||||
#include "libc/fmt/magnumstrs.internal.h"
|
#include "libc/fmt/magnumstrs.internal.h"
|
||||||
#include "libc/intrin/kprintf.h"
|
|
||||||
#include "libc/log/log.h"
|
#include "libc/log/log.h"
|
||||||
#include "libc/macros.internal.h"
|
#include "libc/macros.internal.h"
|
||||||
#include "libc/mem/fmt.h"
|
#include "libc/mem/fmt.h"
|
||||||
|
@ -69,6 +68,7 @@
|
||||||
#include "libc/sysv/consts/rlim.h"
|
#include "libc/sysv/consts/rlim.h"
|
||||||
#include "libc/sysv/consts/rlimit.h"
|
#include "libc/sysv/consts/rlimit.h"
|
||||||
#include "libc/sysv/consts/rusage.h"
|
#include "libc/sysv/consts/rusage.h"
|
||||||
|
#include "libc/sysv/consts/s.h"
|
||||||
#include "libc/sysv/consts/sa.h"
|
#include "libc/sysv/consts/sa.h"
|
||||||
#include "libc/sysv/consts/shut.h"
|
#include "libc/sysv/consts/shut.h"
|
||||||
#include "libc/sysv/consts/sig.h"
|
#include "libc/sysv/consts/sig.h"
|
||||||
|
@ -88,7 +88,6 @@
|
||||||
#include "third_party/lua/lgc.h"
|
#include "third_party/lua/lgc.h"
|
||||||
#include "third_party/lua/lua.h"
|
#include "third_party/lua/lua.h"
|
||||||
#include "third_party/lua/luaconf.h"
|
#include "third_party/lua/luaconf.h"
|
||||||
#include "libc/sysv/consts/s.h"
|
|
||||||
#include "tool/net/luacheck.h"
|
#include "tool/net/luacheck.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -231,7 +230,6 @@ static int MakeSockaddr(lua_State *L, int i, struct sockaddr_storage *ss,
|
||||||
unreachable;
|
unreachable;
|
||||||
}
|
}
|
||||||
*salen = sizeof(struct sockaddr_un);
|
*salen = sizeof(struct sockaddr_un);
|
||||||
kprintf("shit %d\n", ((struct sockaddr_in *)ss)->sin_family);
|
|
||||||
return i + 1;
|
return i + 1;
|
||||||
} else {
|
} else {
|
||||||
((struct sockaddr_in *)ss)->sin_family = AF_INET;
|
((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));
|
htonl(luaL_optinteger(L, i, 0));
|
||||||
((struct sockaddr_in *)ss)->sin_port = htons(luaL_optinteger(L, i + 1, 0));
|
((struct sockaddr_in *)ss)->sin_port = htons(luaL_optinteger(L, i + 1, 0));
|
||||||
*salen = sizeof(struct sockaddr_in);
|
*salen = sizeof(struct sockaddr_in);
|
||||||
kprintf("wut %d\n", ((struct sockaddr_in *)ss)->sin_family);
|
|
||||||
return i + 2;
|
return i + 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -143,7 +143,7 @@ STATIC_YOINK("ShowCrashReportsEarly");
|
||||||
#define REDBEAN "redbean"
|
#define REDBEAN "redbean"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define VERSION 0x020005
|
#define VERSION 0x020006
|
||||||
#define HEARTBEAT 5000 /*ms*/
|
#define HEARTBEAT 5000 /*ms*/
|
||||||
#define HASH_LOAD_FACTOR /* 1. / */ 4
|
#define HASH_LOAD_FACTOR /* 1. / */ 4
|
||||||
#define MONITOR_MICROS 150000
|
#define MONITOR_MICROS 150000
|
||||||
|
|
Loading…
Add table
Reference in a new issue