d963c8ed8a
the remaining length of the buffer to use with the modified db_symstr() interface. Also, convert to using snprintf() via some local macros appending to the result buffer.