From 3a085a2a64d372f87e4af379fd760bb574f57871 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 19 Aug 2014 21:11:16 +0200 Subject: 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 Signed-off-by: Thorsten Glaser Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/sparc/pipe.S | 2 -- 1 file changed, 2 deletions(-) (limited to 'libc') 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 @@ -34,8 +34,6 @@ pipe: /* sanity check arguments */ tst %i0 - be .Lerror - orcc %i1,%g0,%o1 be .Lerror mov %i2,%o0 -- cgit v1.2.3