[git commit] fix for pipe() on sparc
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Wed Aug 20 08:08:33 UTC 2014
commit: http://git.uclibc.org/uClibc/commit/?id=3a085a2a64d372f87e4af379fd760bb574f57871
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
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 at openadk.org>
Signed-off-by: Thorsten Glaser <tg at mirbsd.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
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 09ef322..b085faf 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 */
More information about the uClibc-cvs
mailing list