Branch: Tag:

2008-03-29

2008-03-29 11:50:56 by Martin Stjernholm <mast@lysator.liu.se>

Fixed configure stuff for va_copy.

Rev: src/acconfig.h:1.158
Rev: src/configure.in:1.1051
Rev: src/error.c:1.153

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: error.c,v 1.152 2008/03/29 01:29:47 mast Exp $ + || $Id: error.c,v 1.153 2008/03/29 11:50:56 mast Exp $   */      #define NO_PIKE_SHORTHAND
539:    /* Prevent double fatal. */    if (in_fatal)    { -  if (fmt) { -  va_list a; -  va_copy (a, args); /* FIXME: Assumes C99. */ -  (void)VFPRINTF(stderr, fmt, a); -  va_end (a); -  } +  if (fmt) (void)VFPRINTF(stderr, fmt, args);    do_abort();    }       in_fatal = 1;   #ifdef PIKE_DEBUG    if (d_flag) { -  + #ifdef HAVE_VA_COPY    if (fmt) {    va_list a; -  va_copy (a, args); /* FIXME: Assumes C99. */ +  va_copy (a, args);    (void)VFPRINTF(stderr, fmt, a);    va_end (a);    } -  + #endif    dump_backlog();    }   #endif