summaryrefslogtreecommitdiff
path: root/build/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-12-12 20:03:45 +0000
committerjbj <devnull@localhost>2000-12-12 20:03:45 +0000
commitdb32ab6bea1b635129820d6b628e6156c61b5385 (patch)
tree055f7ee7d5e06ba0b3e858b82f639310b892503d /build/build.c
parent2e9d2616969433851a1c883c900d6ea5acde67b7 (diff)
downloadlibrpm-tizen-db32ab6bea1b635129820d6b628e6156c61b5385.tar.gz
librpm-tizen-db32ab6bea1b635129820d6b628e6156c61b5385.tar.bz2
librpm-tizen-db32ab6bea1b635129820d6b628e6156c61b5385.zip
Sync with rpm-4_0 branch.
CVS patchset: 4338 CVS date: 2000/12/12 20:03:45
Diffstat (limited to 'build/build.c')
-rw-r--r--build/build.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/build/build.c b/build/build.c
index cbe59db07..cda5f67ad 100644
--- a/build/build.c
+++ b/build/build.c
@@ -8,6 +8,8 @@
#include <rpmio_internal.h>
#include <rpmbuild.h>
+#include "debug.h"
+
static int _build_debug = 0;
static void doRmSource(Spec spec)
@@ -23,7 +25,7 @@ static void doRmSource(Spec spec)
if (! (p->flags & RPMBUILD_ISNO)) {
const char *fn = rpmGetPath("%{_sourcedir}/", p->source, NULL);
unlink(fn);
- xfree(fn);
+ free((void *)fn);
}
}
@@ -32,7 +34,7 @@ static void doRmSource(Spec spec)
if (! (p->flags & RPMBUILD_ISNO)) {
const char *fn = rpmGetPath("%{_sourcedir}/", p->source, NULL);
unlink(fn);
- xfree(fn);
+ free((void *)fn);
}
}
}
@@ -211,7 +213,7 @@ exit:
if (scriptName) {
if (!rc)
Unlink(scriptName);
- xfree(scriptName);
+ free((void *)scriptName);
}
if (u) {
switch (u->urltype) {