projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a6c6ab1
)
Fix length for ISAMB dummy block
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 29 Nov 2004 21:53:00 +0000
(21:53 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 29 Nov 2004 21:53:00 +0000
(21:53 +0000)
isamb/isamb.c
patch
|
blob
|
history
diff --git
a/isamb/isamb.c
b/isamb/isamb.c
index
d1722e0
..
57ebb84
100644
(file)
--- a/
isamb/isamb.c
+++ b/
isamb/isamb.c
@@
-1,4
+1,4
@@
-/* $Id: isamb.c,v 1.59 2004-11-19 10:27:09 heikki Exp $
+/* $Id: isamb.c,v 1.60 2004-11-29 21:53:00 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-384,7
+384,7
@@
void isamb_close (ISAMB isamb)
encode_ptr(&dst, isamb->file[i].head.block_size);
encode_ptr(&dst, isamb->file[i].head.block_max);
encode_ptr(&dst, isamb->file[i].head.free_list);
encode_ptr(&dst, isamb->file[i].head.block_size);
encode_ptr(&dst, isamb->file[i].head.block_max);
encode_ptr(&dst, isamb->file[i].head.free_list);
- memset(dst, '\0', 16); /* ensure no random bytes are written */
+ memset(dst, '\0', b_size); /* ensure no random bytes are written */
len = dst - hbuf;
len = dst - hbuf;