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