Skip to content

Commit 75cc3bc

Browse files
asomersvdagonneau
authored andcommitted
Add CHANGELOG entry.
1 parent aacec28 commit 75cc3bc

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1313
([#1002](https://github.com/nix-rust/nix/pull/1002))
1414
### Changed
1515
- `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+
1631
### 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+
1735
### Removed
1836

1937
## [0.13.0] - 2019-01-15

0 commit comments

Comments
 (0)