Skip to content

Commit 433d664

Browse files
committed
Add CHANGELOG entry.
1 parent 1b9ac3e commit 433d664

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
@@ -8,7 +8,25 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88
- Add IP_RECVIF & IP_RECVDSTADDR. Enable IP_PKTINFO and IP6_PKTINFO on netbsd/openbsd.
99
([#1002](https://github.com/nix-rust/nix/pull/1002))
1010
### Changed
11+
- `recvmsg` now returns an Iterator over `ControlMessageOwned` objects rather
12+
than `ControlMessage` objects. This is sadly not backwards-compatible. Fix
13+
code like this:
14+
```rust
15+
if let ControlMessage::ScmRights(&fds) = cmsg {
16+
```
17+
18+
By replacing it with code like this:
19+
```rust
20+
if let ControlMessageOwned::ScmRights(fds) = cmsg {
21+
```
22+
([#1020](https://github.com/nix-rust/nix/pull/1020))
23+
- Replaced `CmsgSpace` with the `cmsg_space` macro.
24+
([#1020](https://github.com/nix-rust/nix/pull/1020))
25+
1126
### Fixed
27+
- Fixed multiple bugs when using `sendmsg` and `recvmsg` with ancillary control messages
28+
([#1020](https://github.com/nix-rust/nix/pull/1020))
29+
1230
### Removed
1331

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

0 commit comments

Comments
 (0)