Changeset 2cec5ac in rtems


Ignore:
Timestamp:
Mar 12, 2018, 9:29:21 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
cbbe68b
Parents:
0fb724a
git-author:
Sebastian Huber <sebastian.huber@…> (03/12/18 09:29:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/12/18 10:24:44)
Message:

shell: Fix rtems_shell_init_env()

Do not discard a user provided task name in rtems_shell_init_env().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/shell/shell.c

    r0fb724a r2cec5ac  
    7575  if ( !shell_env_p ) {
    7676    *shell_env = rtems_global_shell_env;
     77    shell_env->taskname = NULL;
    7778  } else {
    7879    *shell_env = *shell_env_p;
    7980  }
    80   shell_env->taskname = NULL;
    8181
    8282  return shell_env;
Note: See TracChangeset for help on using the changeset viewer.