From 5d9a8b1ad96fbd392fd615e49ed8d3d78a7cb8a7 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 26 Jan 2004 14:54:56 +0000 Subject: [PATCH] Fixed execute function --- ChangeLog | 3 +++ lib/execute.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fede19a6..9ad90469 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ $Id$ v0.39.8 26-Jan-2004 + libcommon.a: + Fixed compiler directive for Linux in execute function. + mbcico: Fixed binkp file resync. Binkp now only tries to compress data frames. diff --git a/lib/execute.c b/lib/execute.c index 64b0a977..d1f4f4e9 100644 --- a/lib/execute.c +++ b/lib/execute.c @@ -142,7 +142,7 @@ int execute(char *cmd, char *file, char *pkt, char *in, char *out, char *err) #endif msleep(200); rc = _execute(cmd, file, pkt, in, out, err); -#ifdef __linux +#ifdef __linux__ sync(); #endif msleep(200);