[PATCH] shell: Add rtems_shell_dup_current_env to get a default env.

Chris Johns chrisj at rtems.org
Wed Jun 4 22:55:22 UTC 2014


On 4/06/2014 10:58 pm, Gedare Bloom wrote:
> On Wed, Jun 4, 2014 at 7:07 AM, Sebastian Huber
> <sebastian.huber at embedded-brains.de> wrote:
>> On 2014-06-04 12:55, Chris Johns wrote:
>>
>> This is definitely better and we should add this
>> rtems_shell_dup_current_env(), but I would nonetheless keep the
>> rtems_global_shell_env for backward compatibility.
>>
> Is it feasible to provide a macro for rtems_global_shell_env that
> provides the compatibility?

I could not see an easy way with my quick look.

>
> We should definitely put it on the list to eliminate at least after
> 4.11 (*prod*)
>

Agreed.

Chris



More information about the devel mailing list