[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: config.sub/config.guess using nonportable $(...) substitutions
From: |
Russ Allbery |
Subject: |
Re: config.sub/config.guess using nonportable $(...) substitutions |
Date: |
Tue, 09 Mar 2021 16:20:15 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Warren Young <warren@etr-usa.com> writes:
> Since all versions of Solaris postdate this, Sun really should have made
> /bin/sh a POSIX shell from the start, but for whatever reason, did not,
> and now that decision's causing us problems.
My recollection is that there was concern at the time with portability of
shell scripts written for SunOS. Sun chose to keep /bin/sh (and various
other tools) compatible with SunOS rather than compatible with POSIX and
introduced the /usr/xpg4 path for those who wanted POSIX behavior. That
trade-off of immediate compatibility for future pain has been causing
future pain ever since.
Interestingly, at around the same time they made that decision, they also
dropped bcopy and bzero from the standard library, provoking a ton of
porting problems. (They reversed that decision later and added them
back.)
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
- Re: config.sub/config.guess using nonportable $(...) substitutions, (continued)
- Re: config.sub/config.guess using nonportable $(...) substitutions, Karl Berry, 2021/03/08
- Re: config.sub/config.guess using nonportable $(...) substitutions, Paul Eggert, 2021/03/08
- Re: config.sub/config.guess using nonportable $(...) substitutions, Karl Berry, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Paul Eggert, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Warren Young, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Todd C. Miller, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Michael Orlitzky, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Warren Young, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions,
Russ Allbery <=
- Re: config.sub/config.guess using nonportable $(...) substitutions, Tim Rice, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Zack Weinberg, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, David A. Wheeler, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Nick Bowler, 2021/03/09
- Re: config.sub/config.guess using nonportable $(...) substitutions, Karl Berry, 2021/03/10
- Re: config.sub/config.guess using nonportable $(...) substitutions, Paul Eggert, 2021/03/09
Re: config.sub/config.guess using nonportable $(...) substitutions, Bob Friesenhahn, 2021/03/08
Re: config.sub/config.guess using nonportable $(...) substitutions, Tim Rice, 2021/03/08