After executing a builtin with different locale settings such as LC_ALL=C true SIGINT handling was left disabled indefinitely. MFC after: 1 week
6 lines
119 B
Plaintext
6 lines
119 B
Plaintext
# $FreeBSD$
|
|
|
|
$SH -c 'LC_ALL=C true; kill -INT $$; echo continued'
|
|
r=$?
|
|
[ "$r" -gt 128 ] && [ "$(kill -l "$r")" = INT ]
|