.
OBS-URL: https://build.opensuse.org/package/show/shells/ksh?expand=0&rev=102
This commit is contained in:
parent
9ce3d74d0a
commit
ddd0342b79
28
ifs-crash.sh
28
ifs-crash.sh
@ -1,19 +1,19 @@
|
|||||||
#!/bin/ksh
|
#!/bin/ksh
|
||||||
|
|
||||||
function g
|
#function g
|
||||||
{
|
#{
|
||||||
IFS=
|
# IFS=
|
||||||
}
|
#}
|
||||||
|
#
|
||||||
function f
|
#function f
|
||||||
{
|
#{
|
||||||
typeset IFS
|
# typeset IFS
|
||||||
(g)
|
# (g)
|
||||||
: $V
|
# : $V
|
||||||
}
|
#}
|
||||||
|
#
|
||||||
f
|
#f
|
||||||
f
|
#f
|
||||||
|
|
||||||
trap 'echo "[${0##*/}: crash]"' SIGSEGV SIGABRT SIGBUS SIGFPE
|
trap 'echo "[${0##*/}: crash]"' SIGSEGV SIGABRT SIGBUS SIGFPE
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user