mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-02 02:32:27 +00:00
Fix MODE=optlinux and MODE=tiny builds
This commit is contained in:
parent
5660ec4741
commit
0602ff6bab
12 changed files with 75 additions and 36 deletions
3
third_party/tidy/tidy.c
vendored
3
third_party/tidy/tidy.c
vendored
|
@ -1202,7 +1202,10 @@ static tmbstr cleanup_description( ctmbstr description )
|
|||
name = realloc(name, l_name);
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-truncation"
|
||||
strncpy(name + i_name, &c, 1);
|
||||
#pragma GCC diagnostic pop
|
||||
i_name++;
|
||||
i++;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue