58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
Only in src: FAQ.htm
|
|
diff -u mksh-R59b/funcs.c src/funcs.c
|
|
--- mksh-R59b/funcs.c 2020-05-16 15:38:48.000000000 -0700
|
|
+++ src/funcs.c 2020-05-20 17:14:19.588510856 -0700
|
|
@@ -104,7 +104,9 @@
|
|
{Tsgbreak, c_brkcont},
|
|
{T__builtin, c_builtin},
|
|
{Tbuiltin, c_builtin},
|
|
+#if !defined(__ANDROID__)
|
|
{Tbcat, c_cat},
|
|
+#endif
|
|
{Tcd, c_cd},
|
|
/* dash compatibility hack */
|
|
{"chdir", c_cd},
|
|
@@ -125,7 +127,9 @@
|
|
{"pwd", c_pwd},
|
|
{Tread, c_read},
|
|
{Tdsgreadonly, c_typeset},
|
|
+#if !defined(__ANDROID__)
|
|
{"!realpath", c_realpath},
|
|
+#endif
|
|
{"~rename", c_rename},
|
|
{"*=return", c_exitreturn},
|
|
{Tsghset, c_set},
|
|
@@ -159,8 +163,10 @@
|
|
{"~printf", c_printf},
|
|
#endif
|
|
#if HAVE_SELECT
|
|
+#if !defined(__ANDROID__)
|
|
{"sleep", c_sleep},
|
|
#endif
|
|
+#endif
|
|
#ifdef __MirBSD__
|
|
/* alias to "true" for historical reasons */
|
|
{"domainname", c_true},
|
|
diff -u mksh-R59b/main.c src/main.c
|
|
--- mksh-R59b/main.c 2020-05-16 15:51:51.000000000 -0700
|
|
+++ src/main.c 2020-05-20 17:14:19.588510856 -0700
|
|
@@ -414,6 +414,12 @@
|
|
/* import environment */
|
|
init_environ();
|
|
|
|
+ /* override default PATH regardless of environment */
|
|
+#ifdef MKSH_DEFPATH_OVERRIDE
|
|
+ vp = global(TPATH);
|
|
+ setstr(vp, MKSH_DEFPATH_OVERRIDE, KSH_RETURN_ERROR);
|
|
+#endif
|
|
+
|
|
/* for security */
|
|
typeset(TinitIFS, 0, 0, 0, 0);
|
|
|
|
Only in src: main.c.orig
|
|
Only in src: Rebuild.sh
|
|
Only in src: rlimits.gen
|
|
Only in src: sh_flags.gen
|
|
Only in src: signames.inc
|
|
Only in src: test.sh
|