freebsd-skq/bin/sh/tests
jilles df71c47219 MFC r268576: 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.

PR:		195918
2014-12-14 18:30:30 +00:00
..
builtins MFC r268429: Don't install locale1.0 if MK_NLS == no. 2014-08-20 19:39:07 +00:00
errors
execution
expansion
parameters MFC r268576: sh: Correctly handle positional parameters beyond INT_MAX on 2014-12-14 18:30:30 +00:00
parser
set-e
legacy_test.sh
Makefile