bug-libtool
[Top][All Lists]
Advanced

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

FYI: Ignoring SIGPIPE in libtoolize


From: Ralf Wildenhues
Subject: FYI: Ignoring SIGPIPE in libtoolize
Date: Thu, 18 May 2006 18:34:55 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hi Behdad,

* Behdad Esfahbod wrote on Wed, Apr 05, 2006 at 10:39:30AM CEST:
> On Wed, 5 Apr 2006, Ralf Wildenhues wrote:
> > * Behdad Esfahbod wrote on Wed, Apr 05, 2006 at 08:25:41AM CEST:
> > >
> > > In GNOME project, we have severl machines running as tinderboxes,
> > > continuously building all our modules from CVS.  In a lot of logs
> > > from these builds I'm seeing these lines:
> > >
> > > /usr/bin/libtoolize: line 93: echo: write error: Broken pipe
> > > /usr/bin/libtoolize: line 94: echo: write error: Broken pipe

> > Well, I guess the simplest way around it would be to not trigger several
> > writes.  How about this instead?

> Yes, that should fix it, but as I said I cannot test it.

I've applied this to branch-1-5.  HEAD should be fine already.
Sorry for the huge delay.

Cheers,
Ralf

        * libtoolize.in: Use just one `echo' for `--version' output
        instead of several `echo', to avoid `Broken pipe' errors.
        Reported by Behdad Esfahbod <address@hidden>.

Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.127
diff -u -r1.334.2.127 ltmain.in
--- ltmain.in   18 May 2006 06:52:54 -0000      1.334.2.127
+++ ltmain.in   18 May 2006 16:30:29 -0000
@@ -482,11 +482,13 @@
     ;;
 
   --version)
-    $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
-    $echo
-    $echo "Copyright (C) 2006  Free Software Foundation, Inc."
-    $echo "This is free software; see the source for copying conditions.  
There is NO"
-    $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE."
+    echo "\
+
+$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
+
+Copyright (C) 2006  Free Software Foundation, Inc.
+This is free software; see the source for copying conditions.  There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
     exit $?
     ;;
 




reply via email to

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