Return to getpwent.c CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / gen |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.2, 1993/04/21 04:21:06 | version 1.3, 1993/04/21 04:26:21 | ||
---|---|---|---|
|
|
||
char *p; | char *p; | ||
p = (geteuid()) ? _PATH_MP_DB : _PATH_SMP_DB; | p = (geteuid()) ? _PATH_MP_DB : _PATH_SMP_DB; | ||
_pw_db = db_open(p, O_RDONLY, 0, DB_HASH, NULL); | _pw_db = dbopen(p, O_RDONLY, 0, DB_HASH, NULL); | ||
if (_pw_db) | if (_pw_db) | ||
return(1); | return(1); | ||
if (!warned) | if (!warned) |