forked from Imagelibrary/rtems
2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/shell_getchar.c: Minor change so dropping connection while at prompt results in shell logging out and connection still being available.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libmisc/shell/shell_getchar.c: Minor change so dropping connection
|
||||
while at prompt results in shell logging out and connection still
|
||||
being available.
|
||||
|
||||
2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call
|
||||
|
||||
@@ -123,7 +123,7 @@ rtems_shell_getchar (FILE *in)
|
||||
struct translation_table *translation = 0;
|
||||
for (;;)
|
||||
{
|
||||
char c = fgetc (in);
|
||||
int c = fgetc (in);
|
||||
if (c == EOF)
|
||||
return EOF;
|
||||
if (c == 27)
|
||||
|
||||
Reference in New Issue
Block a user