[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ast-developers
Subject:    [ast-developers] Re: [ast-users] ksh unset -f bug
From:       Cyrille Lefevre <cyrille.lefevre-lists () laposte ! net>
Date:       2011-06-28 0:49:25
Message-ID: 4E092515.3060201 () laposte ! net
[Download RAW message or body]


Le 31/05/2011 15:07, Cyrille Lefevre a écrit :

ping

> 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
>

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net



_______________________________________________
ast-users mailing list
ast-users@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-users
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic