[rtems commit] shell: Make rtems_global_shell_env public

Chris Johns chrisj at rtems.org
Thu May 29 03:32:12 UTC 2014


On 29/05/2014 10:41 am, Gedare Bloom wrote:
> I'd prefer to post-pone til after the 4.11 release. Hiding the global
> variable has apparently broken many user's expected way of using the
> shell. That it happened as a side-effect of other shell improvements
> made the 'break' not apparent. At least, if we do "revert" the revert,
> an explanation and example should accompany the release notes.
>

The advantage of the example code I posted is the environment is 
inherited from the task that starts telnetd rather than some base line 
default used to start the system. This is consistent with the old 
implementation because the task var switched the global for you.

Chris



More information about the devel mailing list