Heap-format a one-argument error message for *err_out. Caller frees. */
| 13938 | |
| 13939 | /* Heap-format a one-argument error message for *err_out. Caller frees. */ |
| 13940 | static char *cli_heap_msgf(const char *fmt, const char *arg) { |
| 13941 | char buf[CLI_BUF_512]; |
| 13942 | snprintf(buf, sizeof(buf), fmt, arg); |
| 13943 | return cbm_strdup(buf); |
| 13944 | } |
| 13945 | |
| 13946 | /* Levenshtein distance for near-miss flag suggestions (two-row DP; inputs |
| 13947 | * are schema property names, well under the buffer sizes used here). */ |
no outgoing calls
no test coverage detected