diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2010-06-18 11:33:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2010-06-18 11:33:00 -0700 |
commit | e8f79c1f5de7ecaf1249ee36813abd2558cacf08 (patch) | |
tree | cabeaa809a3156583c63b4d68329e5ae5cc2f91d | |
parent | 04ed4a1c888309dc3af3fbeb0a32eb91b3733f23 (diff) | |
parent | c6b5cd8d76bdcc046295721d117eae0529aecfc1 (diff) | |
download | bionic-e8f79c1f5de7ecaf1249ee36813abd2558cacf08.zip bionic-e8f79c1f5de7ecaf1249ee36813abd2558cacf08.tar.gz bionic-e8f79c1f5de7ecaf1249ee36813abd2558cacf08.tar.bz2 |
merge from open-source master
Change-Id: I408b5705b18d9e93e66bfbfeec0e3baefd618dec
-rw-r--r-- | libc/unistd/sysconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index d3089a4..dedc5bc 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -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; |