@top_srcdir@/popt/popthelp.c \
@top_srcdir@/popt/poptint.h \
@top_srcdir@/popt/poptparse.c \
+ @top_srcdir@/python/db-py.c \
+ @top_srcdir@/python/db-py.h \
@top_srcdir@/python/hash.c \
@top_srcdir@/python/hash.h \
+ @top_srcdir@/python/header-py.c \
+ @top_srcdir@/python/header-py.h \
@top_srcdir@/python/rpmmodule.c \
@top_srcdir@/python/upgrade.c \
@top_srcdir@/python/upgrade.h \
/*@access DIGEST_CTX@*/ /* XXX compared with NULL */
/*@access pgpDig@*/
+#if !defined(__GLIBC__)
+char ** environ = NULL;
+#endif
+
int rpmLookupSignatureType(int action)
{
/*@unchecked@*/
RPMCALLBACK_TRANS_STOP,
RPMCALLBACK_UNINST_PROGRESS,
RPMCALLBACK_UNINST_START,
- RPMCALLBACK_UNINST_STOP
+ RPMCALLBACK_UNINST_STOP,
+ RPMCALLBACK_UNPACK_ERROR,
+ RPMCALLBACK_CPIO_ERROR
} rpmCallbackType;
/**
}
/*@-mods@*/ /* FIX: shrug */
-int main(int argc, const char ** argv)
+int main(int argc, const char ** argv, char ** envp)
/*@globals __assert_program_name, rpmEVR, RPMVERSION,
rpmGlobalMacroContext, rpmCLIMacroContext,
fileSystem, internalState@*/
#endif
setprogname(argv[0]); /* Retrofit glibc __progname */
+#if !defined(__GLIBC__)
+ environ = envp;
+#endif
+
/* XXX glibc churn sanity */
if (__progname == NULL) {
if ((__progname = strrchr(argv[0], '/')) != NULL) __progname++;
/*@modifies errno, systemState @*/;
/*@=superuser =declundef =incondefs @*/
#endif
+#if !defined(__GLIBC__)
+extern char ** environ;
+#endif
#endif
#if TIME_WITH_SYS_TIME