mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
tolower()
on terminfo directories (#1009)
Fixes the ncurses build on my M1 Mac. Required a make clean.
This commit is contained in:
parent
7a05fb43ac
commit
8dbfb77890
2 changed files with 2 additions and 2 deletions
4
third_party/ncurses/read_entry.c
vendored
4
third_party/ncurses/read_entry.c
vendored
|
@ -28,7 +28,7 @@ __static_yoink("usr/share/terminfo/8/8510");
|
||||||
__static_yoink("usr/share/terminfo/9/955-hb");
|
__static_yoink("usr/share/terminfo/9/955-hb");
|
||||||
__static_yoink("usr/share/terminfo/9/955-w");
|
__static_yoink("usr/share/terminfo/9/955-w");
|
||||||
__static_yoink("usr/share/terminfo/9/9term");
|
__static_yoink("usr/share/terminfo/9/9term");
|
||||||
__static_yoink("usr/share/terminfo/A/Apple_Terminal");
|
__static_yoink("usr/share/terminfo/a/Apple_Terminal");
|
||||||
__static_yoink("usr/share/terminfo/a/a210");
|
__static_yoink("usr/share/terminfo/a/a210");
|
||||||
__static_yoink("usr/share/terminfo/a/a80");
|
__static_yoink("usr/share/terminfo/a/a80");
|
||||||
__static_yoink("usr/share/terminfo/a/a980");
|
__static_yoink("usr/share/terminfo/a/a980");
|
||||||
|
@ -3445,7 +3445,7 @@ make_dir_filename(char *filename,
|
||||||
|
|
||||||
if (need <= limit) {
|
if (need <= limit) {
|
||||||
_nc_SPRINTF(filename, _nc_SLIMIT(limit)
|
_nc_SPRINTF(filename, _nc_SLIMIT(limit)
|
||||||
"%s/" LEAF_FMT "/%s", path, *name, name);
|
"%s/" LEAF_FMT "/%s", path, tolower(*name), name);
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue