[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/4] grep: don't say "write error" over and over
From: |
Jaroslav Skarvada |
Subject: |
Re: [PATCH 1/4] grep: don't say "write error" over and over |
Date: |
Mon, 13 Feb 2012 02:59:38 -0500 (EST) |
I still have problem with the epipe test if the SIGPIPE
patch is not applied - it ends in infinite loop.
The following works for me in both cases:
diff --git a/tests/epipe b/tests/epipe
--- a/tests/epipe
+++ b/tests/epipe
@@ -6,7 +6,7 @@
if
(
- while ls -al; do :; done 3>&- |
+ ${AWK-awk} 'BEGIN { for (x=0; x<1000000; x++) print x; }' 3>&- |
(trap '' PIPE; exec grep . 2>&3 3>&-) |
:
) 3>&1 | (