| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type; q=dns; s=default; b=fc3L | |
| 5Zn5zcQCtPN2cw/Ys7VBotCQGTASd7TlkIsDxoP+52kK5BZ4WqZcUVajnr34aVxm | |
| KtJYBZfYPbDmGUgPw6/6z4rrtzOrpSb2UYy+bnsBolYEqoqMdHQQAr1s31TNZBHH | |
| drmGwqG8r4aRFntfzM5/gV0+VmBleJY6OyCPdrY= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:subject:to:references:from:message-id:date | |
| :mime-version:in-reply-to:content-type; s=default; bh=L3nmsKpvjr | |
| 758+w6ITTNTl+fRXc=; b=Pxz3WKqqwr42xZbdzWysqvAPruR3890Jdp4wLzi9H2 | |
| W9Y106hi9u8XSHG7ihcbUbZWbDMQGFP+LhnzIb/P428GrcFpkQuWUaPkS/5vNrJt | |
| isuNKDi/baww4hjKB7gvJ005q7U73hQ8/lbIw3fas1ua62MDSGKVlsa49aAfToYR | |
| M= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=genmultilib, CentOS, noticeably, frankly |
| X-HELO: | mx1.redhat.com |
| Subject: | Re: How to install a custom permanent postinstall handler? |
| To: | cygwin AT cygwin DOT com |
| References: | <838469265 DOT 20160401235308 AT yandex DOT ru> <87a8lcicxg DOT fsf AT Rainer DOT invalid> <5700975A DOT 3070002 AT cygwin DOT com> <87y48vqkfx DOT fsf AT Rainer DOT invalid> <57015B97 DOT 3010401 AT cygwin DOT com> <1564992119 DOT 20160404020533 AT yandex DOT ru> <57020525 DOT 90909 AT cygwin DOT com> |
| From: | Eric Blake <eblake AT redhat DOT com> |
| Openpgp: | url=http://people.redhat.com/eblake/eblake.gpg |
| Message-ID: | <57027D59.5080509@redhat.com> |
| Date: | Mon, 4 Apr 2016 08:42:33 -0600 |
| User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <57020525.90909@cygwin.com> |
| X-IsSubscribed: | yes |
--IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
On 04/04/2016 12:09 AM, Yaakov Selkowitz wrote:
> On 2016-04-03 18:05, Andrey Repin wrote:
>> Because, within my reach, Cygwin is the only system that not using
>> DASH as
>> /bin/sh. Though, I may try rolling some busybox=E2=80=A6
>=20
> There *is* a world outside of Debian/Ubuntu; Fedora, RHEL/CentOS, and
> Arch Linux all use bash for /bin/sh. However, a simple test in the form
> of building GCC with dash as /bin/sh, while noticeably faster, showed
> that Debian/Ubuntu have yet to fully upstream their work
> ("gcc/genmultilib: 261: shift: can't shift that many").
And non-Linux systems use a completely different shell for /bin/sh
(neither dash nor bash; BSD systems tend to use mksh).
>=20
> As much as the speed difference is promising (and frankly tempting), I'm
> afraid we simply don't have the resources to fix everything to work with
> dash as /bin/sh.
That's why the alternatives would default to cygwin using bash as
/bin/sh, and anyone flipping the alternative to dash is on their own if
things break (or better, can help submit patches upstream to the
multiple places that are broken by using non-POSIX constructs in scripts
run by /bin/sh).
--=20
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
--IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCAAGBQJXAn1ZAAoJEKeha0olJ0NqcaAH+wVPbL26WAwMmeoofa2UkZzj
g6sOTn+eXtzDfSD+eNFXLKKTtv4nc+itZwiqP28P3AY6m5jmDiWR/cjLYzB0g/Jk
LXGnXLk237krgn4vd4Bx/aNpjqzPYEgZ+FgQ5rPSiysLFcSSlBUcsM8XilAVE1Tm
wrbvxkxLe8MQD8lnzD1MTlEuH2J/k0koPQyT0/E5TJwSZzKOKJiBwuAHX2K+ozZQ
BUvDKxbUBTo6PPm1g9iH49Xgb069/7IpmONiEAdGeRkuI1L9vBYfIhhJ3Cbwln4r
y96sZp31vBMTgy6k4OzNjz7KuHUr7yjZyGnqVXhrJjOHHd1Nzt6EYrTfQgh4eMk=
=WbMw
-----END PGP SIGNATURE-----
--IfN8ID3d7c5htLKPTlmnS1kGgmxOq2CN2--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |