Skip to content

Commit

Permalink
Add posix_fallocate on DragonFly
Browse files Browse the repository at this point in the history
  • Loading branch information
rtzoeller committed Dec 27, 2021
1 parent a392647 commit 1eeccb9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
(#[1581](https://github.com/nix-rust/nix/pull/1581))
- Added `sched_setaffinity` and `sched_getaffinity` on DragonFly.
(#[1537](https://github.com/nix-rust/nix/pull/1537))
- Added `posix_fallocate` on DragonFly.
(#[1621](https://github.com/nix-rust/nix/pull/1621))
- Added the `SO_TIMESTAMPING` support
(#[1547](https://github.com/nix-rust/nix/pull/1547))

Expand Down
1 change: 1 addition & 0 deletions src/fcntl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,7 @@ mod posix_fadvise {
#[cfg(any(
target_os = "linux",
target_os = "android",
target_os = "dragonfly",
target_os = "emscripten",
target_os = "fuchsia",
any(target_os = "wasi", target_env = "wasi"),
Expand Down
1 change: 1 addition & 0 deletions test/test_fcntl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ mod test_posix_fadvise {

#[cfg(any(target_os = "linux",
target_os = "android",
target_os = "dragonfly",
target_os = "emscripten",
target_os = "fuchsia",
any(target_os = "wasi", target_env = "wasi"),
Expand Down

0 comments on commit 1eeccb9

Please sign in to comment.