quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [patch 2/8]


From: gary
Subject: [Quilt-dev] [patch 2/8]
Date: Tue, 13 Sep 2005 22:25:48 +0100

Unless compiled specially just to avoid it, bash gives an occasional
disconcerting (but spurious) warning when a process at the receiving
side of a shell pipe closes before the sender has flushed all of its
data.  `quilt refresh' is particularly prone.

This patch simply redirects stderr to /dev/null in the one instance
that seems to be the root of the problem, and thus saves the bother
of recompiling bash.

 quilt/refresh.in |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: quilt-HEAD/quilt/refresh.in
===================================================================
--- quilt-HEAD.orig/quilt/refresh.in
+++ quilt-HEAD/quilt/refresh.in
@@ -247,7 +247,7 @@ fi
 
 mkdir -p $(dirname $patch_file)
 
-if ! cat_file $patch_file | patch_header > $tmp_header
+if ! cat_file $patch_file 2>/dev/null | patch_header > $tmp_header
 then
        die 1
 fi

--
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook




reply via email to

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