freebsd-dev/bin/sh/tests
Jilles Tjoelker 7b9104c0a9 sh: Correctly handle positional parameters beyond INT_MAX on 64-bit systems.
Currently, there can be no more than INT_MAX positional parameters. Make
sure to treat all higher ones as unset to avoid incorrect results and
crashes.

On 64-bit systems, our atoi() takes the low 32 bits of the strtol() and
sign-extends them.

On 32-bit systems, the call to atoi() returned INT_MAX for too high values
and there is not enough address space for so many positional parameters, so
there was no issue.
2014-07-12 21:54:11 +00:00
..
builtins Don't install locale1.0 if MK_NLS == no. 2014-07-08 21:50:13 +00:00
errors
execution
expansion
parameters sh: Correctly handle positional parameters beyond INT_MAX on 64-bit systems. 2014-07-12 21:54:11 +00:00
parser sh: Allow aliases to force alias substitution on the following word. 2014-01-26 21:19:33 +00:00
set-e
legacy_test.sh
Makefile Make bsd.test.mk the only public mk fragment for the building of tests. 2014-03-14 08:56:19 +00:00