Merge "Fix for incorrect reply from sysconf(_SC_NPROCESSORS_ONLN)"

This commit is contained in:
David Turner 2010-06-16 17:36:32 -07:00 committed by Android Code Review
commit c6b5cd8d76

View File

@ -317,7 +317,7 @@ line_parser_addc( LineParser* p, int c )
static int
line_parser_getc( LineParser* p )
{
if (p->in_len >= p->in_pos) {
if (p->in_pos >= p->in_len) {
int ret;
p->in_len = p->in_pos = 0;