summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-01-28 15:18:18 +0000
committerjbj <devnull@localhost>2002-01-28 15:18:18 +0000
commit6ab55413243ab347f4c3cc09c33ce329bc058b08 (patch)
tree3c2345acc671d1ba918b035143c5aaaf241eb15d /rpmqv.c
parent9b1df115e358f4925015f8ca4742cb7aa3fcffb5 (diff)
downloadlibrpm-tizen-6ab55413243ab347f4c3cc09c33ce329bc058b08.tar.gz
librpm-tizen-6ab55413243ab347f4c3cc09c33ce329bc058b08.tar.bz2
librpm-tizen-6ab55413243ab347f4c3cc09c33ce329bc058b08.zip
Avoid accidental collisions with POPT_BIT_SET for flags in popt tables.
CVS patchset: 5277 CVS date: 2002/01/28 15:18:18
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-xrpmqv.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 8f0cd8880..8fe95aa2c 100755
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -13,15 +13,15 @@
#include <rpmcli.h>
#include <rpmbuild.h>
-#define POPT_NODEPS 1025
-#define POPT_FORCE 1026
-#define POPT_NOMD5 1027
-#define POPT_NOSCRIPTS 1028
+#define POPT_NODEPS -1025
+#define POPT_FORCE -1026
+#define POPT_NOMD5 -1027
+#define POPT_NOSCRIPTS -1028
#ifdef IAM_RPMBT
#include "build.h"
-#define GETOPT_REBUILD 1003
-#define GETOPT_RECOMPILE 1004
+#define GETOPT_REBUILD -1003
+#define GETOPT_RECOMPILE -1004
#endif
#if defined(IAM_RPMBT) || defined(IAM_RPMK)
@@ -30,12 +30,12 @@
#include "debug.h"
-#define GETOPT_DBPATH 1010
-#define GETOPT_SHOWRC 1018
-#define GETOPT_DEFINEMACRO 1020
-#define GETOPT_EVALMACRO 1021
+#define GETOPT_DBPATH -1010
+#define GETOPT_SHOWRC -1018
+#define GETOPT_DEFINEMACRO -1020
+#define GETOPT_EVALMACRO -1021
#ifdef NOTYET
-#define GETOPT_RCFILE 1022
+#define GETOPT_RCFILE -1022
#endif
enum modes {
@@ -1033,7 +1033,7 @@ int main(int argc, const char ** argv)
#ifdef IAM_RPMEIU
case MODE_ERASE:
if (!poptPeekArg(optCon))
- argerror(_("no packages given for uninstall"));
+ argerror(_("no packages given for erase"));
if (ia->noDeps) ia->eraseInterfaceFlags |= UNINSTALL_NODEPS;