From ace0b549a94110b69ec61442f825fb421b79799a Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Sat, 4 Jul 2020 11:35:44 -0500 Subject: [PATCH] Fix a small buglet in the last patch. :-) --- direct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct.c b/direct.c index e022398..53d7c6a 100644 --- a/direct.c +++ b/direct.c @@ -650,14 +650,14 @@ allright: } } else - return(comma_error); + return error(comma_error); } else pos = lseek(fd, 0L, SEEK_SET); } else { - //size_pos_fallthrough: + // size & pos not given, so assume offset of 0 and all of the binary size = lseek(fd, 0L, SEEK_END); pos = lseek(fd, 0L, SEEK_SET); } -- 2.37.2