summaryrefslogtreecommitdiff
path: root/libbb/last_char_is.c
AgeCommit message (Collapse)Author
2001-04-26Another nice cleanup from Larry. This adds a new last_char_is() function andEric Andersen
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the possible space-hogging inline of strlen() in several cases. -Erik