View | Details | Raw Unified | Return to bug 169755 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-boost_asio-ioctl (-6 / +12 lines)
Lines 1-23 Link Here
1
--- boost/asio/detail/io_control.hpp.orig	2010-12-06 01:32:39.000000000 +0300
1
--- boost/asio/detail/io_control.hpp.orig	2011-06-06 03:21:43.000000000 +0400
2
+++ boost/asio/detail/io_control.hpp	2010-12-06 01:37:34.000000000 +0300
2
+++ boost/asio/detail/io_control.hpp	2012-07-10 13:24:45.000000000 +0400
3
@@ -44,7 +44,7 @@
3
@@ -44,9 +44,9 @@
4
   }
4
   }
5
 
5
 
6
   // Get the name of the IO control command.
6
   // Get the name of the IO control command.
7
-  int name() const
7
-  int name() const
8
+  ioctl_cmd_type name() const
8
+  ioctl_cmd_type name() const
9
   {
9
   {
10
     return FIONBIO;
10
-    return static_cast<int>(FIONBIO);
11
+    return static_cast<ioctl_cmd_type>(FIONBIO);
11
   }
12
   }
12
@@ -94,7 +94,7 @@
13
 
14
   // Set the value of the I/O control command.
15
@@ -94,9 +94,9 @@
13
   }
16
   }
14
 
17
 
15
   // Get the name of the IO control command.
18
   // Get the name of the IO control command.
16
-  int name() const
19
-  int name() const
17
+  ioctl_cmd_type name() const
20
+  ioctl_cmd_type name() const
18
   {
21
   {
19
     return FIONREAD;
22
-    return static_cast<int>(FIONREAD);
23
+    return static_cast<ioctl_cmd_type>(FIONREAD);
20
   }
24
   }
25
 
26
   // Set the value of the I/O control command.
21
--- boost/asio/detail/descriptor_ops.hpp.orig	2010-12-06 01:55:08.000000000 +0300
27
--- boost/asio/detail/descriptor_ops.hpp.orig	2010-12-06 01:55:08.000000000 +0300
22
+++ boost/asio/detail/descriptor_ops.hpp	2010-12-06 01:55:39.000000000 +0300
28
+++ boost/asio/detail/descriptor_ops.hpp	2010-12-06 01:55:39.000000000 +0300
23
@@ -79,7 +79,7 @@
29
@@ -79,7 +79,7 @@

Return to bug 169755