Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1A backport of https://github.com/octo/liboping/pull/61 2--- a/src/oping.c 3+++ b/src/oping.c 4@@ -1125,7 +1125,7 @@ static int update_graph_prettyping (ping_context_t *ctx, /* {{{ */ 5 wattron (ctx->window, COLOR_PAIR(color)); 6 7 if (has_utf8()) 8- mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, symbol); 9+ mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, "%s", symbol); 10 else 11 mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, symbolc); 12 13@@ -1222,7 +1222,7 @@ static int update_graph_histogram (ping_context_t *ctx) /* {{{ */ 14 if (counters[x] == 0) 15 mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2, ' '); 16 else if (has_utf8 ()) 17- mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, 18+ mvwprintw (ctx->window, /* y = */ 3, /* x = */ x + 2, "%s", 19 hist_symbols_utf8[index]); 20 else 21 mvwaddch (ctx->window, /* y = */ 3, /* x = */ x + 2,