commit 2db9e4821d8ae4889e63e5bb205b04eccb7af405 from: rsc date: Mon Nov 24 20:16:30 2003 UTC tweaks. commit - cedbe4a4fa2214cd1fb1a708a9fa3034d5a911ef commit + 2db9e4821d8ae4889e63e5bb205b04eccb7af405 blob - 8e79c4b0638af030a6d9db00f1174e7c9cfae1d0 blob + 5f8ef0a8b2b761712d607371ed38370c5ef6173b --- include/venti.h +++ include/venti.h @@ -50,11 +50,12 @@ enum { VtScoreSize = 20, VtMaxStringSize = 1024, - VtMaxFileSize = (1ULL<<48) - 1, VtMaxLumpSize = 56*1024, VtPointerDepth = 7, }; +#define VtMaxFileSize ((1ULL<<48)-1) + /* * Strings in packets. */ blob - dbd03fc6cd33a1e393845c4d2dab7e3d99e4f995 blob + db4d1ecd6f552fd27eb6d73e191367f0f1fe8d67 --- src/libfmt/nan64.c +++ src/libfmt/nan64.c @@ -10,7 +10,7 @@ typedef unsigned long long uvlong; typedef unsigned long ulong; -#ifdef NEEDLL +#ifdef _NEEDLL static uvlong uvnan = 0x7FF0000000000001LL; static uvlong uvinf = 0x7FF0000000000000LL; static uvlong uvneginf = 0xFFF0000000000000LL; blob - 24d9b214d3c5d2ab1bb05010c5df248bd22b3e2d blob + d9b22403225d987151c09bdf0f71bb099683270d --- src/libthread/threadimpl.h +++ src/libthread/threadimpl.h @@ -24,11 +24,6 @@ #include #include "label.h" -enum{ -STKSIZE = 16384, -STKMAGIC = 0xCAFEBEEF -}; - typedef struct Thread Thread; typedef struct Proc Proc; typedef struct Tqueue Tqueue;