pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.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: stralloc.c,v 1.196 2005/02/25 23:33:45 nilsson Exp $ + || $Id: stralloc.c,v 1.197 2005/03/09 12:03:15 mast Exp $   */      #include "global.h"   #include "stralloc.h"   #include "pike_macros.h"   #include "dynamic_buffer.h"   #include "pike_macros.h"   #include "pike_memory.h"   #include "pike_error.h"   #include "gc.h"
pike.git/src/stralloc.c:2643:    case 'X':    string_builder_append_integer(s, pike_va_int(VA_LIST_ADDR(args), flags), 16,    flags | APPEND_UPPER_CASE,    min_width, precision);    break;    case 'u':    string_builder_append_integer(s, pike_va_int(VA_LIST_ADDR(args), flags), 10,    flags, min_width, precision);    break;    case 'd': +  flags |= APPEND_SIGNED;    string_builder_append_integer(s, pike_va_int(VA_LIST_ADDR(args), flags), 10, -  flags | APPEND_SIGNED, -  min_width, precision); +  flags, min_width, precision);    break;       /* FIMXE: TODO: Doubles (ie 'a', 'e', 'E', 'g', 'G'). */       /* %f used in modules/Image/colors.c. */    case 'f':    {    double val = va_arg(args, double);    size_t bytes;