File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
67
67
([ #2097 ] ( https://github.com/nix-rust/nix/pull/2097 ) )
68
68
- Add the ability to set ` kevent_flags ` on ` SigEvent ` .
69
69
([ #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 ) )
70
72
71
73
### Changed
72
74
Original file line number Diff line number Diff line change @@ -582,6 +582,6 @@ mod test_apple_netbsd {
582
582
let res =
583
583
fcntl ( fd, FcntlArg :: F_GETPATH ( & mut path) ) . expect ( "get path failed" ) ;
584
584
assert_ne ! ( res, -1 ) ;
585
- assert_eq ! ( path, tmp. path( ) ) ;
585
+ assert_eq ! ( path. as_path ( ) . file_name ( ) , tmp. path( ) . file_name ( ) ) ;
586
586
}
587
587
}
You can’t perform that action at this time.
0 commit comments