switch-coreboot/payloads/libpayload/curses
Patrick Georgi 314b3e9d53 UPSTREAM: libpayload/.../PDCurses: Improve compatibility with ncurses
Coverity erroneously complains that we call wmove with x or y == -1,
even though our copy of that function properly checks for that.

But: setsyx is documented to always return OK (even on errors), so let
it do that. (and make coverity happy in the process)

BUG=None
BRANCH=None
TEST=None

Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1260797
Reviewed-on: https://review.coreboot.org/17836
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>

Change-Id: I1bc9ba2a075037f0e1a855b67a93883978564887
Reviewed-on: https://chromium-review.googlesource.com/420838
Commit-Ready: Furquan Shaikh <furquan@chromium.org>
Tested-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@chromium.org>
2016-12-16 04:50:58 -08:00
..
form libpayload: remove trailing whitespace and run dos2unix 2011-11-01 19:08:23 +01:00
menu libpayload: remove trailing whitespace and run dos2unix 2011-11-01 19:08:23 +01:00
PDCurses UPSTREAM: libpayload/.../PDCurses: Improve compatibility with ncurses 2016-12-16 04:50:58 -08:00
pdcurses-backend libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
colors.c Fix code to allow usage of -Wall in libpayload and the sample (trivial). 2008-03-20 20:46:44 +00:00
curses.h fix tinycurses 2013-06-04 21:13:08 +02:00
curses.priv.h libpayload: Add PDCurses and ncurses' libform/libmenu 2011-08-04 08:10:41 +02:00
keyboard.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
local.h libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00
Makefile.inc libpayload: Rename PDCurses-3.4 to PDCurses 2015-11-11 21:38:48 +01:00
tinycurses.c libpayload: Make Kconfig bools use IS_ENABLED() 2015-06-30 18:55:15 +02:00