blob: 4b5cb66e39b6a7851fd020942c4deb2a4d7be2c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 */
|