Skip to content

Commit 4e2d917

Browse files
authored
Enable OFlag::O_DIRECTORY for Solarish (#2275)
* No longer omit O_DIRECTORY for Solarish * Add changelog * Change changelog type and message
1 parent e73182c commit 4e2d917

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

changelog/2275.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Enable `OFlag::O_DIRECTORY for Solarish

src/fcntl.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ libc_bitflags!(
9696
))]
9797
O_DIRECT;
9898
/// If the specified path isn't a directory, fail.
99-
#[cfg(not(solarish))]
10099
O_DIRECTORY;
101100
/// Implicitly follow each `write()` with an `fdatasync()`.
102101
#[cfg(any(linux_android, apple_targets, netbsdlike))]

0 commit comments

Comments
 (0)