projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added include stdlib.h a few places to get prototype for atoi/exit/..
[idzebra-moved-to-github.git]
/
index
/
zserver.c
diff --git
a/index/zserver.c
b/index/zserver.c
index
3537873
..
f230f54
100644
(file)
--- a/
index/zserver.c
+++ b/
index/zserver.c
@@
-1,6
+1,6
@@
-/* $Id: zserver.c,v 1.124 2004-11-29 21:45:11 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: zserver.c,v 1.128 2005-01-16 23:14:57 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-20,8
+20,9
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
02111-1307, USA.
*/
-#include <stdio.h>
#include <assert.h>
#include <assert.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <fcntl.h>
#ifdef WIN32
#include <io.h>
#include <fcntl.h>
#ifdef WIN32
#include <io.h>
@@
-32,7
+33,7
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#endif
#include <errno.h>
#endif
#include <errno.h>
-#include <yaz/ylog.h>
+#include <yaz/log.h>
#include <yaz/ill.h>
#include <yaz/yaz-util.h>
#include <yaz/ill.h>
#include <yaz/yaz-util.h>
@@
-153,7
+154,8
@@
bend_initresult *bend_init (bend_initrequest *q)
charsets[i], right_name);
odr_set_charset (q->stream, right_name, "UTF-8");
if (selected)
charsets[i], right_name);
odr_set_charset (q->stream, right_name, "UTF-8");
if (selected)
- zebra_record_encoding (zh, right_name);
+ zebra_record_encoding(zh, right_name);
+ zebra_octet_term_encoding(zh, right_name);
q->charneg_response =
yaz_set_response_charneg (q->stream, charsets[i],
0, selected);
q->charneg_response =
yaz_set_response_charneg (q->stream, charsets[i],
0, selected);