Add minor improvements and cleanup
This commit is contained in:
1 parent
9e3e985ae5
commit
feed0d2b0e
163 files changed
+2285
-2244
No files matched your search
Vendored
+1
-1
@@ -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"));
|
||||
}
|
||||
Reference in new issue
Block a user