pike.git / src / error.c

version» Context lines:

pike.git/src/error.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: error.c,v 1.126 2004/06/29 11:09:15 nilsson Exp $ + || $Id: error.c,v 1.127 2004/06/29 11:16:42 nilsson Exp $   */      #define NO_PIKE_SHORTHAND   #include "global.h"   #include "svalue.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "interpret.h"   #include "stralloc.h"   #include "builtin_functions.h"   #include "array.h"   #include "object.h"   #include "main.h"   #include "builtin_functions.h"   #include "backend.h"   #include "operators.h"   #include "module_support.h"   #include "threads.h"   #include "gc.h"    - RCSID("$Id: error.c,v 1.126 2004/06/29 11:09:15 nilsson Exp $"); + RCSID("$Id: error.c,v 1.127 2004/06/29 11:16:42 nilsson Exp $");      /* __attribute__ only applies to function declarations, not    definitions, so we disable them here. */   #undef ATTRIBUTE   #define ATTRIBUTE(X)      PMOD_EXPORT const char msg_fatal_error[] =    "%s:%d: Fatal error:\n";   #ifdef PIKE_DEBUG   PMOD_EXPORT const char msg_unsetjmp_nosync_1[] =
pike.git/src/error.c:195:    va_list args;    va_copy(args, ap);       size--;       do {    if(fmt[0]=='%') {       fmt++;    -  fprintf(stderr, "X %c\n", fmt[0]); +     switch( fmt++[0] ) {       case 'O':    {    dynamic_buffer buf;    dynbuf_string s;    char *ostr;    struct svalue *t = va_arg(args, struct svalue *);    init_buf(&buf);    describe_svalue(t,0,0);