aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox/busybox-1.18.2-wget.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/busybox/busybox-1.18.2-wget.patch')
-rw-r--r--main/busybox/busybox-1.18.2-wget.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/busybox/busybox-1.18.2-wget.patch b/main/busybox/busybox-1.18.2-wget.patch
deleted file mode 100644
index 8c28eea65e..0000000000
--- a/main/busybox/busybox-1.18.2-wget.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- busybox-1.18.2/networking/wget.c
-+++ busybox-1.18.2.mod/networking/wget.c
-@@ -137,7 +137,7 @@
- ret = fread(p, 1, nmemb, stream);
- p += ret;
- nmemb -= ret;
-- } while (nmemb && ferror(stream) && errno == EINTR);
-+ } while (nmemb && ferror(stream) && (errno == EINTR || errno == EAGAIN));
-
- return p - (char*)ptr;
- }
-@@ -152,7 +152,7 @@
- clearerr(stream);
- errno = 0;
- ret = fgets(s, size, stream);
-- } while (ret == NULL && ferror(stream) && errno == EINTR);
-+ } while (ret == NULL && ferror(stream) && (errno == EINTR || errno == EAGAIN));
-
- return ret;
- }