Heap-format a one-argument error message for *err_out. Caller frees. */
| 12431 | |
| 12432 | /* Heap-format a one-argument error message for *err_out. Caller frees. */ |
| 12433 | static char *cli_heap_msgf(const char *fmt, const char *arg) { |
| 12434 | char buf[CLI_BUF_512]; |
| 12435 | snprintf(buf, sizeof(buf), fmt, arg); |
| 12436 | return cbm_strdup(buf); |
| 12437 | } |
| 12438 | |
| 12439 | /* Levenshtein distance for near-miss flag suggestions (two-row DP; inputs |
| 12440 | * are schema property names, well under the buffer sizes used here). */ |
no outgoing calls
no test coverage detected