diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-10 22:15:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-08-10 22:15:32 +0000 |
commit | 6e7ee0bd25e173571105bffae50b3b99b5d51b9a (patch) | |
tree | be0d6f7b137143907b9bf26e9667fcfd74dbcc84 /cpukit | |
parent | 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com> (diff) | |
download | rtems-6e7ee0bd25e173571105bffae50b3b99b5d51b9a.tar.bz2 |
2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1662/filesystem
* libcsupport/src/termios.c: osem is now released before attempt
to delete in rtems_termios_close.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libcsupport/src/termios.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 3698457375..b3475134db 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,11 @@ 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com> + PR 1662/filesystem + * libcsupport/src/termios.c: osem is now released before attempt + to delete in rtems_termios_close. + +2010-08-09 Bharath Suri <bharath.s.jois@gmail.com> + PR 1660/filesystem * libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Changed int pipe_release to void pipe_release. diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c index 0193c7ccc7..4085c5e4a2 100644 --- a/cpukit/libcsupport/src/termios.c +++ b/cpukit/libcsupport/src/termios.c @@ -382,6 +382,7 @@ rtems_termios_close (void *arg) rtems_fatal_error_occurred (sc); } drainOutput (tty); + rtems_semaphore_release (tty->osem); } if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) { |