applied patches for PR1117/1118/1119/1120

This commit is contained in:
Thomas Doerfler
2006-07-09 10:05:27 +00:00
parent a650ebb1f5
commit c9b005a9d2
28 changed files with 1139 additions and 392 deletions

View File

@@ -543,6 +543,15 @@ rtems_task shell_shell(rtems_task_argument task_argument) {
rtems_current_user_env->euid=
rtems_current_user_env->egid=0;
/*
* newlib delays the creation of default stdio 'til the
* first I/O operation, therefore we must perform dummy
* operations before we redirect stdio
*/
ftell(stdin);
ftell(stdout);
ftell(stderr);
stdin =fopen(devname,"r+");
if (!stdin) {