File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
2626 ([ #2085 ] ( https://github.com/nix-rust/nix/pull/2085 ) )
2727- Added ` SO_RTABLE ` for OpenBSD and ` SO_ACCEPTFILTER ` for FreeBSD/NetBSD to ` nix::sys::socket::sockopt ` .
2828 ([ #2085 ] ( https://github.com/nix-rust/nix/pull/2085 ) )
29+ - Removed ` flock ` from ` ::nix::fcntl ` on Solaris. ([ #2082 ] ( https://github.com/nix-rust/nix/pull/2082 ) )
2930
3031### Changed
3132
Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ pub enum FlockArg {
559559 UnlockNonblock ,
560560}
561561
562- #[ cfg( not( target_os = "redox" ) ) ]
562+ #[ cfg( not( any ( target_os = "redox" , target_os = "solaris" ) ) ) ]
563563pub fn flock( fd: RawFd , arg: FlockArg ) -> Result <( ) > {
564564 use self :: FlockArg :: * ;
565565
You can’t perform that action at this time.
0 commit comments