diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-08-19 21:11:16 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-20 10:08:33 +0200 |
commit | 3a085a2a64d372f87e4af379fd760bb574f57871 (patch) | |
tree | d7a88b1af276775c373f70ad20a2c488431e64e6 /libc | |
parent | 94246e65e20b5390d53858447526b231ef1afd67 (diff) |
fix for pipe() on sparc
When using something like this:
$ echo foo|grep foo|wc -l
with mksh shell, you get an runtime error.
Glibc and klibc does not do these extra check.
After removing this check using double pipes work fine.
Tested with Qemu 2.1.0.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/sparc/pipe.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sparc/pipe.S b/libc/sysdeps/linux/sparc/pipe.S index 09ef32221..b085fafec 100644 --- a/libc/sysdeps/linux/sparc/pipe.S +++ b/libc/sysdeps/linux/sparc/pipe.S @@ -35,8 +35,6 @@ pipe: /* sanity check arguments */ tst %i0 be .Lerror - orcc %i1,%g0,%o1 - be .Lerror mov %i2,%o0 /* Do the system call */ |