diff --git a/CHANGES b/CHANGES index df7bd8c..a08bbbb 100644 --- a/CHANGES +++ b/CHANGES @@ -11,6 +11,7 @@ add taia_half add cdb add rangecheck.h + add io_block 0.24: fix scan_to_sa (Tim Lorenz) diff --git a/GNUmakefile b/GNUmakefile index 9d9cec0..b7776c3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -159,7 +159,7 @@ dep libsocket havealloca.h INCLUDES=buffer.h byte.h fmt.h ip4.h ip6.h mmap.h scan.h socket.h str.h stralloc.h \ uint16.h uint32.h uint64.h open.h textcode.h tai.h taia.h dns.h iopause.h case.h \ openreadclose.h readclose.h ndelay.h array.h io.h safemult.h iob.h havealloca.h \ -errmsg.h cdb.h cdb_make.h +errmsg.h cdb.h cdb_make.h rangecheck.h install: libowfat.a install -d $(INCLUDEDIR) $(MAN3DIR) $(LIBDIR) diff --git a/rangecheck.h b/rangecheck.h index 163ae22..b6b8bdd 100644 --- a/rangecheck.h +++ b/rangecheck.h @@ -48,7 +48,7 @@ __static inline int range_bufinbuf(const void* buf1,size_t len1,const void* buf2 /* does an array of "elements" members of size "membersize" starting at * "arraystart" lie inside buf1[0..len-1]? */ -int range_arrayinbuf(const void* buf1,size_t len, +int range_arrayinbuf(const void* buf,size_t len, const void* arraystart,size_t elements,size_t membersize); /* does an ASCIIZ string starting at "ptr" lie in buf[0..len-1]? */