From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [129.13.231.82]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id a2f04245 for ; Sat, 7 Nov 2015 17:07:29 -0500 (EST) Received: from asta-nat.asta.uni-karlsruhe.de ([172.22.63.82] helo=hekate.usta.de) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1ZvBdu-0002uK-Qu; Sat, 07 Nov 2015 23:07:28 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1ZvBdu-0005Uo-Oa; Sat, 07 Nov 2015 23:07:26 +0100 Received: from athene.usta.de ([172.24.96.10]) by donnerwolke.usta.de with esmtp (Exim 4.84) (envelope-from ) id 1ZvBdu-0006MF-2C; Sat, 07 Nov 2015 23:07:26 +0100 Received: from localhost (1031@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id a89225fe; Sat, 7 Nov 2015 23:07:26 +0100 (CET) Date: Sat, 7 Nov 2015 23:07:26 +0100 From: Ingo Schwarze To: Joerg Sonnenberger Cc: discuss@mdocml.bsd.lv Subject: Re: mdocml: The sh(1) "test" builtin on Solaris 10 doesn't have -e, even Message-ID: <20151107220725.GH10393@athene.usta.de> References: <1783826185453982422.enqueue@fantadrom.bsd.lv> <20151107214656.GA30551@britannica.bec.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: <20151107214656.GA30551@britannica.bec.de> User-Agent: Mutt/1.5.23 (2014-03-12) 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. Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv