* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zrpn.c,v $
- * Revision 1.65 1997-09-22 12:39:06 adam
+ * Revision 1.67 1997-09-29 09:06:10 adam
+ * Removed one static var in order to make this module thread safe.
+ *
+ * Revision 1.66 1997/09/25 14:58:03 adam
+ * Windows NT port.
+ *
+ * Revision 1.65 1997/09/22 12:39:06 adam
* Added get_pos method for the ranked result sets.
*
* Revision 1.64 1997/09/18 08:59:20 adam
*/
#include <stdio.h>
#include <assert.h>
+#ifdef WINDOWS
+#include <io.h>
+#else
#include <unistd.h>
+#endif
#include <ctype.h>
#include "zserver.h"
}
if (*zop->u.prox->proximityUnitCode != Z_ProxUnit_word)
{
- static char val[16];
+ char *val = odr_malloc (zi->odr, 16);
zi->errCode = 132;
zi->errString = val;
sprintf (val, "%d", *zop->u.prox->proximityUnitCode);