RTEMS | libmisc/shell: Only restore terminal settings on exit when captured (!300)

yang zhang (@yang.zhang) gitlab at rtems.org
Tue Nov 12 05:44:42 UTC 2024




yang zhang commented on a discussion on cpukit/libmisc/shell/shell.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/300#note_114751

 >    struct termios  previous_term;
 >    bool            result;
 >    bool            interactive = true;
 > +  int             tc_result;

yeah, i already found the issue, tc_result should be intialized by -1, i'm doing this, but not sure amend a commit, or generate a new MR, i'm learning the rules.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/300#note_114751
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241112/c689210a/attachment.htm>


More information about the bugs mailing list