From 4b9ee980a162abe038251a6acd2abe55188e191a Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Thu, 23 Jun 2022 17:37:07 -0700 Subject: [PATCH] Release redbean 2.0.6 --- third_party/lua/lunix.c | 5 +---- tool/net/redbean.c | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/third_party/lua/lunix.c b/third_party/lua/lunix.c index 3ca21490c..c7c9c92e0 100644 --- a/third_party/lua/lunix.c +++ b/third_party/lua/lunix.c @@ -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; } } diff --git a/tool/net/redbean.c b/tool/net/redbean.c index 931b08f81..9e553807f 100644 --- a/tool/net/redbean.c +++ b/tool/net/redbean.c @@ -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