[erlang-bugs] release_handler_1 still broken

Göran Stupalo stupalo@REDACTED
Mon Mar 2 15:13:32 CET 2009


Hello Paul,

Thank you for the fix.
It will be included in R13A.

--
Göran Stupalo, Erlang/OTP, Ericsson AB



Paul Mineiro wrote:
> Hey.  I just upgraded to r12b5.  Thanks and kudos.
> 
> Unfortunately I noticed that release_handler_1 still fails on dynamic
> child specifications.  Here's a patch (the patch says sasl-2.1.5.1 but it
> works with r12b5 as well; the file does not appear to have
> changed).
> 
> Cheers.
> 
> -- p
> 
> --- /usr/lib/erlang/lib/sasl-2.1.5.1/src/release_handler_1.erl  2007-08-05 08:48:53.000000000 -0700
> +++ release_handler_1.erl       2008-03-25 19:39:29.000000000 -0700
> @@ -505,7 +505,7 @@
>                 application:which_applications())).
> 
>  get_procs([{Name, Pid, worker, dynamic} | T], Sup) when is_pid(Pid) ->
> -    Mods = get_dynamic_mods(Name),
> +    Mods = get_dynamic_mods(Pid),
>      [{Sup, Name, Pid, Mods} | get_procs(T, Sup)];
>  get_procs([{Name, Pid, worker, Mods} | T], Sup) when is_pid(Pid), is_list(Mods) ->
>      [{Sup, Name, Pid, Mods} | get_procs(T, Sup)];
> 
> 
> In an artificial world, only extremists live naturally.
> 
>         -- Paul Graham
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-bugs
> 



More information about the erlang-bugs mailing list