From 6e7ee0bd25e173571105bffae50b3b99b5d51b9a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 10 Aug 2010 22:15:32 +0000 Subject: [PATCH] 2010-08-09 Bharath Suri PR 1662/filesystem * libcsupport/src/termios.c: osem is now released before attempt to delete in rtems_termios_close. --- cpukit/ChangeLog | 6 ++++++ cpukit/libcsupport/src/termios.c | 1 + 2 files changed, 7 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 3698457375..b3475134db 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2010-08-09 Bharath Suri + + PR 1662/filesystem + * libcsupport/src/termios.c: osem is now released before attempt + to delete in rtems_termios_close. + 2010-08-09 Bharath Suri PR 1660/filesystem 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) {