commit | 3a34d0c08a77ee48edc3f4353cc49b95aba85c2f | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Fri Jan 12 22:10:34 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Fri Jan 12 22:10:34 2007 +0000 |
tree | 09708579e18a033c6722c5194c46116705f47b83 | |
parent | 21b080daa8c180a43d10d6b3dee47134ef21e581 [diff] [blame] |
random small size optimizations
diff --git a/libbb/read.c b/libbb/read.c index 50e0354..861828d 100644 --- a/libbb/read.c +++ b/libbb/read.c
@@ -88,7 +88,7 @@ *p++ = '\0'; // avoid incorrect (unsigned) widening offset = (off_t)(p-buffer) - (off_t)size; - // set fd position the right after the \n + // set fd position right after '\n' if (offset && lseek(fd, offset, SEEK_CUR) == (off_t)-1) return NULL; }