summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-27 17:25:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-27 17:25:45 +0000
commit288b1f91a21137cfa1307188e054ac4d13d30c9e (patch)
tree9493933384de381d7d59d3f3da31ccc484bfb9b0 /cpukit
parent2008-05-27 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-288b1f91a21137cfa1307188e054ac4d13d30c9e.tar.bz2
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.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libmisc/shell/shell_getchar.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 0cc569c4fa..5e8467a64d 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,11 @@
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
fini() as part of exit(). This avoids atexit() being a required
function.
diff --git a/cpukit/libmisc/shell/shell_getchar.c b/cpukit/libmisc/shell/shell_getchar.c
index c08a8bfa90..53b80dd953 100644
--- a/cpukit/libmisc/shell/shell_getchar.c
+++ b/cpukit/libmisc/shell/shell_getchar.c
@@ -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)