pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:2132:   }      /*** init/exit memory ***/   void init_shared_string_table(void)   {    for(hashprimes_entry=0;hashprimes[hashprimes_entry]<BEGIN_HASH_SIZE;hashprimes_entry++);    SET_HSIZE(hashprimes_entry);    base_table=xcalloc(sizeof(struct pike_string *), htable_size);       empty_pike_string = make_shared_string(""); +  empty_pike_string->flags |= STRING_IS_LOWERCASE | STRING_IS_UPPERCASE;   }      #ifdef DO_PIKE_CLEANUP   PMOD_EXPORT struct shared_string_location *all_shared_string_locations;   #endif         void cleanup_shared_string_table(void)   {    unsigned INT32 e;