From: Shamus Hammons Date: Sat, 4 Jul 2020 16:35:44 +0000 (-0500) Subject: Fix a small buglet in the last patch. :-) X-Git-Tag: v2.1.0~24 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=commitdiff_plain;h=ace0b549a94110b69ec61442f825fb421b79799a;ds=sidebyside Fix a small buglet in the last patch. :-) --- 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); }