From 02b34d1e71ccadfa97fa5412e635b41142c5bd20 Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Thu, 12 Sep 2019 10:23:09 +0200 Subject: unicens: support reproducible build Changed usage of __FILE__ macro to not print absolut paths in warning and error messages Bug-AGL: SPEC-2802 Signed-off-by: Tobias Jahnke Change-Id: I3755e96cb23f8c782ea00f4b4fdc7df7d08972d7 --- ucs2-afb/ucs_binding.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ucs2-afb') diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c index 81ca3bb..777b967 100644 --- a/ucs2-afb/ucs_binding.c +++ b/ucs2-afb/ucs_binding.c @@ -81,10 +81,11 @@ static EventDataRx_t *eventDataRx = NULL; PUBLIC void UcsXml_CB_OnError(const char format[], uint16_t vargsCnt, ...) { /*AFB_API_DEBUG (afbBindingRoot, afbIface, format, args); */ + /*you may activite logging to stdout here va_list args; va_start (args, vargsCnt); vfprintf (stderr, format, args); - va_end(args); + va_end(args);*/ va_list argptr; char outbuf[300]; -- cgit 1.2.3-korg