summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-03-29 16:22:13 -1000
committerSam Bingner <sam@bingner.com>2019-03-29 16:39:14 -1000
commit06ef0d89ea57d333861c065c8c2870f3aa67b31b (patch)
tree9fcb18a5b2dd3873cbf2a69278958dcfdabfc131
parentf420962cfa66e1cba88f7e0b67de5f081b425ef5 (diff)
Update zsh
-rw-r--r--data/zsh/_metadata/version2
-rw-r--r--data/zsh/shebang.diff19
-rw-r--r--data/zsh/zsh-5.5.1.tar.xzbin3052832 -> 0 bytes
-rw-r--r--data/zsh/zsh-5.7.1.tar.xzbin0 -> 3126308 bytes
4 files changed, 15 insertions, 6 deletions
diff --git a/data/zsh/_metadata/version b/data/zsh/_metadata/version
index 7acd1cb0e..64ff7ded7 100644
--- a/data/zsh/_metadata/version
+++ b/data/zsh/_metadata/version
@@ -1 +1 @@
-5.5.1
+5.7.1
diff --git a/data/zsh/shebang.diff b/data/zsh/shebang.diff
index 84e9c9d1d..21d2d4e75 100644
--- a/data/zsh/shebang.diff
+++ b/data/zsh/shebang.diff
@@ -1,12 +1,21 @@
-diff -ur zsh-4.3.10/Src/exec.c zsh-4.3.10+iPhone/Src/exec.c
---- zsh-4.3.10/Src/exec.c 2009-03-16 08:27:07.000000000 -1000
-+++ zsh-4.3.10+iPhone/Src/exec.c 2018-09-06 13:51:01.000000000 -1000
-@@ -425,7 +425,7 @@
+diff -ur zsh-5.7.1/Src/exec.c zsh-5.7.1+iPhone/Src/exec.c
+--- zsh-5.7.1/Src/exec.c 2019-01-31 14:37:34.000000000 -1000
++++ zsh-5.7.1+iPhone/Src/exec.c 2019-03-29 16:26:28.000000000 -1000
+@@ -492,7 +492,7 @@
* then check for an errno equal to ENOEXEC. This errno is set *
* if the process file has the appropriate access permission, *
* but has an invalid magic number in its header. */
- if ((eno = errno) == ENOEXEC || eno == ENOENT) {
-+ if ((eno = errno) == ENOEXEC || (eno = errno) == EPERM || eno == ENOENT) {
++ if ((eno = errno) == ENOEXEC || eno == ENOENT || eno == EPERM) {
char execvebuf[POUNDBANGLIMIT + 1], *ptr, *ptr2, *argv0;
int fd, ct, t0;
+@@ -546,7 +546,7 @@
+ execve(ptr2, argv - 1, newenvp);
+ }
+ }
+- } else if (eno == ENOEXEC) {
++ } else if (eno == ENOEXEC || eno == EPERM) {
+ for (t0 = 0; t0 != ct; t0++)
+ if (!execvebuf[t0])
+ break;
diff --git a/data/zsh/zsh-5.5.1.tar.xz b/data/zsh/zsh-5.5.1.tar.xz
deleted file mode 100644
index 9fa5afd97..000000000
--- a/data/zsh/zsh-5.5.1.tar.xz
+++ /dev/null
Binary files differ
diff --git a/data/zsh/zsh-5.7.1.tar.xz b/data/zsh/zsh-5.7.1.tar.xz
new file mode 100644
index 000000000..321d9a34e
--- /dev/null
+++ b/data/zsh/zsh-5.7.1.tar.xz
Binary files differ