projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set ODR_MAX_STACK to 2000 instead of 10000. It seems that 10000 causes
[yaz-moved-to-github.git]
/
src
/
odr_mem.c
diff --git
a/src/odr_mem.c
b/src/odr_mem.c
index
e35de26
..
2e7e286
100644
(file)
--- a/
src/odr_mem.c
+++ b/
src/odr_mem.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: odr_mem.c,v 1.5 2005-06-25 15:46:04 adam Exp $
+ * $Id: odr_mem.c,v 1.6 2005-08-11 14:21:55 adam Exp $
*/
/**
* \file odr_mem.c
*/
/**
* \file odr_mem.c
@@
-81,9
+81,6
@@
int odr_grow_block(ODR b, int min_bytes)
else if (!b->size && !(b->buf = (unsigned char *)
xmalloc(b->size = togrow)))
abort();
else if (!b->size && !(b->buf = (unsigned char *)
xmalloc(b->size = togrow)))
abort();
-#ifdef ODR_DEBUG
- fprintf(stderr, "New size for encode_buffer: %d\n", b->size);
-#endif
return 0;
}
return 0;
}