aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-08-28 23:01:02 +0200
committerJo-Philipp Wich <jo@mein.io>2016-08-28 23:03:13 +0200
commitbba8a1a9ba981d3ddacf88702d079458bd79d08f (patch)
treeeb6c669b4e3b95c8b55a4ff073723ac62e87c3d5 /package
parentd0b88b606754cccb39b536dc921af268a1ef3ee8 (diff)
downloadupstream-bba8a1a9ba981d3ddacf88702d079458bd79d08f.tar.gz
upstream-bba8a1a9ba981d3ddacf88702d079458bd79d08f.tar.bz2
upstream-bba8a1a9ba981d3ddacf88702d079458bd79d08f.zip
Revert "opkg: use vfork on gz_open by default (FS#120)"
This reverts commit 763f5d787316ec1b041450a644ecd9416f11e94f. Currently the vfork() code path in opkg is broken and relies on unsupported ftello() / fseeko() operations on pipes - we need to restructure the code before we can reconsider this approach. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package')
-rw-r--r--package/system/opkg/patches/280-use-vfork.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/system/opkg/patches/280-use-vfork.patch b/package/system/opkg/patches/280-use-vfork.patch
deleted file mode 100644
index 1c46f52b02..0000000000
--- a/package/system/opkg/patches/280-use-vfork.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/libbb/gz_open.c
-+++ b/libbb/gz_open.c
-@@ -29,7 +29,7 @@
- #include <unistd.h>
- #include "libbb.h"
-
--static int gz_use_vfork;
-+static const int gz_use_vfork = 1;
-
- FILE *
- gz_open(FILE *compressed_file, int *pid)
-@@ -38,8 +38,6 @@ gz_open(FILE *compressed_file, int *pid)
- off_t floc;
- int cfile = -1;
-
-- gz_use_vfork = (getenv("OPKG_USE_VFORK") != NULL);
--
- if (gz_use_vfork) {
- /* Create a new file descriptor for the input stream
- * (it *must* be associated with a file), and lseek()