diff options
author | jbj <devnull@localhost> | 2001-06-19 16:59:23 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-06-19 16:59:23 +0000 |
commit | eb8db3316d3a125c8974436112829d56aa63b21f (patch) | |
tree | e0a2acf364a9297cd71f8796e5083f907ba9fcdd /build | |
parent | c6bd3de937ce3d40daa228e237c52527b9cdb8e1 (diff) | |
download | librpm-tizen-eb8db3316d3a125c8974436112829d56aa63b21f.tar.gz librpm-tizen-eb8db3316d3a125c8974436112829d56aa63b21f.tar.bz2 librpm-tizen-eb8db3316d3a125c8974436112829d56aa63b21f.zip |
- finalize per-header methods, accessing headerFoo through vector.
CVS patchset: 4880
CVS date: 2001/06/19 16:59:23
Diffstat (limited to 'build')
-rw-r--r-- | build/files.c | 4 | ||||
-rw-r--r-- | build/parsePreamble.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/build/files.c b/build/files.c index a5cea7f12..a8d09d5b6 100644 --- a/build/files.c +++ b/build/files.c @@ -1826,7 +1826,7 @@ void initSourceHeader(Spec spec) break; } } - headerFreeIterator(hi); + hi = headerFreeIterator(hi); /* Add the build restrictions */ for (hi = headerInitIterator(spec->buildRestrictions); @@ -1836,7 +1836,7 @@ void initSourceHeader(Spec spec) if (ptr) (void) headerAddEntry(spec->sourceHeader, tag, type, ptr, count); } - headerFreeIterator(hi); + hi = headerFreeIterator(hi); if (spec->BANames && spec->BACount > 0) { (void) headerAddEntry(spec->sourceHeader, RPMTAG_BUILDARCHS, diff --git a/build/parsePreamble.c b/build/parsePreamble.c index 161843e63..104be59dd 100644 --- a/build/parsePreamble.c +++ b/build/parsePreamble.c @@ -293,7 +293,7 @@ static int checkForDuplicates(Header h, const char * NVR) tagName(tag), NVR); res = 1; } - headerFreeIterator(hi); + hi = headerFreeIterator(hi); return res; } |