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