diff options
-rw-r--r-- | ChangeLog-99b | 7 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/Memory_Pool.cpp | 1 | ||||
-rw-r--r-- | ace/Svc_Handler.cpp | 6 |
4 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b index 01e00dba16a..bcdc39785d0 100644 --- a/ChangeLog-99b +++ b/ChangeLog-99b @@ -1,3 +1,10 @@ +Thu Oct 21 20:21:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * ace/Memory_Pool.cpp (map_file): Make sure to update the + base_addr_ with the new mem_map_.addr() before the call to + update the ACE based pointer. Thanks to Damien Dufour + <damien.dufour@horoquartz.fr> for reporting this. + Thu Oct 21 17:10:17 1999 Vishal Kachroo <vishal@cs.wustl.edu> * ace/OS.i (ioctl): Corrected the implementation of @@ -810,6 +810,7 @@ David Delano <delanod@agcs.com> Boris Sukholitko <palisander@hotmail.com> Brian Mason <bmason@oresis.com> Thomas Groth <groth.th@stn-atlas.de> +Damien Dufour <damien.dufour@horoquartz.fr> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson. Paul devised the recursive Makefile scheme that diff --git a/ace/Memory_Pool.cpp b/ace/Memory_Pool.cpp index 80f1dae763d..0add7887a8a 100644 --- a/ace/Memory_Pool.cpp +++ b/ace/Memory_Pool.cpp @@ -271,6 +271,7 @@ ACE_MMAP_Memory_Pool::map_file (off_t map_size) else { #if defined (ACE_HAS_POSITION_INDEPENDENT_MALLOC) + this->base_addr_ = this->mmap_.addr (); ACE_BASED_POINTER_REPOSITORY::instance ()->bind (this->base_addr_, map_size); #endif /* ACE_HAS_POSITION_INDEPENDENT_MALLOC */ diff --git a/ace/Svc_Handler.cpp b/ace/Svc_Handler.cpp index 95f7027aee7..767a4a71fba 100644 --- a/ace/Svc_Handler.cpp +++ b/ace/Svc_Handler.cpp @@ -159,10 +159,8 @@ ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::shutdown (void) this->reactor ()->cancel_timer (this); if (this->peer ().get_handle () != ACE_INVALID_HANDLE) - { - // Remove self from reactor. - this->reactor ()->remove_handler (this, mask); - } + // Remove self from reactor. + this->reactor ()->remove_handler (this, mask); } // Remove self from the recycler. |