discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: discuss@mdocml.bsd.lv
Subject: Re: mdocml: The sh(1) "test" builtin on Solaris 10 doesn't have -e, even
Date: Sat, 7 Nov 2015 23:15:18 +0100	[thread overview]
Message-ID: <20151107221518.GA11925@britannica.bec.de> (raw)
In-Reply-To: <20151107220725.GH10393@athene.usta.de>

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

      reply	other threads:[~2015-11-07 22:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1783826185453982422.enqueue@fantadrom.bsd.lv>
2015-11-07 21:46 ` Joerg Sonnenberger
2015-11-07 22:07   ` Ingo Schwarze
2015-11-07 22:15     ` Joerg Sonnenberger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151107221518.GA11925@britannica.bec.de \
    --to=joerg@britannica.bec.de \
    --cc=discuss@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).