Changeset 5db836e


Ignore:
Timestamp:
Jul 16, 2020, 4:17:36 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
cf48a14
Parents:
c82af9f
Message:

Removed left over call to sendfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/iocall.cfa

    rc82af9f r5db836e  
    347347int cfa_statx(int dirfd, const char *pathname, int flags, unsigned int mask, struct statx *statxbuf) {
    348348        #if !defined(HAVE_LINUX_IO_URING_H) || !defined(IORING_OP_STATX)
    349                 return syscall( __NR_statx, dirfd, pathname, flags, mask, statxbuf );
     349                #if defined(__NR_statx)
     350                        return syscall( __NR_statx, dirfd, pathname, flags, mask, statxbuf );
     351                #else
     352                        errno = ENOTSUP;
     353                        return -1;
     354                #endif
    350355        #else
    351356                __submit_prelude
     
    512517
    513518                if( /*func == (fptr_t)splice || */
    514                         func == (fptr_t)cfa_splice ||
    515                         func == (fptr_t)cfa_sendfile )
     519                        func == (fptr_t)cfa_splice )
    516520                        #define _CFA_IO_FEATURE_IORING_OP_SPLICE ,
    517521                        return IS_DEFINED(IORING_OP_SPLICE);
Note: See TracChangeset for help on using the changeset viewer.