X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=direct.c;fp=direct.c;h=53d7c6ae48aeab8126bc826e24abda4edaf3c3e6;hp=e022398ca56d8b089bfcd16149097e84b3ca6b26;hb=ace0b549a94110b69ec61442f825fb421b79799a;hpb=1cd9ca4c09a0e744829b3edb127feb1abd41d35c 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); }