-/* $OpenBSD: cmd-confirm-before.c,v 1.45 2021/08/13 06:50:42 nicm Exp $ */
+/* $OpenBSD: cmd-confirm-before.c,v 1.46 2021/08/17 11:20:13 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
free(copy);
}
- cdata = xmalloc(sizeof *cdata);
+ cdata = xcalloc(1, sizeof *cdata);
cdata->cmd = xstrdup(args->argv[0]);
cmd_get_source(self, &cdata->pi.file, &cdata->pi.line);
-/* $OpenBSD: tty.c,v 1.402 2021/08/17 08:44:52 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.403 2021/08/17 11:20:13 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
{
if (ctx->num == 0x11) {
/*
- * This is an overlay and a command that moves, the cursor so
+ * This is an overlay and a command that moves the cursor so
* start synchronized updates.
*/
tty_sync_start(tty);