summaryrefslogtreecommitdiff
path: root/data/tcsh/shebang.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-03-29 23:57:11 -1000
committerSam Bingner <sam@bingner.com>2019-03-29 23:57:11 -1000
commit75c2158d2a7b1ae2def3c5b31dbbf33148225902 (patch)
treecd868b1d46da40694b742966a1e3b65acdcc8073 /data/tcsh/shebang.diff
parent06ef0d89ea57d333861c065c8c2870f3aa67b31b (diff)
Make dpkg exec smarter; Update bash, tcsh, and zsh
Diffstat (limited to 'data/tcsh/shebang.diff')
-rw-r--r--data/tcsh/shebang.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/tcsh/shebang.diff b/data/tcsh/shebang.diff
new file mode 100644
index 000000000..4b5cb66e3
--- /dev/null
+++ b/data/tcsh/shebang.diff
@@ -0,0 +1,21 @@
+diff -ur tcsh-TCSH6_20_00/config/mach tcsh-TCSH6_20_00+iPhone/config/mach
+--- tcsh-TCSH6_20_00/config/bsd4.4 2016-11-24 05:26:18.000000000 -1000
++++ tcsh-TCSH6_20_00+iPhone/config/bsd4.4 2019-03-29 18:15:08.000000000 -1000
+@@ -95,4 +95,6 @@
+ # define _TERMIOS_H_
+ #endif /* __NeXT31__ && !POSIX */
+
++#define HASHBANG
++
+ #endif /* _h_config */
+diff -ur tcsh-TCSH6_20_00/sh.exec.c tcsh-TCSH6_20_00+iPhone/sh.exec.c
+--- tcsh-TCSH6_20_00/sh.exec.c 2016-11-24 05:26:18.000000000 -1000
++++ tcsh-TCSH6_20_00+iPhone/sh.exec.c 2019-03-29 18:14:16.000000000 -1000
+@@ -401,6 +401,7 @@
+ switch (errno) {
+
+ case ENOEXEC:
++ case EPERM:
+ #ifdef WINNT_NATIVE
+ nt_feed_to_cmd(f,t);
+ #endif /* WINNT_NATIVE */