summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-05-24 17:53:35 +0000
committerjbj <devnull@localhost>2000-05-24 17:53:35 +0000
commitc7273eb0bca1a7b4d7ccfea11fe9562b88034c53 (patch)
tree2f0a268637bab51fe1ab844e014795bba563e02f /system.h
parent0d1548767532377b8e0fcce719e9a42f567da5c3 (diff)
downloadrpm-c7273eb0bca1a7b4d7ccfea11fe9562b88034c53.tar.gz
rpm-c7273eb0bca1a7b4d7ccfea11fe9562b88034c53.tar.bz2
rpm-c7273eb0bca1a7b4d7ccfea11fe9562b88034c53.zip
- change popt exec alias in oreder to exec rpm children.
- split rpm into 5 pieces along major mode fault lines with popt glue. CVS patchset: 3750 CVS date: 2000/05/24 17:53:35
Diffstat (limited to 'system.h')
-rw-r--r--system.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/system.h b/system.h
index a6bb90ba7..82e89ac79 100644
--- a/system.h
+++ b/system.h
@@ -221,6 +221,9 @@ void *vmefail(size_t size);
/* Retrofit glibc __progname */
#if defined __GLIBC__ && __GLIBC__ >= 2
+#if __GLIBC_MINOR__ >= 1
+#define __progname __assert_program_name
+#endif
#define setprogname(pn)
#else
#define __progname program_name
@@ -229,7 +232,7 @@ void *vmefail(size_t size);
else __progname = pn; \
}
#endif
-char *__progname;
+const char *__progname;
#if HAVE_NETDB_H
#ifndef __LCLINT__