From 0fc063df3ab2ad380d532d210dd1001de473e51b Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 4 Apr 2005 18:23:13 +0000 Subject: Load /tmp/tmp.98zkCi/libxml2-2.6.19 into packages/libxml2/branches/upstream/current. --- encoding.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'encoding.c') diff --git a/encoding.c b/encoding.c index a3dad07..66e63b5 100644 --- a/encoding.c +++ b/encoding.c @@ -2332,7 +2332,7 @@ ISO8859xToUTF8(unsigned char* out, int *outlen, unsigned char* outend; const unsigned char* instart = in; const unsigned char* inend; - const unsigned char* instop = inend; + const unsigned char* instop; unsigned int c; if ((out == NULL) || (outlen == NULL) || (inlen == NULL) || @@ -2340,6 +2340,7 @@ ISO8859xToUTF8(unsigned char* out, int *outlen, return(-1); outend = out + *outlen; inend = in + *inlen; + instop = inend; c = *in; while (in < inend && out < outend - 1) { if (c >= 0x80) { @@ -3260,4 +3261,6 @@ xmlRegisterCharEncodingHandlersISO8859x (void) { #endif #endif +#define bottom_encoding +#include "elfgcchack.h" -- cgit v1.2.3