diff options
author | jbj <devnull@localhost> | 1998-07-08 17:30:37 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-07-08 17:30:37 +0000 |
commit | 209af5b9eb64f5aa35666ad6439c5c3db2f25f1b (patch) | |
tree | e06e44674ca5bf64ededfaa49cd75818ee7afb71 /build/pack.c | |
parent | 27c677e034eca8672881414f1ceb33fe3144e3dc (diff) | |
download | librpm-tizen-209af5b9eb64f5aa35666ad6439c5c3db2f25f1b.tar.gz librpm-tizen-209af5b9eb64f5aa35666ad6439c5c3db2f25f1b.tar.bz2 librpm-tizen-209af5b9eb64f5aa35666ad6439c5c3db2f25f1b.zip |
Add {init,add,expand}Macro args everywhere (new macro.c compatibility).
Create /usr/lib/rpm directory and move rpmrc et al there.
CVS patchset: 2168
CVS date: 1998/07/08 17:30:37
Diffstat (limited to 'build/pack.c')
-rw-r--r-- | build/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c index 0855d1786..1953e716e 100644 --- a/build/pack.c +++ b/build/pack.c @@ -355,7 +355,7 @@ static StringBuf addFileToTagAux(Spec spec, char *file, StringBuf sb) return NULL; } while (fgets(buf, sizeof(buf), f)) { - if (expandMacros(&spec->macros, buf)) { + if (expandMacros(spec, &spec->macros, buf, sizeof(buf))) { rpmError(RPMERR_BADSPEC, "line: %s", buf); return NULL; } |