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
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user