Skip to content

Commit

Permalink
CHANGELOG entry
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Oct 5, 2023
1 parent 4dfccde commit efe0379
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
MacOS, FreeBSD, DragonflyBSD, Android, iOS and Haiku.
([#2074](https://github.com/nix-rust/nix/pull/2074))

- Added `F_KINFO` FcntlFlags entry on FreeBSD for `::nix::fcntl`.
([#2152](https://github.com/nix-rust/nix/pull/2152))

## [0.27.1] - 2023-08-28

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions src/fcntl.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::errno::Errno;
#[cfg(target_os = "freebsd")]
#[cfg(all(target_os = "freebsd", target_arch = "x86_64"))]
use core::slice;
use libc::{self, c_int, c_uint, size_t, ssize_t};
#[cfg(any(
Expand Down Expand Up @@ -509,7 +509,7 @@ pub enum FcntlArg<'a> {
F_SETPIPE_SZ(c_int),
#[cfg(any(target_os = "netbsd", target_os = "dragonfly", target_os = "macos", target_os = "ios"))]
F_GETPATH(&'a mut PathBuf),
#[cfg(target_os = "freebsd")]
#[cfg(all(target_os = "freebsd", target_arch = "x86_64"))]
F_KINFO(&'a mut PathBuf),
// TODO: Rest of flags
}
Expand Down

0 comments on commit efe0379

Please sign in to comment.