pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:1187:    }   /*    sprintf(b,"Searches: %ld Average search length: %6.3f\n",    (long)num_str_searches, (double)search_len / num_str_searches);    my_strcat(b);   */    return finish_string_builder(&s);   }      #ifdef PIKE_DEBUG + #include <ctype.h>      static long last_stralloc_verify=0;   extern long current_do_debug_cycle;      PMOD_EXPORT void check_string(struct pike_string *s)   {    if(current_do_debug_cycle == last_stralloc_verify)    {    if(debug_findstring(s) != s)    Pike_fatal("Shared string not shared.\n");