Le lundi 14 décembre 2009 13:19, Bert Wesarg a écrit : > On Mon, Dec 14, 2009 at 11:57, Jean Delvare <[email protected]> wrote: > > Hi Bert, > > > > Your new pager code in quilt seems to cause trouble. Running "quilt > > annotate" on a relatively large file and searching for specific > > strings causes the following error messages: > > > > /opt/quilt/share/quilt/annotate: line 81: echo: write error: Bad file > > descriptor > > /opt/quilt/share/quilt/annotate: line 174: echo: write error: Bad file > > descriptor > > /opt/quilt/share/quilt/annotate: line 177: echo: write error: Bad file > > descriptor > The problem shows up, if you quit the pager before quilt has finished > with its output. The pipe brakes and stdout points to nowhere. I'm > currently unsure how to fix this.
Catch SIGPIPE (which I presume you receive in that case) and end quilt when you receive it? -- Jean Delvare Suse L3 _______________________________________________ Quilt-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/quilt-dev
