diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-24 09:13:43 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-02-24 09:13:43 +0100 |
commit | a080cc0ff48ad2f4ead2aa7a9932323379f6a37d (patch) | |
tree | b3513287e1c54b68c614405d5f4148e6b3046415 /package/busybox/busybox-1.16.0-ash.patch | |
parent | f4f157041eb53f674d21d9a323f7245bc14fd844 (diff) | |
download | buildroot-novena-a080cc0ff48ad2f4ead2aa7a9932323379f6a37d.tar.gz buildroot-novena-a080cc0ff48ad2f4ead2aa7a9932323379f6a37d.zip |
busybox: add 1.16.0 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.16.0-ash.patch')
-rw-r--r-- | package/busybox/busybox-1.16.0-ash.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.16.0-ash.patch b/package/busybox/busybox-1.16.0-ash.patch new file mode 100644 index 000000000..490cf83df --- /dev/null +++ b/package/busybox/busybox-1.16.0-ash.patch @@ -0,0 +1,35 @@ +diff -urpN busybox-1.16.0/shell/ash.c busybox-1.16.0-ash/shell/ash.c +--- busybox-1.16.0/shell/ash.c 2010-01-25 01:59:38.000000000 +0100 ++++ busybox-1.16.0-ash/shell/ash.c 2010-02-21 01:52:22.000000000 +0100 +@@ -4539,7 +4539,7 @@ forkchild(struct job *jp, union node *n, + if (mode == FORK_NOJOB /* is it `xxx` ? */ + && n && n->type == NCMD /* is it single cmd? */ + /* && n->ncmd.args->type == NARG - always true? */ +- && strcmp(n->ncmd.args->narg.text, "trap") == 0 ++ && n->ncmd.args && strcmp(n->ncmd.args->narg.text, "trap") == 0 + && n->ncmd.args->narg.next == NULL /* "trap" with no arguments */ + /* && n->ncmd.args->narg.backquote == NULL - do we need to check this? */ + ) { +@@ -4627,7 +4627,7 @@ forkchild(struct job *jp, union node *n, + } + #if JOBS + if (n && n->type == NCMD +- && strcmp(n->ncmd.args->narg.text, "jobs") == 0 ++ && n->ncmd.args && strcmp(n->ncmd.args->narg.text, "jobs") == 0 + ) { + TRACE(("Job hack\n")); + /* "jobs": we do not want to clear job list for it, +diff -urpN busybox-1.16.0/shell/ash_test/ash-misc/nulltick1.right busybox-1.16.0-ash/shell/ash_test/ash-misc/nulltick1.right +--- busybox-1.16.0/shell/ash_test/ash-misc/nulltick1.right 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.16.0-ash/shell/ash_test/ash-misc/nulltick1.right 2010-02-21 01:52:22.000000000 +0100 +@@ -0,0 +1,3 @@ ++Test 1 ++Test 2 ++Done +diff -urpN busybox-1.16.0/shell/ash_test/ash-misc/nulltick1.tests busybox-1.16.0-ash/shell/ash_test/ash-misc/nulltick1.tests +--- busybox-1.16.0/shell/ash_test/ash-misc/nulltick1.tests 1970-01-01 01:00:00.000000000 +0100 ++++ busybox-1.16.0-ash/shell/ash_test/ash-misc/nulltick1.tests 2010-02-21 01:52:22.000000000 +0100 +@@ -0,0 +1,3 @@ ++echo Test ` ` 1 ++echo Test `</dev/null` 2 ++echo Done |