Home
last modified time | relevance | path

Searched refs:errTxt (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython2/Modules/
D_bsddb.c651 char errTxt[2048]; /* really big, just in case... */ in makeDBError() local
707 bytes_left = our_strlcpy(errTxt, db_strerror(err), sizeof(errTxt)); in makeDBError()
709 if (_db_errmsg[0] && bytes_left < (sizeof(errTxt) - 4)) { in makeDBError()
710 bytes_left = sizeof(errTxt) - bytes_left - 4 - 1; in makeDBError()
712 strcat(errTxt, " -- "); in makeDBError()
713 strncat(errTxt, _db_errmsg, bytes_left); in makeDBError()
717 errTuple = Py_BuildValue("(is)", err, errTxt); in makeDBError()