Mail Archives: cygwin/2010/04/21/22:46:16
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=-0.9 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_MK,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
|
X-Spam-Check-By: | sourceware.org
|
Message-ID: | <28323655.post@talk.nabble.com>
|
Date: | Wed, 21 Apr 2010 19:44:46 -0700 (PDT)
|
From: | "will.dutt" <will DOT dutt AT gmail DOT com>
|
To: | cygwin AT cygwin DOT com
|
Subject: | Re: CygWin-1.7.3-1 fails to provide pipe. (merge back into trunk please)
|
In-Reply-To: | <4BCFAA76.3020104@cygwin.com>
|
MIME-Version: | 1.0
|
References: | <4B30AD0BED19E842AAE88DC3973649312411601388 AT mail3 DOT walsh DOT edu> <20100406141508 DOT GD16409 AT ednor DOT casa DOT cgf DOT cx> <4BBB4EE4 DOT 9080508 AT gmail DOT com> <20100406150121 DOT GE16409 AT ednor DOT casa DOT cgf DOT cx> <20100406164537 DOT GA19024 AT ednor DOT casa DOT cgf DOT cx> <28323001 DOT post AT talk DOT nabble DOT com> <4BCFAA76 DOT 3020104 AT cygwin DOT com>
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
my mistake, so i've done some more testing and found another bug to do with
fifo, i thought this patch had corrected.
i get this error from tee.
tee: read error: Communication error on send
at
exec 3>&1 4>&2
tee $OUTPUT_LOG < $OUTPUT_PIPE >&3 &
regards william d.
p.s. Here is my test script
#!/bin/bash
OUTPUT_LOG=output.log
OUTPUT_PIPE=output.pipe
if [ ! -e $OUTPUT_PIPE ]; then
mkfifo $OUTPUT_PIPE
fi
if [ -e $OUTPUT_LOG ]; then
rm $OUTPUT_LOG
fi
exec 3>&1 4>&2
tee $OUTPUT_LOG < $OUTPUT_PIPE >&3 &
tpid=$!
exec > $OUTPUT_PIPE 2>&1
echo "This is on standard out"
echo "This is on standard err" >&2
exec 1>&3 3>&- 2>&4 4>&-
wait $tpid
rm $OUTPUT_PIPE
#Read more: http://www.travishartwell.net/blog/2006/08/19_2220#ixzz0lDjWKVfj
Larry Hall (Cygwin) wrote:
>
> On 4/21/2010 8:42 PM, will.dutt wrote:
>> Christopher Faylor-8 wrote:
>>> On Tue, Apr 06, 2010 at 11:01:21AM -0400, Christopher Faylor wrote:
>>>> On Tue, Apr 06, 2010 at 04:10:28PM +0100, Dave Korn wrote:
>>>>> On 06/04/2010 15:15, Christopher Faylor wrote:
>>>>>> On Tue, Apr 06, 2010 at 07:55:19AM -0400, George Barrick wrote:
>>>
>>>> Thanks for tracking it down but the test case is probably simpler than
>> this.
>>>>
>>>> $ mkfifo /tmp/fifo
>>>> $ cat /tmp/fifo
>>>>
>>>> That demonstrates the problem. I'll fix this ASAP.
>>>
>>> This should be fixed in the latest snapshot:
>>>
>>> http://cygwin.com/snapshots/
>>
>> when will this snapshot be incorporated back into cygwin, i also rely on
>> fifo working and for my latest 1.7.x install i had to source this
>> snapshot > to get it working.
>
> <http://cygwin.com/ml/cygwin-announce/2010-04/msg00005.html>
>
> Watch the announce list when you're looking for new releases. In your
> case,
> there was a release the next day with the fix. There's also been another
> release since then.
>
> --
> Larry Hall http://www.rfk.com
> RFK Partners, Inc. (508) 893-9779 - RFK Office
> 216 Dalton Rd. (508) 893-9889 - FAX
> Holliston, MA 01746
>
> _____________________________________________________________________
>
> A: Yes.
>> Q: Are you sure?
>>> A: Because it reverses the logical flow of conversation.
>>>> Q: Why is top posting annoying in email?
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
>
--
View this message in context: http://old.nabble.com/CygWin-1.7.3-1-fails-to-provide-pipe.-tp28150744p28323655.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -