Favor $HOME directory over /tmp

This should strike a better compromise that keeps people happy about the
security of APE when it extracts the loader. This way systems with users
who aren't trusted (e.g. CPanel) won't be at any risk of compromise when
there isn't an `ape` loader on the system `$PATH`.

This change also bumps redbean up to 2.0.3
This commit is contained in:
Justine Tunney 2022-06-17 07:51:26 -07:00
parent 5e04827949
commit 52ed099fe6
2 changed files with 6 additions and 16 deletions

View file

@ -138,7 +138,7 @@ STATIC_YOINK("zip_uri_support");
#define REDBEAN "redbean"
#endif
#define VERSION 0x020002
#define VERSION 0x020003
#define HEARTBEAT 5000 /*ms*/
#define HASH_LOAD_FACTOR /* 1. / */ 4
#define MONITOR_MICROS 150000