summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-14 18:24:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-09-14 18:24:56 +0000
commit130291f55c64e7ea1b81b6fc9bdbae2846f10fa2 (patch)
tree47845d0b327551356c5756af30b060e9f0c730d4
parent37b5d78153e68ccf08db8a6eb4e9848f83aec8e3 (diff)
downloadrtems-130291f55c64e7ea1b81b6fc9bdbae2846f10fa2.tar.bz2
2001-09-14 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: Fixed some mistakes.
-rw-r--r--c/src/libmisc/ChangeLog40
-rw-r--r--c/src/libmisc/shell/shell.c2
-rw-r--r--cpukit/libmisc/ChangeLog40
-rw-r--r--cpukit/libmisc/shell/shell.c2
4 files changed, 82 insertions, 2 deletions
diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog
index 2fca2173ee..94f7565ae2 100644
--- a/c/src/libmisc/ChangeLog
+++ b/c/src/libmisc/ChangeLog
@@ -1,3 +1,43 @@
+2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>
+
+ * shell/shell.c: Don't close file it wasn't open.
+
+2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead
+ of AC_CANONICAL_SYSTEM.
+ * aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of
+ mkinstalldirs and mkdir.
+ * aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS,
+ hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce
+ _RTEMS_OUTPUT_BUILD_SUBDIRS.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
+2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead
+ of AC_CANONICAL_SYSTEM.
+ * aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of
+ mkinstalldirs and mkdir.
+ * aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS,
+ hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce
+ _RTEMS_OUTPUT_BUILD_SUBDIRS.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
2001-09-13 Joel Sherrill <joel@OARcorp.com>
* devnull/devnull.c: Eliminate warning.
diff --git a/c/src/libmisc/shell/shell.c b/c/src/libmisc/shell/shell.c
index 76f534d214..c13af8d6e2 100644
--- a/c/src/libmisc/shell/shell.c
+++ b/c/src/libmisc/shell/shell.c
@@ -288,7 +288,7 @@ int shell_scanline(char * line,int size,FILE * in,FILE * out) {
if (out) fprintf(out,"%s",line);
};
tcdrain(fileno(in ));
- tcdrain(fileno(out));
+ if (out) tcdrain(fileno(out));
for (;;) {
line[col]=0;
c=fgetc(in);
diff --git a/cpukit/libmisc/ChangeLog b/cpukit/libmisc/ChangeLog
index 2fca2173ee..94f7565ae2 100644
--- a/cpukit/libmisc/ChangeLog
+++ b/cpukit/libmisc/ChangeLog
@@ -1,3 +1,43 @@
+2001-09-14 Fernando Ruiz <fernando.ruiz@ctv.es>
+
+ * shell/shell.c: Don't close file it wasn't open.
+
+2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead
+ of AC_CANONICAL_SYSTEM.
+ * aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of
+ mkinstalldirs and mkdir.
+ * aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS,
+ hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce
+ _RTEMS_OUTPUT_BUILD_SUBDIRS.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
+2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead
+ of AC_CANONICAL_SYSTEM.
+ * aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of
+ mkinstalldirs and mkdir.
+ * aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS,
+ hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce
+ _RTEMS_OUTPUT_BUILD_SUBDIRS.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
+2001-09-14 Joel Sherrill <joel@OARcorp.com>
+
+ * ChangeLog: Fixed some mistakes.
+
2001-09-13 Joel Sherrill <joel@OARcorp.com>
* devnull/devnull.c: Eliminate warning.
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index 76f534d214..c13af8d6e2 100644
--- a/cpukit/libmisc/shell/shell.c
+++ b/cpukit/libmisc/shell/shell.c
@@ -288,7 +288,7 @@ int shell_scanline(char * line,int size,FILE * in,FILE * out) {
if (out) fprintf(out,"%s",line);
};
tcdrain(fileno(in ));
- tcdrain(fileno(out));
+ if (out) tcdrain(fileno(out));
for (;;) {
line[col]=0;
c=fgetc(in);