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.138 2004/11/11 16:02:16 grubba Exp $ + || $Id: error.c,v 1.139 2004/11/11 16:03:54 grubba 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"
pike.git/src/error.c:291:    size--;    }       } while(fmt[0] && size>0);       str[0]=0;    va_end(args);   }       - /* FIXME: NOTE: This function uses a static buffer. -  * Check sizes of arguments passed! -  */ +    void DECLSPEC(noreturn) va_error(const char *fmt, va_list args)    ATTRIBUTE((noreturn))   {    struct string_builder s;       SWAP_IN_THREAD_IF_REQUIRED();    if(in_error)    {    const char *tmp=in_error;    in_error = NULL;