diff options
author | Denis Vlasenko | 2007-01-12 22:10:34 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-01-12 22:10:34 +0000 |
commit | 3a34d0c08a77ee48edc3f4353cc49b95aba85c2f (patch) | |
tree | 09708579e18a033c6722c5194c46116705f47b83 /libbb/read.c | |
parent | 21b080daa8c180a43d10d6b3dee47134ef21e581 (diff) | |
download | busybox-3a34d0c08a77ee48edc3f4353cc49b95aba85c2f.zip busybox-3a34d0c08a77ee48edc3f4353cc49b95aba85c2f.tar.gz |
random small size optimizations
Diffstat (limited to 'libbb/read.c')
-rw-r--r-- | libbb/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ char *reads(int fd, char *buffer, size_t size) *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; } |