Release redbean 2.0.8

This commit is contained in:
Justine Tunney 2022-06-26 17:25:54 -07:00
parent b535937fca
commit f6dab99f44
2 changed files with 5 additions and 2 deletions

View file

@ -42,7 +42,10 @@ void __paginate(int fd, const char *s) {
write(tfd, s, strlen(s));
close(tfd);
args[1] = tmppath;
if ((pid = vfork()) != -1) {
if ((pid = fork()) != -1) {
putenv("LC_ALL=C.UTF-8");
putenv("LESSCHARSET=utf-8");
putenv("LESS=-RS");
if (!pid) {
execv(args[0], args);
_Exit(127);