Skip to content

Commit 23c8155

Browse files
authored
Mark posix_fallocate as supported on AIX (#1031)
AIX actually supports posix_fallocate procedure, although the fully functioning fallocate is not available.
1 parent 557c6ae commit 23c8155

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/backend/libc/fs/syscalls.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ use crate::fs::AtFlags;
3030
#[cfg(not(any(
3131
netbsdlike,
3232
solarish,
33-
target_os = "aix",
3433
target_os = "dragonfly",
3534
target_os = "espidf",
3635
target_os = "nto",
@@ -1616,7 +1615,6 @@ fn futimens_old(fd: BorrowedFd<'_>, times: &Timestamps) -> io::Result<()> {
16161615
apple,
16171616
netbsdlike,
16181617
solarish,
1619-
target_os = "aix",
16201618
target_os = "dragonfly",
16211619
target_os = "espidf",
16221620
target_os = "nto",

src/backend/libc/fs/types.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,6 @@ bitflags! {
789789
#[cfg(not(any(
790790
netbsdlike,
791791
solarish,
792-
target_os = "aix",
793792
target_os = "espidf",
794793
target_os = "nto",
795794
target_os = "redox",

src/fs/fd.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use backend::fd::{AsFd, BorrowedFd};
1010
#[cfg(not(any(
1111
netbsdlike,
1212
solarish,
13-
target_os = "aix",
1413
target_os = "dragonfly",
1514
target_os = "espidf",
1615
target_os = "nto",
@@ -231,7 +230,6 @@ pub fn futimens<Fd: AsFd>(fd: Fd, times: &Timestamps) -> io::Result<()> {
231230
#[cfg(not(any(
232231
netbsdlike,
233232
solarish,
234-
target_os = "aix",
235233
target_os = "dragonfly",
236234
target_os = "espidf",
237235
target_os = "nto",

0 commit comments

Comments
 (0)