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.171 2004/11/05 16:05:07 grubba Exp $ + || $Id: stralloc.c,v 1.172 2004/11/05 16:08:46 grubba 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:2234:    break;    default:    fatal("Unsupported binary integer formatting directive '%c'\n",    *fmt);    break;    }    mask = (1<<delta)-1;       for (shift = 0; val >> shift; shift += delta)    ; +  shift -= delta;    while(shift >= 0) {    string_builder_putchar(s, numbers[(val>>shift) & mask]);    shift -= delta;    }    }    break;    case 'd':    case 'u':    {    unsigned int val = va_arg(args, unsigned int);