strbuf.h: use BUG(...) not die("BUG: ...")