From 4fc736ab5a1b4806ea97cc8b345b4a8551f877c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 13 Jan 2006 14:25:32 +0000 Subject: [PATCH] Don't use db support unless its build into libc but we dont check for that now, so just disable the code. This removes the dependency on libdb for roken, and that is a good thing since it causes problem with nss plugins that uses DB3 that also provides the same symbol, but with a diffrent ABI. so when the application calls getpwnamn() and it linked to roken, it craches in the nss functions. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16561 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/getcap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/roken/getcap.c b/lib/roken/getcap.c index 016a48530..c9938b54b 100644 --- a/lib/roken/getcap.c +++ b/lib/roken/getcap.c @@ -69,9 +69,14 @@ static size_t topreclen; /* toprec length */ static char *toprec; /* Additional record specified by cgetset() */ static int gottoprec; /* Flag indicating retrieval of toprecord */ +#if 0 /* + * Don't use db support unless its build into libc but we dont + * check for that now, so just disable the code. + */ #if defined(HAVE_DBOPEN) && defined(HAVE_DB_H) #define USE_DB #endif +#endif #ifdef USE_DB static int cdbget (DB *, char **, const char *);