From 3c291ea2a8e6189e1af7fa2d9ebb9f2ee54a5368 Mon Sep 17 00:00:00 2001 From: leitner Date: Mon, 17 Apr 2006 05:09:39 +0000 Subject: [PATCH] document adding io_block add rangecheck install target to GNUmakefile cosmetics in rangecheck.h --- CHANGES | 1 + GNUmakefile | 2 +- rangecheck.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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]? */