.
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
|
||||
|
||||
function g
|
||||
{
|
||||
IFS=
|
||||
}
|
||||
|
||||
function f
|
||||
{
|
||||
typeset IFS
|
||||
(g)
|
||||
: $V
|
||||
}
|
||||
|
||||
f
|
||||
f
|
||||
#function g
|
||||
#{
|
||||
# IFS=
|
||||
#}
|
||||
#
|
||||
#function f
|
||||
#{
|
||||
# typeset IFS
|
||||
# (g)
|
||||
# : $V
|
||||
#}
|
||||
#
|
||||
#f
|
||||
#f
|
||||
|
||||
trap 'echo "[${0##*/}: crash]"' SIGSEGV SIGABRT SIGBUS SIGFPE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user