mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-25 14:52:28 +00:00
Fix some zipos directory related bugs
This commit is contained in:
parent
ec480f5aa0
commit
ececec4c94
8 changed files with 114 additions and 30 deletions
9
third_party/mbedtls/test/lib.c
vendored
9
third_party/mbedtls/test/lib.c
vendored
|
@ -172,15 +172,8 @@ int mbedtls_test_write(const char *fmt, ...) {
|
|||
n = vfprintf(stderr, fmt, va);
|
||||
} else {
|
||||
char buf[512];
|
||||
const char *s;
|
||||
vsnprintf(buf, 512, fmt, va);
|
||||
if ((s = strchr(buf, '\n')) && //
|
||||
s == buf + strlen(buf) - 1 && //
|
||||
strstr(buf, "PASS")) {
|
||||
n = 0; // ignore pointless success lines
|
||||
} else {
|
||||
n = appends(&output, buf);
|
||||
}
|
||||
n = appends(&output, buf);
|
||||
}
|
||||
va_end(va);
|
||||
return n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue