| 493 | if (b->len + n + 1 > b->cap) { |
| 494 | size_t cap = b->cap ? b->cap * 2 : 4096; |
| 495 | while (cap < b->len + n + 1) cap *= 2; |
| 496 | b->ptr = xrealloc(b->ptr, cap); |
| 497 | b->cap = cap; |
| 498 | } |
nothing calls this directly
no outgoing calls
no test coverage detected