pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:655: Inside #if defined(PIKE_DEBUG)
  #endif   #ifdef PIKE_DEBUG    if (shift > 2)    Pike_fatal("Unsupported string shift: %d\n", shift);   #endif /* PIKE_DEBUG */    t=ba_alloc(&string_allocator);    /* we mark the string as static here, to avoid double free if the    * allocations fail    */   #ifdef PIKE_DEBUG -  gc_init_marker(&t->m); +  gc_init_marker(t);   #endif    t->flags = STRING_NOT_HASHED|STRING_NOT_SHARED;    t->alloc_type = STRING_ALLOC_STATIC;    t->struct_type = STRING_STRUCT_STRING;    SET_ONERROR(fe,free_unlinked_pike_string,t);    if (bytes <= sizeof(struct pike_string))    {    t->str = ba_alloc(&string_allocator);    t->alloc_type = STRING_ALLOC_BA;    } else {