summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1998-09-15 14:26:02 +0000
committerjbj <devnull@localhost>1998-09-15 14:26:02 +0000
commit49656cd7e3e93d16aa6dbac51dae7d8be385e537 (patch)
tree80996e78d215592082fc28e4923caa9ed8935867 /build
parent679e135014fbc9af22c3ea26ae435f91064ae51d (diff)
downloadlibrpm-tizen-49656cd7e3e93d16aa6dbac51dae7d8be385e537.tar.gz
librpm-tizen-49656cd7e3e93d16aa6dbac51dae7d8be385e537.tar.bz2
librpm-tizen-49656cd7e3e93d16aa6dbac51dae7d8be385e537.zip
fix virtual file attribute bug that skipped all files in binary rpm.
CVS patchset: 2315 CVS date: 1998/09/15 14:26:02
Diffstat (limited to 'build')
-rw-r--r--build/files.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/files.c b/build/files.c
index 131ee842a..811a5e6c9 100644
--- a/build/files.c
+++ b/build/files.c
@@ -628,7 +628,8 @@ static int parseForSimple(Spec spec, Package pkg, char *buf,
fl->currentFlags |= vfa->flag;
break;
}
- if (vfa)
+ /* if we got an attribute, continue with next token */
+ if (vfa->attribute != NULL)
continue;
}