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.169 2004/11/05 15:23:15 grubba Exp $ + || $Id: stralloc.c,v 1.170 2004/11/05 16:00:49 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:2293:    }    break;    }    }    break;       default:    Pike_fatal("string_builder_vsprintf(): Invalid formatting method: "    "'%c' 0x%x.\n", *fmt, *fmt);    } +  fmt++;    } else {    const char *start = fmt;    while (*fmt && (*fmt != '%'))    fmt++;    string_builder_binary_strcat(s, start, fmt-start);    }    }   }      PMOD_EXPORT void string_builder_sprintf(struct string_builder *s,