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
ICU: using icu_iter for existing interface
[yaz-moved-to-github.git]
/
test
/
tstwrbuf.c
diff --git
a/test/tstwrbuf.c
b/test/tstwrbuf.c
index
e1ed5f6
..
c9c4349
100644
(file)
--- a/
test/tstwrbuf.c
+++ b/
test/tstwrbuf.c
@@
-1,8
+1,6
@@
-/*
- * Copyright (C) 1995-2007, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
* See the file LICENSE for details.
* See the file LICENSE for details.
- *
- * $Id: tstwrbuf.c,v 1.6 2007-01-03 08:42:16 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
@@
-18,7
+16,7
@@
static void tstwrbuf(void)
YAZ_CHECK(wr);
YAZ_CHECK(wr);
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
wr = wrbuf_alloc();
wr = wrbuf_alloc();
@@
-50,7
+48,7
@@
static void tstwrbuf(void)
}
wrbuf_rewind(wr);
}
}
wrbuf_rewind(wr);
}
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
}
int main (int argc, char **argv)
}
int main (int argc, char **argv)
@@
-63,6
+61,7
@@
int main (int argc, char **argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab