From f8376e1f497b113f1fd5dd6ace24d8d77f306932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Thu, 15 Feb 2018 12:50:24 +0100 Subject: [PATCH] libc_noux: silence common not implemented warnings --- repos/ports/src/lib/libc_noux/plugin.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/repos/ports/src/lib/libc_noux/plugin.cc b/repos/ports/src/lib/libc_noux/plugin.cc index 29ecfe50b..17c499bba 100644 --- a/repos/ports/src/lib/libc_noux/plugin.cc +++ b/repos/ports/src/lib/libc_noux/plugin.cc @@ -376,7 +376,6 @@ extern "C" int getrlimit(int resource, struct rlimit *rlim) return 0; } errno = ENOSYS; - warning(__func__, " not implemented (resource=", resource, ")"); return -1; } @@ -1418,6 +1417,13 @@ namespace { break; } + case TIOCSETA: + { + /* not implemented but used by e.g. vim */ + break; + } + + default: warning("unsupported ioctl (request=", Hex(request), ")");