diff options
author | Florian Festi <ffesti@redhat.com> | 2012-09-28 10:23:03 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-09-28 10:37:05 +0300 |
commit | bdb966b4df1a882f9c1f84393666277bec98080c (patch) | |
tree | e21eb49492468fc65058fa7f8e52e32767f67a6a /fileattrs/mono.attr | |
parent | b81b4a35240f16fa8b45156b0151fab9e130a8e8 (diff) | |
download | librpm-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