mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Add NetBSD support
This commit is contained in:
parent
2fdc19e7a7
commit
23ae9dfceb
4020 changed files with 8955 additions and 8128 deletions
|
@ -137,7 +137,7 @@ void processfile(void) {
|
|||
if (len < USHRT_MAX) {
|
||||
if ((p = strstr(line_, delim_))) {
|
||||
off = p - line_;
|
||||
col = strnwidth(line_, off);
|
||||
col = strnwidth(line_, off, 0);
|
||||
if (col < USHRT_MAX) {
|
||||
col_ = max(col_, col);
|
||||
append(&lines_, &((struct Line){.line = s, .off = off, .col = col}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue