build: fix a few warnings.
cursor: check for failure in _more().