From e7f139d3be757d125dc95a3b2065f526d1cbfe95 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 24 May 2024 13:23:37 +0100 Subject: [PATCH] configure: fix the closefrom test Fixes #327. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 8bc65184..0a28a0cf 100755 --- a/configure +++ b/configure @@ -816,7 +816,8 @@ if [ -z "$CLOSEFROM" ]; then cat <_closefrom.c #include int main(void) { - return closefrom(3); + closefrom(3); + return 0; } EOF if $XCC _closefrom.c -o _closefrom 2>&3; then -- 2.47.2