diff options
author | jbj <devnull@localhost> | 2001-04-29 01:05:43 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-04-29 01:05:43 +0000 |
commit | 3b5820c4205e440d9aad5c5d626721ee30b12292 (patch) | |
tree | b1f0a694903aef1dd937539e1b06c8b0947fb67c /build/parseDescription.c | |
parent | 6a0524ed57548de92daa4b6cf8ee9d2ab39d7a42 (diff) | |
download | rpm-3b5820c4205e440d9aad5c5d626721ee30b12292.tar.gz |
- globalize _free(3) wrapper in rpmlib.h, consistent usage throughout.
- internalize locale insensitive ctype(3) in rpmio.h
- boring lclint annotations and fiddles.
CVS patchset: 4721
CVS date: 2001/04/29 01:05:43
Diffstat (limited to 'build/parseDescription.c')
-rw-r--r-- | build/parseDescription.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build/parseDescription.c b/build/parseDescription.c index 8cf5ae537..f7052e2df 100644 --- a/build/parseDescription.c +++ b/build/parseDescription.c @@ -53,7 +53,7 @@ int parseDescription(Spec spec) spec->lineNum, poptBadOption(optCon, POPT_BADOPTION_NOALIAS), spec->line); - FREE(argv); + argv = _free(argv); poptFreeContext(optCon); return RPMERR_BADSPEC; } @@ -65,7 +65,7 @@ int parseDescription(Spec spec) rpmError(RPMERR_BADSPEC, _("line %d: Too many names: %s\n"), spec->lineNum, spec->line); - FREE(argv); + argv = _free(argv); poptFreeContext(optCon); return RPMERR_BADSPEC; } @@ -74,7 +74,7 @@ int parseDescription(Spec spec) if (lookupPackage(spec, name, flag, &pkg)) { rpmError(RPMERR_BADSPEC, _("line %d: Package does not exist: %s\n"), spec->lineNum, spec->line); - FREE(argv); + argv = _free(argv); poptFreeContext(optCon); return RPMERR_BADSPEC; } @@ -86,7 +86,7 @@ int parseDescription(Spec spec) if (headerIsEntry(pkg->header, RPMTAG_DESCRIPTION)) { rpmError(RPMERR_BADSPEC, _("line %d: Second description\n"), spec->lineNum); - FREE(argv); + argv = _free(argv); poptFreeContext(optCon); return RPMERR_BADSPEC; } @@ -124,7 +124,7 @@ int parseDescription(Spec spec) freeStringBuf(sb); - FREE(argv); + argv = _free(argv); poptFreeContext(optCon); return nextPart; |