Skip to content

Commit

Permalink
Enable OFlag::O_DIRECTORY for Solarish (#2275)
Browse files Browse the repository at this point in the history
* No longer omit O_DIRECTORY for Solarish

* Add changelog

* Change changelog type and message
  • Loading branch information
travispaul committed Dec 27, 2023
1 parent e73182c commit 4e2d917
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions changelog/2275.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable `OFlag::O_DIRECTORY for Solarish
1 change: 0 additions & 1 deletion src/fcntl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ libc_bitflags!(
))]
O_DIRECT;
/// If the specified path isn't a directory, fail.
#[cfg(not(solarish))]
O_DIRECTORY;
/// Implicitly follow each `write()` with an `fdatasync()`.
#[cfg(any(linux_android, apple_targets, netbsdlike))]
Expand Down

0 comments on commit 4e2d917

Please sign in to comment.