diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-09-14 08:41:01 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-09-14 13:40:24 +0300 |
commit | 9e7adb8f14303edf0262744cea7a7f0a650f8ca2 (patch) | |
tree | 94f45bfecb133092d1a2488ffb98e8bb30b7e8fb /lib/rpmchroot.h | |
parent | ab180dacb9badaef882a098639eb50196cff8f57 (diff) | |
download | librpm-tizen-9e7adb8f14303edf0262744cea7a7f0a650f8ca2.tar.gz librpm-tizen-9e7adb8f14303edf0262744cea7a7f0a650f8ca2.tar.bz2 librpm-tizen-9e7adb8f14303edf0262744cea7a7f0a650f8ca2.zip |
Change fpLookup() to return malloced memory (on first call)
- If the fingerprint pointer passed to it is NULL then allocate space
for a new fingerprint, otherwise reuse the previous space. This should
allow optimizing the case where repeatedly calling and directory
doesn't change inside fpc so callers dont need special-case code
for this. For now, we dont care about optimizations, other than
making it possible later.
Diffstat (limited to 'lib/rpmchroot.h')
0 files changed, 0 insertions, 0 deletions