diff options
author | Christopher Faylor <me@cgf.cx> | 2011-02-09 18:40:37 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-02-09 18:40:37 +0300 |
commit | 7a5f322c35b2af993c803beb6f575732b143b12b (patch) | |
tree | 024594cacbaee47c7dad227a68f57c09ad5a08bf | |
parent | 38286e47f0f42a4cfb6971b2c5d0e70591bb2a34 (diff) |
* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
* dll_init.cc: Fix typo in comment.
-rw-r--r-- | winsup/cygwin/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/cygwin/exception.h | 7 |
2 files changed, 9 insertions, 6 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8aa9c467d..d645957ba 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,11 @@ +2011-02-09 Christopher Faylor <me+cygwin@cgf.cx> + + * exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef. + +2011-02-08 Christopher Faylor <me+cygwin@cgf.cx> + + * dll_init.cc: Fix typo in comment. + 2011-02-07 Corinna Vinschen <corinna@vinschen.de> * configure.in: Remove AC_ALLOCA test and test for __builtin_memset. diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h index 2171f8df0..9f4a6c45c 100644 --- a/winsup/cygwin/exception.h +++ b/winsup/cygwin/exception.h @@ -1,6 +1,6 @@ /* exception.h - Copyright 2010 Red Hat, Inc. + Copyright 2010, 2011 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -19,10 +19,6 @@ class exception exception_list *save; static int handle (EXCEPTION_RECORD *, exception_list *, CONTEXT *, void *); public: -#ifdef DEBUG_EXCEPTION - exception (); - ~exception (); -#else exception () __attribute__ ((always_inline)) { save = _except_list; @@ -31,7 +27,6 @@ public: _except_list = ⪙ }; ~exception () __attribute__ ((always_inline)) { _except_list = save; } -#endif }; #endif /*_EXCEPTION_H*/ |