to "trynum" because some systems (*cough*Tru64*cough*) turn on some
exception handling support when thread support is enabled.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16572
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-07-09 Ken Raeburn <raeburn@mit.edu>
+
+ * kdb_db2.c (krb5_db2_db_get_principal): Rename local variable
+ "try" to "trynum" because some systems (*cough*Tru64*cough*) turn
+ on some exception handling support when thread support is
+ enabled.
+
2004-06-04 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (LIBBASE): Renamed from LIB.
DB *db;
DBT key, contents;
krb5_data keydata, contdata;
- int try, dbret;
+ int trynum, dbret;
*more = FALSE;
*nentries = 0;
return KRB5_KDB_DBNOTINITED;
db_ctx = (krb5_db2_context *) context->db_context;
- for (try = 0; try < KRB5_DB2_MAX_RETRY; try++) {
+ for (trynum = 0; trynum < KRB5_DB2_MAX_RETRY; trynum++) {
if ((retval = krb5_db2_db_lock(context, KRB5_LOCKMODE_SHARED))) {
if (db_ctx->db_nb_locks)
return(retval);
}
break;
}
- if (try == KRB5_DB2_MAX_RETRY)
+ if (trynum == KRB5_DB2_MAX_RETRY)
return KRB5_KDB_DB_INUSE;
/* XXX deal with wildcard lookups */