-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Endless loop on EOF in shell #9946
Copy link
Copy link
Closed
Labels
Platform: nativePlatform: This PR/issue effects the native platformPlatform: This PR/issue effects the native platformType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Milestone
Description
Description
The shell enters an endless loop printing the prompt character when it encounters EOF at least with the native port.
Steps to reproduce the issue
- compile and run Tutorial task 01
- press ctrl+d
Expected results
I expected the shell to close
Actual results
The prompt character ">" is printed in an endless loop
Versions
Operating system: Linux
native gcc: gcc (GCC) 8.2.1 20180831
msp430-gcc: missing/error
avr-gcc: missing/error
arm-none-eabi-gcc: arm-none-eabi-gcc (Arch Repository) 8.2.0
mips-mti-elf-gcc: missing/error
clang: clang version 6.0.1 (tags/RELEASE_601/final)
arm-none-eabi-newlib: "3.0.0"
mips-mti-elf-newlib: missing/error
avr-libc: missing/error (missing/error)
cppcheck: Cppcheck 1.84
coccinelle: missing
git: git version 2.19.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Platform: nativePlatform: This PR/issue effects the native platformPlatform: This PR/issue effects the native platformType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)