Branch: Tag:

2003-11-15

2003-11-15 17:25:05 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug in decode_value where decoded integers outside the 32 bit range
weren't converted to native form when INT_TYPE is larger than that.

Rev: src/bignum.c:1.40
Rev: src/bignum.h:1.26
Rev: src/encode.c:1.199
Rev: src/modules/Gmp/mpz_glue.c:1.156

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: encode.c,v 1.198 2003/11/14 00:41:27 mast Exp $ + || $Id: encode.c,v 1.199 2003/11/15 17:25:05 mast Exp $   */      #include "global.h"
30:   #include "pikecode.h"   #include "pike_types.h"    - RCSID("$Id: encode.c,v 1.198 2003/11/14 00:41:27 mast Exp $"); + RCSID("$Id: encode.c,v 1.199 2003/11/15 17:25:05 mast Exp $");      /* #define ENCODE_DEBUG */   
2508: Inside #if defined(AUTO_BIGNUM)
   */    push_int(36);    convert_stack_top_with_base_to_bignum(); + #if SIZEOF_INT_TYPE > 4 +  reduce_stack_top_bignum(); + #endif    break;    }