<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/tests/posix/command-special.exp, branch fix/zos-spawn-fdmap</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=fix%2Fzos-spawn-fdmap</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=fix%2Fzos-spawn-fdmap'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-15T23:11:46Z</updated>
<entry>
<title>Errors in command-prefixed special builtins no longer exit; no arena leak</title>
<updated>2026-11-15T23:11:46Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-15T23:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=e76ce7d25f28a8b9c811b727c1ca44654a546834'/>
<id>urn:sha1:e76ce7d25f28a8b9c811b727c1ca44654a546834</id>
<content type='text'>
`command eval`, `command .` and friends lose the special property that
an error exits a non-interactive shell (POSIX 2.14, and dash, bash and
ksh93 agree): the error now becomes the status.  Only that path pays for
a setjmp().

run_input() released its parse arena only on the normal path; an error
caught further out (a subshell, command, the prompt) leaked it.  Found by
running the suite under Valgrind with leak checking, which is now on for
make valgrind and make asan.

Also renames two locals that shadowed the cond typedef (gcc -Wshadow).
</content>
</entry>
</feed>
