Update of /cvsroot/boost/boost/boost/asio/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7221/boost/asio/detail
Modified Files:
posix_signal_blocker.hpp socket_option.hpp socket_types.hpp
task_io_service.hpp
Log Message:
Some fixes for Solaris, AIX and HP-UX.
Index: posix_signal_blocker.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/posix_signal_blocker.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- posix_signal_blocker.hpp 4 Jan 2007 05:53:00 -0000 1.2
+++ posix_signal_blocker.hpp 20 Feb 2007 13:19:53 -0000 1.3
@@ -26,6 +26,7 @@
#include <boost/asio/detail/push_options.hpp>
#include <csignal>
#include <pthread.h>
+#include <signal.h>
#include <boost/asio/detail/pop_options.hpp>
#include <boost/asio/detail/noncopyable.hpp>
Index: socket_option.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/socket_option.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- socket_option.hpp 4 Jan 2007 08:21:33 -0000 1.3
+++ socket_option.hpp 20 Feb 2007 13:19:53 -0000 1.4
@@ -109,7 +109,7 @@
// Set the size of the boolean data.
template <typename Protocol>
- void resize(const Protocol&, std::size_t s) const
+ void resize(const Protocol&, std::size_t s)
{
if (s != sizeof(value_))
throw std::length_error("boolean socket option resize");
@@ -186,7 +186,7 @@
// Set the size of the int data.
template <typename Protocol>
- void resize(const Protocol&, std::size_t s) const
+ void resize(const Protocol&, std::size_t s)
{
if (s != sizeof(value_))
throw std::length_error("integer socket option resize");
@@ -280,7 +280,7 @@
// Set the size of the int data.
template <typename Protocol>
- void resize(const Protocol&, std::size_t s) const
+ void resize(const Protocol&, std::size_t s)
{
if (s != sizeof(value_))
throw std::length_error("linger socket option resize");
Index: socket_types.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/socket_types.hpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- socket_types.hpp 9 Feb 2007 06:44:12 -0000 1.6
+++ socket_types.hpp 20 Feb 2007 13:19:53 -0000 1.7
@@ -100,6 +100,7 @@
# include <net/if.h>
# if defined(__sun)
# include <sys/filio.h>
+# include <sys/sockio.h>
# endif
#endif
#include <boost/asio/detail/pop_options.hpp>
Index: task_io_service.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/task_io_service.hpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- task_io_service.hpp 8 Jan 2007 01:30:05 -0000 1.8
+++ task_io_service.hpp 20 Feb 2007 13:19:53 -0000 1.9
@@ -339,6 +339,7 @@
}
class task_cleanup;
+ friend class task_cleanup;
// The base class for all handler wrappers. A function pointer is used
// instead of virtual functions to avoid the associated overhead.
@@ -425,8 +426,6 @@
};
// Helper class to perform task-related operations on block exit.
- class task_cleanup;
- friend class task_cleanup;
class task_cleanup
{
public:
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs