pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:1:   /*   || 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.183 2004/05/11 19:50:40 grubba Exp $ + || $Id: encode.c,v 1.184 2004/05/11 20:33:53 grubba Exp $   */      #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "object.h"   #include "constants.h"   #include "interpret.h"   #include "svalue.h"   #include "mapping.h"
pike.git/src/encode.c:25:   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"   #include "pikecode.h"   #include "pike_types.h"   #include "opcodes.h"   #include "peep.h"    - RCSID("$Id: encode.c,v 1.183 2004/05/11 19:50:40 grubba Exp $"); + RCSID("$Id: encode.c,v 1.184 2004/05/11 20:33:53 grubba Exp $");      /* #define ENCODE_DEBUG */      /* Use the old encoding method for programs. */   #define OLD_PIKE_ENCODE_PROGRAM      #ifdef ENCODE_DEBUG   /* Pass a nonzero integer as the third arg to encode_value,    * encode_value_canonic and decode_value to activate this debug. */   #define EDB(N,X) do { debug_malloc_touch(data); if (data->debug>=N) {X;} } while (0)
pike.git/src/encode.c:2204:    struct svalue *other,    char *msg, ...)   {    int n = 0;    char buf[4096];    va_list args;    va_start (args, msg);   #ifdef HAVE_VSNPRINTF    vsnprintf (buf, sizeof (buf), msg, args);   #else /* !HAVE_VSNPRINTF */ -  VSPRINTF(buf, fmt, args); +  VSPRINTF(buf, msg, args);   #endif /* HAVE_VSNPRINTF */    va_end (args);       if (decoding) {    push_constant_text ("Error while decoding "); n++;    push_constant_text ("%O");    push_svalue (decoding);    f_sprintf (2); n++;    push_constant_text (":\n"); n++;    }