summaryrefslogtreecommitdiff
path: root/lib/rpmrc.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-09 22:15:16 +0000
committerjbj <devnull@localhost>2002-06-09 22:15:16 +0000
commitdb4e72211ef17d0bd061d3881ee5dc661289fb90 (patch)
tree9589bc7b7fab123f5b93be14c18c9325d3f4c551 /lib/rpmrc.c
parentd29a60e1f20312a0067fe3a1336a1faaf69f420e (diff)
downloadlibrpm-tizen-db4e72211ef17d0bd061d3881ee5dc661289fb90.tar.gz
librpm-tizen-db4e72211ef17d0bd061d3881ee5dc661289fb90.tar.bz2
librpm-tizen-db4e72211ef17d0bd061d3881ee5dc661289fb90.zip
Sanity.
CVS patchset: 5477 CVS date: 2002/06/09 22:15:16
Diffstat (limited to 'lib/rpmrc.c')
-rw-r--r--lib/rpmrc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 077b6c162..89877f494 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -6,6 +6,8 @@
#include <setjmp.h>
#endif
+#include <ctype.h> /* XXX for /etc/rpm/platform contents */
+
#if HAVE_SYS_SYSTEMCFG_H
#include <sys/systemcfg.h>
#else
@@ -21,7 +23,7 @@
/*@access FD_t@*/ /* compared with NULL */
/*@observer@*/ /*@unchecked@*/
-static const char *defrcfiles = LIBRPMRC_FILENAME ":/etc/rpmrc:~/.rpmrc";
+static const char *defrcfiles = LIBRPMRC_FILENAME ":" VENDORRPMRC_FILENAME ":/etc/rpmrc:~/.rpmrc";
/*@observer@*/ /*@checked@*/
const char * macrofiles = MACROFILES;