summaryrefslogtreecommitdiff
path: root/build/parseBuildInstallClean.c
diff options
context:
space:
mode:
authormarc <devnull@localhost>1998-01-14 03:32:44 +0000
committermarc <devnull@localhost>1998-01-14 03:32:44 +0000
commitc1d4e941066ff05c1b63113bdd017986a1cb180e (patch)
tree3f9a55bab68b68d9b05e9ef3b5e4373461cd1288 /build/parseBuildInstallClean.c
parente249552f6f28639793e64ded9c919ae2745a8398 (diff)
downloadrpm-c1d4e941066ff05c1b63113bdd017986a1cb180e.tar.gz
The spec file read code was inserting a second \n after every line!
CVS patchset: 1961 CVS date: 1998/01/14 03:32:44
Diffstat (limited to 'build/parseBuildInstallClean.c')
-rw-r--r--build/parseBuildInstallClean.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parseBuildInstallClean.c b/build/parseBuildInstallClean.c
index fbb94401c..c5f9affd3 100644
--- a/build/parseBuildInstallClean.c
+++ b/build/parseBuildInstallClean.c
@@ -36,7 +36,7 @@ int parseBuildInstallClean(Spec spec, int parsePart)
}
while (! (nextPart = isPart(spec->line))) {
- appendLineStringBuf(*sbp, spec->line);
+ appendStringBuf(*sbp, spec->line);
if (readLine(spec, STRIP_NOTHING) > 0) {
return PART_NONE;
}