ksh/ksh-20070328-builtins.patch
Michal Hlavinka 472d43e5f5 - disable only known to be broken builtins, let other enabled
- skip regression tests if /dev/fd is missing
2010-10-08 20:20:36 +02:00

33 lines
862 B
Diff

diff -up ksh-20100924/src/cmd/ksh93/data/builtins.c.builtins ksh-20100924/src/cmd/ksh93/data/builtins.c
--- ksh-20100924/src/cmd/ksh93/data/builtins.c.builtins 2010-08-10 20:58:54.000000000 +0200
+++ ksh-20100924/src/cmd/ksh93/data/builtins.c 2010-10-08 18:08:35.118675557 +0200
@@ -125,20 +125,28 @@ const struct shtable3 shtab_builtins[] =
#ifdef SHOPT_CMDLIB_HDR
#include SHOPT_CMDLIB_HDR
#else
+#if 1
CMDLIST(basename)
CMDLIST(chmod)
CMDLIST(dirname)
CMDLIST(getconf)
CMDLIST(head)
+#if 0
+does not work when ACLs are used
CMDLIST(mkdir)
+#endif
CMDLIST(logname)
+#if 1
+//does not work in chrooted environments, because /dev/fd/? is missing
CMDLIST(cat)
+#endif
CMDLIST(cmp)
CMDLIST(cut)
CMDLIST(uname)
CMDLIST(wc)
CMDLIST(sync)
#endif
+#endif
#if SHOPT_REGRESS
"__regress__", NV_BLTIN|BLT_ENV, bltin(__regress__),
#endif