From: Herbert Xu Date: Sun, 01 May 2005 12:07:31 GMT Subject: Re: How to get bash to shut up about SIGPIPE? Message-ID: In-Reply-To: <20050428202739.GE30308@mythryan2.michonline.com> Ryan Anderson wrote: > On Thu, Apr 28, 2005 at 12:21:26PM -0700, Linus Torvalds wrote: > >> Defining "DONT_REPORT_SIGPIPE" in config-top.h when building bash gets rid >> of it, but I really don't want to rebuild bash just because of this ;) > > Debian's bash seems to have that set, so it's a bit hard for me to test This issue has been around for years. The discussion that led to Debian setting this option may be helpful in understanding it: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10494 A brief time line: 11 Jun 1997 The issue was reported to Debian. 20 Nov 1999 Chet Ramey remarks that bash's default will not change. 4 Sep 2004 Debian sets DONT_REPORT_SIGPIPE. Chet Ramey claims that setting DONT_REPORT_SIGPIPE by default would make bash incompatible with every other shell out there. Interestingly, all the non-bash shells that I've tried disagree with him. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt