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:
Joel Sherrill
2008-05-27 17:25:45 +00:00
parent 83734c9d52
commit 288b1f91a2
2 changed files with 7 additions and 1 deletions

View File

@@ -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> 2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call * libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Call

View File

@@ -123,7 +123,7 @@ rtems_shell_getchar (FILE *in)
struct translation_table *translation = 0; struct translation_table *translation = 0;
for (;;) for (;;)
{ {
char c = fgetc (in); int c = fgetc (in);
if (c == EOF) if (c == EOF)
return EOF; return EOF;
if (c == 27) if (c == 27)