Skip to content

Commit b20f47e

Browse files
committed
CHANGELOG entry
1 parent 18aa300 commit b20f47e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
6767
([#2097](https://github.com/nix-rust/nix/pull/2097))
6868
- Add the ability to set `kevent_flags` on `SigEvent`.
6969
([#1731](https://github.com/nix-rust/nix/pull/1731))
70+
- Added `F_GETPATH` FcntlFlags entry on Apple/NetBSD/DragonflyBSD for `::nix::fcntl`.
71+
([#2142](https://github.com/nix-rust/nix/pull/2142))
7072

7173
### Changed
7274

test/test_fcntl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,6 @@ mod test_apple_netbsd {
582582
let res =
583583
fcntl(fd, FcntlArg::F_GETPATH(&mut path)).expect("get path failed");
584584
assert_ne!(res, -1);
585-
assert_eq!(path, tmp.path());
585+
assert_eq!(path.as_path().file_name(), tmp.path().file_name());
586586
}
587587
}

0 commit comments

Comments
 (0)