Le 24/05/2011 23:10, Cyrille Lefevre a écrit :
ping
Hi,
the following sentence works under ksh88, mksh and bash,
but doesn't under ksh93 :
/opt/ast/bin/ksh -c 'function foo {
typeset rc=0; unset -f foo; return $rc;
}; foo'
Segmentation fault
/opt/ast/bin/ksh --version
version sh (AT&T Research) 93u 2011-02-08
doesn't work also under RHEL r and s+ release.
this one seems to work :
/opt/ast/bin/ksh -c 'function foo { unset -f foo; }; foo'
but not this one too (segfault under cygwin,
but ok, from memory, under RHEL 5.2 and 5.4) :
/opt/ast/bin/ksh -c 'function foo { unset -f foo; return 0; }; foo'
Segmentation fault
Cyrille Lefevre
--
mailto:[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users