--- /dev/null
+Various bits of what is known about busybox shells, in no particular order.
+
+2007-04-14
+lash, hush: both do setsid() and as a result don't have ctty!
+Ctrl-C doesn't work for any child (try rm -i), etc...
+lash: bare ">file" doesn't create a file (hush works)
static struct op *namelist(struct op *t)
{
-
DBGPRINTF7(("NAMELIST: enter, t=%p, type %s, iolist=%p\n", t,
T_CMD_NAMES[t->type], iolist));
};
- broken:
+ broken:
t->words = wp2;
isbreak = 0;
freehere(areanum);
typedef int (*builtin_func_ptr)(struct op *);
-static builtin_func_ptr inbuilt(const char *s) {
+static builtin_func_ptr inbuilt(const char *s)
+{
const struct builtincmd *bp;
for (bp = builtincmds; bp->name; bp++)
if (strcmp(bp->name, s) == 0)
return bp->builtinfunc;
-
return NULL;
}
return wb;
}
-static
-char **getwords(struct wdblock *wb)
+static char **getwords(struct wdblock *wb)
{
char **wd;
int nb;