mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Add missing build dependency
This commit is contained in:
parent
31dcdefaa8
commit
1bb52c223b
2 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,8 @@ void __paginate(int fd, const char *s) {
|
|||
char progpath[PATH_MAX];
|
||||
if (strcmp(nulltoempty(getenv("TERM")), "dumb") && isatty(0) && isatty(1) &&
|
||||
((args[0] = commandv("less", progpath, sizeof(progpath))) ||
|
||||
(args[0] = commandv("more", progpath, sizeof(progpath))))) {
|
||||
(args[0] = commandv("more", progpath, sizeof(progpath))) ||
|
||||
(args[0] = commandv("more.exe", progpath, sizeof(progpath))))) {
|
||||
if ((tfd = mkstemp(tmppath)) != -1) {
|
||||
write(tfd, s, strlen(s));
|
||||
close(tfd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue