From 9764936cff022ccdc978daf753c5de269c59472d Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Mon, 11 Feb 2019 18:56:05 +0100 Subject: [PATCH] le2lib: stop calling fflush in the fork wrapper Signed-off-by: Tobias Ulmer --- generic/le2lib.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/generic/le2lib.c b/generic/le2lib.c index 2b39536..3a86b42 100644 --- a/generic/le2lib.c +++ b/generic/le2lib.c @@ -45,13 +45,6 @@ lua_fork(lua_State *lua) { int rc; - rc = fflush(NULL); - if (rc == EOF) { - lua_pushboolean(lua, 0); - lua_pushstring(lua, strerror(errno)); - return 2; - } - rc = fork(); if (rc < 0) { lua_pushboolean(lua, 0); -- 2.39.5