From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.163]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 41be13da for ; Sat, 7 Nov 2015 17:15:20 -0500 (EST) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQuEfXeSt/nWoxdY2dvuAIbsw5PvjGQjhXhvF+2y5skp9poAHtmlBymoI0K8fJw== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (p20030057E21B0F04D49C3C7CAF3F6021.dip0.t-ipconnect.de [IPv6:2003:57:e21b:f04:d49c:3c7c:af3f:6021]) by smtp.strato.de (RZmta 37.14 AUTH) with ESMTPSA id Y05a28rA7MFJX8o (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 7 Nov 2015 23:15:19 +0100 (CET) Date: Sat, 7 Nov 2015 23:15:18 +0100 From: Joerg Sonnenberger To: discuss@mdocml.bsd.lv Subject: Re: mdocml: The sh(1) "test" builtin on Solaris 10 doesn't have -e, even Message-ID: <20151107221518.GA11925@britannica.bec.de> References: <1783826185453982422.enqueue@fantadrom.bsd.lv> <20151107214656.GA30551@britannica.bec.de> <20151107220725.GH10393@athene.usta.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151107220725.GH10393@athene.usta.de> User-Agent: Mutt/1.5.24 (2015-08-30) On Sat, Nov 07, 2015 at 11:07:26PM +0100, Ingo Schwarze wrote: > Hi Joerg, > > Joerg Sonnenberger wrote on Sat, Nov 07, 2015 at 10:46:56PM +0100: > > On Sat, Nov 07, 2015 at 04:31:52PM -0500, schwarze@mdocml.bsd.lv wrote: > > >> Log Message: > >> ----------- > >> The sh(1) "test" builtin on Solaris 10 doesn't have -e, > >> even though that's required by POSIX. > >> Use -w and -r, that's just as good. > > > /bin/sh on Solaris 10 is simply broken, I don't think we should try to > > workaround it... > > You mean, we should tell people to just run ./configure as > > /usr/bin/ksh ./configure > > on Solaris 10? Maybe... > > You are certainly right that we shouldn't make things complicated > trying to work around broken shells. > > This particular change doesn't do any harm elsewhere, though, and > it doesn't add a single byte to the code, so i don't think i need > to revert it. That or IIRC the xpg4 version they have around, which is nowhere near as broken. The commit just seems to make things less readable. Joerg -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv