summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-01-21 15:43:32 +0000
committerjbj <devnull@localhost>2001-01-21 15:43:32 +0000
commitd07437babbde795e5f58fa6b6092c2867a1781f7 (patch)
treeb7931b96d832c2739a2abc8d8defdd36ab74a907 /build/spec.c
parentb8694daf7caeab685bb5e86d1c5909174f519e81 (diff)
downloadlibrpm-tizen-d07437babbde795e5f58fa6b6092c2867a1781f7.tar.gz
librpm-tizen-d07437babbde795e5f58fa6b6092c2867a1781f7.tar.bz2
librpm-tizen-d07437babbde795e5f58fa6b6092c2867a1781f7.zip
- cpio mappings carry dirname/basename, not absolute path.
CVS patchset: 4474 CVS date: 2001/01/21 15:43:32
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/spec.c b/build/spec.c
index b14a28a08..2a7fa9173 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -38,10 +38,10 @@ static inline void freeCpioList(/*@only@*/ struct cpioFileMapping *cpioList, int
struct cpioFileMapping *p = cpioList;
while (cpioCount--) {
- rpmMessage(RPMMESS_DEBUG, _("archive = %s, fs = %s\n"),
- p->archivePath, p->fsPath);
+ rpmMessage(RPMMESS_DEBUG, _("archive = %s, fs = %s%s\n"),
+ p->archivePath, p->dirName, p->baseName);
FREE(p->archivePath);
- FREE(p->fsPath);
+ FREE(p->dirName); /* XXX baseName is free'd here as well */
p++;
}
FREE(cpioList);