quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Quilt-dev] workaround "received broken pipe signal" bash bug (was [


From: Andreas Gruenbacher
Subject: Re: [Quilt-dev] workaround "received broken pipe signal" bash bug (was [patch 2/8])
Date: Wed, 14 Sep 2005 15:17:51 +0200
User-agent: KMail/1.8

On Wednesday 14 September 2005 14:55, Gary V. Vaughan wrote:
> It's not just Apple's bash :-(  Here is a different workaround that
> might be less contentious (my mailer will almost certainly wrap long
> lines, so you'll need to apply by hand):
>
> Index: quilt-HEAD/scripts/patchfns.in
> ===================================================================
> --- quilt-HEAD.orig/scripts/patchfns.in
> +++ quilt-HEAD/scripts/patchfns.in
> @@ -607,7 +607,8 @@ patch_header()
>   {
>          @AWK@ '
>          $1 == "***" || $1 == "---" \
> -               { exit }
> +               { stop=1 }
> +       stop    { next }
>          /^Index:[ \t]|^diff[ \t]|^==*$|^RCS file: |^retrieving revision
> [0-9]+(\.[0-9]+)*$/ \
>                  { eat = eat $0 "\n"
>                    next }

No way, sorry. We'd need fixes like this all over the place, and reading 
everything would slow quilt down noticably. Reading part of the output of the 
previous process in a pipe and then exiting is such a common and useful 
concept, we really do want to keep using it.

-- Andreas.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]