Possible compatibility problems with earlier versions marked with '*'.
+--- 2.0.9-2 2004/01/05 Debian only
+
+Allow empty ODR (NMEM=0) for odr_oiddup and odr_getoidbystr.
+
Fix bug in SRW/SRU diagnostics decoding.
--- 2.0.9 2004/01/05
+yaz (2.0.9-2) unstable; urgency=low
+
+ * Upstream.
+
+ -- Adam Dickmeiss <adam@indexdata.dk> Mon, 5 Jan 2004 15:46:06 +0100
+
yaz (2.0.9-1) unstable; urgency=low
* Upstream.
/*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (c) 1995-2004, Index Data
* See the file LICENSE for details.
*
- * $Id: odr_util.c,v 1.2 2003-11-26 16:23:42 mike Exp $
+ * $Id: odr_util.c,v 1.3 2004-01-05 14:46:52 adam Exp $
*/
#if HAVE_CONFIG_H
#include <config.h>
Odr_oid *odr_oiddup(ODR odr, Odr_oid *o)
{
+ if (!odr->mem)
+ odr->mem = nmem_create();
return odr_oiddup_nmem (odr->mem, o);
}
Odr_oid *odr_getoidbystr(ODR o, const char *str)
{
+ if (!o->mem)
+ o->mem = nmem_create();
return odr_getoidbystr_nmem (o->mem, str);
}
/*
- * Copyright (c) 2002-2003, Index Data.
+ * Copyright (c) 2002-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: srw.c,v 1.12 2004-01-05 14:05:56 adam Exp $
+ * $Id: srw.c,v 1.13 2004-01-05 14:46:52 adam Exp $
*/
#include <yaz/srw.h>