File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
9
9
([ #1002 ] ( https://github.com/nix-rust/nix/pull/1002 ) )
10
10
### Changed
11
11
- ` PollFd ` event flags renamed to ` PollFlags ` ([ #1024 ] ( https://github.com/nix-rust/nix/pull/1024/ ) )
12
+ - ` recvmsg ` now returns an Iterator over ` ControlMessageOwned ` objects rather
13
+ than ` ControlMessage ` objects. This is sadly not backwards-compatible. Fix
14
+ code like this:
15
+ ``` rust
16
+ if let ControlMessage :: ScmRights (& fds ) = cmsg {
17
+ ```
18
+
19
+ By replacing it with code like this:
20
+ ``` rust
21
+ if let ControlMessageOwned :: ScmRights (fds ) = cmsg {
22
+ ```
23
+ ([ #1020 ] ( https://github.com/nix-rust/nix/pull/1020 ) )
24
+ - Replaced ` CmsgSpace ` with the ` cmsg_space ` macro.
25
+ ([ #1020 ] ( https://github.com/nix-rust/nix/pull/1020 ) )
26
+
12
27
### Fixed
28
+ - Fixed multiple bugs when using ` sendmsg ` and ` recvmsg ` with ancillary control messages
29
+ ([ #1020 ] ( https://github.com/nix-rust/nix/pull/1020 ) )
30
+
13
31
### Removed
14
32
15
33
## [ 0.13.0] - 2019-01-15
You can’t perform that action at this time.
0 commit comments