[erlang-patches] Fix documentation for erlang:process_info/2

Filipe David Manana fdmanana@REDACTED
Thu Sep 29 19:15:23 CEST 2011


On Thu, Sep 29, 2011 at 5:35 AM, Henrik Nord <henrik@REDACTED> wrote:
> On 09/20/2011 07:57 PM, Filipe David Manana wrote:
>>
>> git  fetch  git://github.com/fdmanana/otp.git  process_info_doc_fix
>>
>> Web diff:
>> https://github.com/fdmanana/otp/compare/process_info_doc_fix
>>
> Hi
>
> We will not include this patch as it removes the description of the max
> priority.

I think it was misunderstood the goal of the patch.
The same exact paragraph, about process priorities, is duplicated in 2 places:

https://github.com/erlang/otp/blob/dev/erts/doc/src/erlang.xml#L3660

and

https://github.com/erlang/otp/blob/dev/erts/doc/src/erlang.xml#L3707

The first one makes sense, as it's under the section describing
process_flag(priority, Level). The second one however seems like a
copy paste accident because it's under the section describing
process_flag(save_calls, N).

> However it might not be the best written part of the documentation, and if
> you want to reword it to make it easy for the reader we are willing to
> accept such a patch.
>
> --
> /Henrik Nord Erlang/OTP
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://erlang.org/mailman/listinfo/erlang-patches
>



-- 
Filipe David Manana,

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."



More information about the erlang-patches mailing list