* configure.in: Fix db3 compilation on Linux
+ * libatalk/cnid/cnid_get.c: Fix another potential deadlock problem by
+ replacing EAGAIN with DB_LOCK_DEADLOCK
+
2001-09-21 joe c <marcus@marcuscom.com>
* etc/afpd/desktop.c: Re-enable codepage translations (thanks to
/*
- * $Id: cnid_get.c,v 1.6 2001-09-21 15:09:54 jmarcus Exp $
+ * $Id: cnid_get.c,v 1.7 2001-09-22 07:12:10 jmarcus Exp $
*/
#ifdef HAVE_CONFIG_H
while ((rc = db->db_didname->get(db->db_didname, NULL,
&key, &data, 0))) {
- if (rc == EAGAIN)
+ if (rc == DB_LOCK_DEADLOCK)
continue;
if (rc != DB_NOTFOUND)