summaryrefslogtreecommitdiff
path: root/rpm2cpio.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-09-26 15:04:03 +0000
committerjbj <devnull@localhost>1999-09-26 15:04:03 +0000
commite60094b302720378ca194db760e51299b32e0a70 (patch)
tree67e66c20dcff947fef2fa59563d364627fd1a539 /rpm2cpio.c
parent0464b19302bcceafe0c597f1feb693f69ab9b12d (diff)
downloadrpm-e60094b302720378ca194db760e51299b32e0a70.tar.gz
rpm-e60094b302720378ca194db760e51299b32e0a70.tar.bz2
rpm-e60094b302720378ca194db760e51299b32e0a70.zip
Retrofit glibc __progname.
CVS patchset: 3330 CVS date: 1999/09/26 15:04:03
Diffstat (limited to 'rpm2cpio.c')
-rw-r--r--rpm2cpio.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/rpm2cpio.c b/rpm2cpio.c
index bc23dcc93..59eb6810d 100644
--- a/rpm2cpio.c
+++ b/rpm2cpio.c
@@ -4,15 +4,6 @@
#include "rpmlib.h"
-char *zlib_err [] = {
- "No",
- "Unix",
- "Data",
- "Memory",
- "Buffer",
- "Version"
-};
-
int main(int argc, char **argv)
{
FD_t fdi, fdo;
@@ -22,6 +13,7 @@ int main(int argc, char **argv)
int ct;
FD_t gzdi;
+ setprogname(argv[0]); /* Retrofit glibc __progname */
if (argc == 1) {
fdi = fdDup(STDIN_FILENO);
} else {