From a99345591f51350eee9f52fab5163412edef1804 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 5 Aug 2009 04:44:27 +0000 Subject: * cygheap.h (cygheap_debug::endh): Delete. * debug.cc (lock_debug::acquired): Delete. (lock_debug::lock_debug): Simplify. (lock_debug::unlock): Ditto. (find_handle): Don't set endh here. (add_handle): Add new handle to beginning of the list rather than trying to maintain an end list pointer. (delete_handle): Minor optimization. (mark_closed): Make logic clearer. (verify_handle): Lock handle list before scanning. (setclexec): Ditto. (modify_handle): Ditto. (newh): Don't lock handle list here. Assume caller did this. (mark_closed): Ditto. (close_handle): Remove unneeded #if. * dtable.cc (dtable::dup2): Tweak debug output. --- winsup/cygwin/cygheap.h | 1 - 1 file changed, 1 deletion(-) (limited to 'winsup/cygwin/cygheap.h') diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h index 6e01967..9bba99a 100644 --- a/winsup/cygwin/cygheap.h +++ b/winsup/cygwin/cygheap.h @@ -230,7 +230,6 @@ public: struct cygheap_debug { handle_list starth; - handle_list *endh; handle_list freeh[500]; }; #endif -- cgit v1.1