Heap-format a one-argument error message for *err_out. Caller frees. */
| 11685 | |
| 11686 | /* Heap-format a one-argument error message for *err_out. Caller frees. */ |
| 11687 | static char *cli_heap_msgf(const char *fmt, const char *arg) { |
| 11688 | char buf[CLI_BUF_512]; |
| 11689 | snprintf(buf, sizeof(buf), fmt, arg); |
| 11690 | return cbm_strdup(buf); |
| 11691 | } |
| 11692 | |
| 11693 | /* Levenshtein distance for near-miss flag suggestions (two-row DP; inputs |
| 11694 | * are schema property names, well under the buffer sizes used here). */ |
no outgoing calls
no test coverage detected