diff options
author | Michael Schroeder <mls@suse.de> | 2010-04-12 12:10:20 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-06-11 10:23:29 +0300 |
commit | 5ae3e055ace91915cebf3ee1187a09aa39dba56a (patch) | |
tree | b08cf10ef74a1806b43b9509901dcb1462d25287 | |
parent | 8b1600432b8162d3e7a98277e000991274e602b4 (diff) | |
download | rpm-5ae3e055ace91915cebf3ee1187a09aa39dba56a.tar.gz |
readLineFromOFI may modify the fileStack, thus we have to re-set
ofi after calling it
(cherry picked from commit daec6ebf58331776279f389738af4788b865033d)
-rw-r--r-- | build/parseSpec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/parseSpec.c b/build/parseSpec.c index 816aa814d..435feab04 100644 --- a/build/parseSpec.c +++ b/build/parseSpec.c @@ -272,6 +272,7 @@ int readLine(rpmSpec spec, int strip) retry: if ((rc = readLineFromOFI(spec, ofi)) != 0) return rc; + ofi = spec->fileStack; /* Copy next file line into the spec line buffer */ rc = copyNextLineFromOFI(spec, ofi); |