diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-08 21:21:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-08 21:21:10 +0200 |
commit | 80c5b6893d4708b3683ad9a51c990a326a8f1dff (patch) | |
tree | 0c4c3192e77e6afa1a1d47e750a0840d3a4ca60e /shell/shell_common.c | |
parent | b8709032a3fb57b3ec536bdf9b92b526ed63b995 (diff) | |
download | busybox-w32-80c5b6893d4708b3683ad9a51c990a326a8f1dff.tar.gz busybox-w32-80c5b6893d4708b3683ad9a51c990a326a8f1dff.tar.bz2 busybox-w32-80c5b6893d4708b3683ad9a51c990a326a8f1dff.zip |
libbb: nonblock_safe_read->nonblock_immune_read, remove unused param of xmalloc_reads
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r-- | shell/shell_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c index 68659abd3..86a6493ed 100644 --- a/shell/shell_common.c +++ b/shell/shell_common.c | |||
@@ -170,7 +170,7 @@ shell_builtin_read(void FAST_FUNC (*setvar)(const char *name, const char *val), | |||
170 | 170 | ||
171 | if ((bufpos & 0xff) == 0) | 171 | if ((bufpos & 0xff) == 0) |
172 | buffer = xrealloc(buffer, bufpos + 0x100); | 172 | buffer = xrealloc(buffer, bufpos + 0x100); |
173 | if (nonblock_safe_read(fd, &buffer[bufpos], 1) != 1) { | 173 | if (nonblock_immune_read(fd, &buffer[bufpos], 1) != 1) { |
174 | retval = (const char *)(uintptr_t)1; | 174 | retval = (const char *)(uintptr_t)1; |
175 | break; | 175 | break; |
176 | } | 176 | } |