mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Add minor improvements and cleanup
This commit is contained in:
parent
9e3e985ae5
commit
feed0d2b0e
163 changed files with 2286 additions and 2245 deletions
2
third_party/regex/regerror.c
vendored
2
third_party/regex/regerror.c
vendored
|
@ -49,6 +49,6 @@ static const char kRegexErrors[] =
|
|||
*/
|
||||
size_t regerror(int e, const regex_t *preg, char *buf, size_t size) {
|
||||
return 1 + snprintf(buf, size, "%s",
|
||||
firstnonnull(indexdoublenulstring(kRegexErrors, e),
|
||||
firstnonnull(IndexDoubleNulString(kRegexErrors, e),
|
||||
"Unknown error"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue