diff options
| author | Phil Mesnier <mesnier_p@ociweb.com> | 2011-05-05 22:03:32 +0000 |
|---|---|---|
| committer | Phil Mesnier <mesnier_p@ociweb.com> | 2011-05-05 22:03:32 +0000 |
| commit | a4ff1e490acf7c634deb01eadb8993d2ea047e80 (patch) | |
| tree | dde8c05e6b38d037b2c67062187c446440251a80 /ACE/ChangeLog | |
| parent | f1cdc27dc969113e80ff9e13f56b228e6af2285a (diff) | |
| download | ATCD-a4ff1e490acf7c634deb01eadb8993d2ea047e80.tar.gz | |
Thu May 5 21:38:45 UTC 2011 Phil Mesnier <mesnier_p@ociweb.com>
* ace/Select_Reactor_T.cpp:
Added a reset of errno during the ctor in case there was an
error during the first attempt at opening the reactor. Turns out
that in this case on at least on Linux, the errno leaks through
the second, good call to open. This can happen for example, when
ACE::max_handles() is less than the select reactor's DEFAULT_SIZE.
Since all this happens in a ctor, there's no result value for
application code to check, apart from errno.
Diffstat (limited to 'ACE/ChangeLog')
| -rw-r--r-- | ACE/ChangeLog | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 8db42ba8780..e65b7927c1b 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,16 +1,28 @@ +Thu May 5 21:38:45 UTC 2011 Phil Mesnier <mesnier_p@ociweb.com> + + * ace/Select_Reactor_T.cpp: + + Added a reset of errno during the ctor in case there was an + error during the first attempt at opening the reactor. Turns out + that in this case on at least on Linux, the errno leaks through + the second, good call to open. This can happen for example, when + ACE::max_handles() is less than the select reactor's DEFAULT_SIZE. + Since all this happens in a ctor, there's no result value for + application code to check, apart from errno. + Wed May 4 15:07:46 UTC 2011 Chad Beaulac <chad.beaulac@objectivesolutions.com> - * ace/Stream.cpp: - Modified ACE_Stream::remove(name,flags) so close is always called - on the module that's removed regardless of the flags. Close needs - to be called to ensure proper lifecycle management when the - ACE_Service_Repository shuts down in its fini method. - Bugzilla #3912 - - * tests/Bug_3912_Regression_Test.conf: - * tests/Bug_3912_Regression_Test.cpp: - * tests/run_test.lst - * tests/test.mpc - Added test to assert that close is called. + * ace/Stream.cpp: + Modified ACE_Stream::remove(name,flags) so close is always called + on the module that's removed regardless of the flags. Close needs + to be called to ensure proper lifecycle management when the + ACE_Service_Repository shuts down in its fini method. + Bugzilla #3912 + + * tests/Bug_3912_Regression_Test.conf: + * tests/Bug_3912_Regression_Test.cpp: + * tests/run_test.lst + * tests/test.mpc + Added test to assert that close is called. Fri Apr 29 14:01:29 UTC 2011 Steve Huston <shuston@riverace.com> |
