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 /editors | |
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 'editors')
-rw-r--r-- | editors/patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/patch.c b/editors/patch.c index a90252a03..6d3f319b0 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -239,7 +239,7 @@ static int apply_one_hunk(void) | |||
239 | plist = TT.current_hunk; | 239 | plist = TT.current_hunk; |
240 | buf = NULL; | 240 | buf = NULL; |
241 | if (reverse ? TT.oldlen : TT.newlen) for (;;) { | 241 | if (reverse ? TT.oldlen : TT.newlen) for (;;) { |
242 | char *data = xmalloc_reads(TT.filein, NULL, NULL); | 242 | char *data = xmalloc_reads(TT.filein, NULL); |
243 | 243 | ||
244 | TT.linenum++; | 244 | TT.linenum++; |
245 | 245 | ||