Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Minimum POSIX standard



On 10/23/2022 4:57 PM, Mikael Magnusson wrote:
On 10/23/22, Clinton Bunch <cdb_zsh@xxxxxxxxxxx> wrote:
What is the minimum POSIX standard modern Zsh code is intended to
conform to?
As far as I'm aware, none.

Don't you think there should be?  The guidelines in the Development guide are somewhat vague and were apparently written more than 20 years ago.  (git log puts the first revision at 1999 and the updates seem to address git usage, typos, and module documentation)

Someone writing new code should have a baseline for what functions and types can be used without #ifdefs, autoconf tests and roll-your-own backup functions.  Something more recent than the C89 standard library with all it's flaws.  Are people still trying to get zsh 5.9 to run on SunOS 4 or AIX 3.25?

My personal opinion is that development should use at least the POSIX-1.2001 standard.  It's 20 years old.  That's surely old enough for any system still running.  (It's  certainly old enough that any such system is not supported by the vendor)





Messages sorted by: Reverse Date, Date, Thread, Author