summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-06-08 20:45:59 +0000
committerjbj <devnull@localhost>2001-06-08 20:45:59 +0000
commit03f527390168680d98f13ada0dbf6be4cd17dc9c (patch)
tree775e83d8fc7532376766381fb94496b3dec6f31d /rpmio
parent7bf9296288c38f3bf82ec38481738101bf063981 (diff)
downloadrpm-03f527390168680d98f13ada0dbf6be4cd17dc9c.tar.gz
rpm-03f527390168680d98f13ada0dbf6be4cd17dc9c.tar.bz2
rpm-03f527390168680d98f13ada0dbf6be4cd17dc9c.zip
- fix: QUERY_FOR_LIST file count clobbered.
- create top level rpmcli API, factor top level modes into popt tables. - popt: add POPT_BIT_SET/POPT_BIT_CLR to API. - autogen.sh checks for latest libtool-1.4 and automake-1.4-p2. - rpm --verify reports failure(s) if corresponding tag is not in header. - rpm --verify honors %config(missingok), add -v for legacy behavior. CVS patchset: 4852 CVS date: 2001/06/08 20:45:59
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/tdigest.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/rpmio/tdigest.c b/rpmio/tdigest.c
index 8460c4242..d18d9db66 100644
--- a/rpmio/tdigest.c
+++ b/rpmio/tdigest.c
@@ -6,12 +6,10 @@
static rpmDigestFlags flags = RPMDIGEST_MD5;
extern int _rpmio_debug;
-#define _POPT_SET_BIT (POPT_ARG_VAL|POPT_ARGFLAG_OR)
-
static struct poptOption optionsTable[] = {
- { "md5", '\0', _POPT_SET_BIT, &flags, RPMDIGEST_MD5, NULL, NULL },
- { "sha1",'\0', _POPT_SET_BIT, &flags, RPMDIGEST_SHA1, NULL, NULL },
- { "native",'\0', _POPT_SET_BIT, &flags, RPMDIGEST_NATIVE, NULL, NULL },
+ { "md5", '\0', POPT_BIT_SET, &flags, RPMDIGEST_MD5, NULL, NULL },
+ { "sha1",'\0', POPT_BIT_SET, &flags, RPMDIGEST_SHA1, NULL, NULL },
+ { "native",'\0', POPT_BIT_SET, &flags, RPMDIGEST_NATIVE, NULL, NULL },
{ "debug",'d', POPT_ARG_VAL, &_rpmio_debug, -1, NULL, NULL },
{ NULL, '\0', 0, NULL, 0, NULL, NULL }
};