summaryrefslogtreecommitdiff
path: root/fileattrs/mono.attr
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2012-09-28 10:23:03 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-09-28 10:37:05 +0300
commitbdb966b4df1a882f9c1f84393666277bec98080c (patch)
treee21eb49492468fc65058fa7f8e52e32767f67a6a /fileattrs/mono.attr
parentb81b4a35240f16fa8b45156b0151fab9e130a8e8 (diff)
downloadlibrpm-tizen-bdb966b4df1a882f9c1f84393666277bec98080c.tar.gz
librpm-tizen-bdb966b4df1a882f9c1f84393666277bec98080c.tar.bz2
librpm-tizen-bdb966b4df1a882f9c1f84393666277bec98080c.zip
Make string pool strings static in memory
- Use multiple chunks that get allocated as old ones get filled up instead of reallocating, store direct pointers to the strings in the id array. - This prevents nasty surprises when previously retrieved pointer to a pool string goes invalid underneath us due to somebody adding a new string, and restores former rpm API behavior: string pointers retrieved from eg rpmds and rpmfi are valid for the entire lifetime of those objects.
Diffstat (limited to 'fileattrs/mono.attr')
0 files changed, 0 insertions, 0 deletions