diff options
author | Christopher Faylor <me@cgf.cx> | 2011-04-21 04:53:55 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-04-21 04:53:55 +0400 |
commit | 71c17c540231c3b824474431f2be0bd5ce63005f (patch) | |
tree | 29ddf6d9c57e712238eaca5629fb5524ab24c17b /winsup/cygwin/sync.cc | |
parent | 2f9c27131fc48d8364e0ef16332cf6e6402c4fdd (diff) |
* cygheap.cc (init_cygheap::close_ctty): Avoid closing console-cttys since they
don't use archetypes and this will just result in double frees.
* dll_init.cc (dll_list::protect): Define.
(dll_list::alloc): Guard list access.
(dll_list::detach): Ditto.
* dll_init.h (dll_list::protect): Declare new muto.
(dll_list::guard): Define/declare function to guard list access.
* fhandler_termios.cc (fhandler_termios::sigflush): Avoid SEGV in pathological
condition of get_ttyp() == NULL.
Diffstat (limited to 'winsup/cygwin/sync.cc')
-rw-r--r-- | winsup/cygwin/sync.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sync.cc b/winsup/cygwin/sync.cc index b62c6bcb7..58b854912 100644 --- a/winsup/cygwin/sync.cc +++ b/winsup/cygwin/sync.cc @@ -4,7 +4,7 @@ which is intended to operate similarly to a mutex but attempts to avoid making expensive calls to the kernel. - Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009 Red Hat, Inc. + Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009, 2010 Red Hat, Inc. This file is part of Cygwin. |