Update of /cvsroot/boost/boost/boost/asio/detail
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23774/detail

Modified Files:
        epoll_reactor.hpp kqueue_reactor.hpp 
Log Message:
Don't use named temporary since it confuses g++ 3.3.


Index: epoll_reactor.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/epoll_reactor.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- epoll_reactor.hpp   8 Nov 2006 05:32:12 -0000       1.4
+++ epoll_reactor.hpp   14 Nov 2006 10:50:18 -0000      1.5
@@ -507,10 +507,9 @@
     int fd = epoll_create(epoll_size);
     if (fd == -1)
     {
-      boost::system::system_error e(
-          boost::system::error_code(errno, boost::system::native_ecat),
-          "epoll");
-      boost::throw_exception(e);
+      boost::throw_exception(boost::system::system_error(
+            boost::system::error_code(errno, boost::system::native_ecat),
+            "epoll"));
     }
     return fd;
   }

Index: kqueue_reactor.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/detail/kqueue_reactor.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- kqueue_reactor.hpp  8 Nov 2006 05:32:12 -0000       1.5
+++ kqueue_reactor.hpp  14 Nov 2006 10:50:18 -0000      1.6
@@ -511,10 +511,9 @@
     int fd = kqueue();
     if (fd == -1)
     {
-      boost::system::system_error e(
-          boost::system::error_code(errno, boost::system::native_ecat),
-          "kqueue");
-      boost::throw_exception(e);
+      boost::throw_exception(boost::system::system_error(
+            boost::system::error_code(errno, boost::system::native_ecat),
+            "kqueue"));
     }
     return fd;
   }


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to