summaryrefslogtreecommitdiff
path: root/rpm.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-14 19:15:18 +0000
committerjbj <devnull@localhost>1999-11-14 19:15:18 +0000
commit4e62a322a266e9d95007540d10e67fc75bf80aa7 (patch)
treef1ba2b2704bf0397cc7d0bac2b323480aed56a8a /rpm.c
parent471ba3b2386a15b5cd0ad202238dd38161788416 (diff)
downloadlibrpm-tizen-4e62a322a266e9d95007540d10e67fc75bf80aa7.tar.gz
librpm-tizen-4e62a322a266e9d95007540d10e67fc75bf80aa7.tar.bz2
librpm-tizen-4e62a322a266e9d95007540d10e67fc75bf80aa7.zip
lib/rpmio.c: Implement per-fd layers as a stack, add fdPush/fdPop.
lib/rpmio.c: Add fd{Get,Set}{Io,Fp,Fdno} abstraction wrappers. lib/rpmio.c: Start rationalizing debug output by using fdbg to display the fd layer stack. rpm.c: Add --nolibio to disable libio if desired. rpm2cpio.c: Use Fdopen(..., gzdio) and ufdCopy(). build/build.c: Use Fdopen(..., fpio) rather than fdio. build/files.c: Use Fdopen(..., fpio) rather than ufdio. build/parseSpec.c: ditto. lib/macro.c: ditto. lib/rpmrc.c: ditto lib/macro.c: Use Fopen(..., ufdio) in isCompressed() rather that fdOpen(). lib/misc.c: ditto. lib/misc.c: Avoid fstat by using Stat. build/pack.c: Add persist fdLink() and use fdFree() in package{Sources,Binaries} build/pack.c: Try to remove the fdDup before cpioBuildArchive() call. build/pack.c: Use rpmGenPath with %{_builddir}. build/parsePreamble.c: Use fdSize rather than Stat to get icon file size. lib/rpmrc.c: ditto lib/ftp.c: start capturing ufdio layer syserrno/errcookie. CVS patchset: 3424 CVS date: 1999/11/14 19:15:18
Diffstat (limited to 'rpm.c')
-rwxr-xr-xrpm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpm.c b/rpm.c
index 3128cbbf3..33498aa2e 100755
--- a/rpm.c
+++ b/rpm.c
@@ -70,6 +70,7 @@ static int initdb;
static int justdb;
static int noDeps;
static int noGpg;
+extern int noLibio;
static int noMd5;
static int noOrder;
static int noPgp;
@@ -132,6 +133,7 @@ static struct poptOption optionsTable[] = {
{ "justdb", '\0', 0, &justdb, 0, NULL, NULL},
{ "nodeps", '\0', 0, &noDeps, 0, NULL, NULL},
{ "nogpg", '\0', 0, &noGpg, 0, NULL, NULL},
+ { "nolibio", '\0', 0, &noLibio, 0, NULL, NULL},
{ "nomd5", '\0', 0, &noMd5, 0, NULL, NULL},
{ "noorder", '\0', 0, &noOrder, 0, NULL, NULL},
{ "nopgp", '\0', 0, &noPgp, 0, NULL, NULL},
@@ -581,6 +583,7 @@ int main(int argc, const char ** argv)
justdb = 0;
noDeps = 0;
noGpg = 0;
+ noLibio = 0;
noMd5 = 0;
noOrder = 0;
noPgp = 0;