Bläddra i källkod

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>
Waldemar Brodkorb 11 år sedan
förälder
incheckning
3a085a2a64
1 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0 2
      libc/sysdeps/linux/sparc/pipe.S

+ 0 - 2
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