Changeset 8962722


Ignore:
Timestamp:
Apr 22, 2020, 6:04:31 PM (18 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
2489d31, 2a01c9b
Parents:
b8c1307
Message:

Replace statx call with syscall since it is not on all machines

File:
1 edited

Legend:

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

    rb8c1307 r8962722  
    603603        int async_statx(int dirfd, const char *pathname, int flags, unsigned int mask, struct statx *statxbuf) {
    604604                #if !defined(IORING_OP_STATX)
    605                         return statx( dirfd, pathname, flags, mask, statxbuf );
     605                        //return statx( dirfd, pathname, flags, mask, statxbuf );
     606                        return syscall( __NR_io_uring_setup, dirfd, pathname, flags, mask, statxbuf );
    606607                #else
    607608                        __submit_prelude
Note: See TracChangeset for help on using the changeset viewer.