Module Name: src Committed By: blymn Date: Sun May 26 07:47:37 UTC 2019
Modified Files: src/tests/lib/libcurses/slave: curses_commands.c Log Message: Start supporting wide char tests. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/lib/libcurses/slave/curses_commands.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libcurses/slave/curses_commands.c diff -u src/tests/lib/libcurses/slave/curses_commands.c:1.8 src/tests/lib/libcurses/slave/curses_commands.c:1.9 --- src/tests/lib/libcurses/slave/curses_commands.c:1.8 Fri Apr 26 02:46:00 2019 +++ src/tests/lib/libcurses/slave/curses_commands.c Sun May 26 07:47:37 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: curses_commands.c,v 1.8 2019/04/26 02:46:00 blymn Exp $ */ +/* $NetBSD: curses_commands.c,v 1.9 2019/05/26 07:47:37 blymn Exp $ */ /*- * Copyright 2009 Brett Lymn <bl...@netbsd.org> @@ -6143,11 +6143,15 @@ cmd_mvwchgat(int nargs, char **args) void cmd_add_wch(int nargs, char **args) { + cchar_t *ch; + if (check_arg_count(nargs, 1) == 1) return; + ch = (cchar_t *) args[0]; + report_count(1); - report_error("UNSUPPORTED"); + report_return(add_wch(ch)); }