From 45b12224ec1bf0c73bce6b936950c49140bc9c3a Mon Sep 17 00:00:00 2001 From: Jean Guyomarc'h Date: Thu, 2 Jun 2016 00:09:27 +0200 Subject: [PATCH] eina: fix compilation on OpenBSD/Windows of eina_btlog We only care whether the process terminated successfully or not. Non-zero values will be anything but a success, so we don't even care about the exit code of the program. This should fix compiling on OpenBSD (where WEXITSTATUS needed to be defined by including a system header) as well on Windows. Fixes T3733 --- src/bin/eina/eina_btlog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/eina/eina_btlog.c b/src/bin/eina/eina_btlog.c index d8ff13b..2d05151 100644 --- a/src/bin/eina/eina_btlog.c +++ b/src/bin/eina/eina_btlog.c @@ -277,7 +277,6 @@ _translation_function_detect(const Translation_Desc *desc) if (p) { ret = pclose(p); - ret = WEXITSTATUS(ret); if (ret == 0) { _translate = d->func; -- 2.7.4