We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54246a3 commit 82c0f68Copy full SHA for 82c0f68
libc/src/unistd/linux/dup2.cpp
@@ -32,7 +32,6 @@ LLVM_LIBC_FUNCTION(int, dup2, (int oldfd, int newfd)) {
32
int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_fcntl, oldfd, F_GETFD);
33
#elif defined(SYS_fcntl64)
34
// Same as fcntl but can handle large offsets
35
- static_assert(sizeof(off_t) == 8);
36
int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_fcntl64, oldfd, F_GETFD);
37
#else
38
#error "SYS_fcntl and SYS_fcntl64 syscalls not available."
0 commit comments