Changeset cefc59f for libcfa/src
- Timestamp:
- Apr 24, 2020, 12:11:44 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 13099a8b
- Parents:
- 93ace83 (diff), 2a01c9b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io.cfa
r93ace83 rcefc59f 603 603 int async_statx(int dirfd, const char *pathname, int flags, unsigned int mask, struct statx *statxbuf) { 604 604 #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 ); 606 607 #else 607 608 __submit_prelude -
libcfa/src/iostream.cfa
r93ace83 rcefc59f 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Apr 22 10:50:46202013 // Update Count : 9 3312 // Last Modified On : Thu Apr 23 17:33:32 2020 13 // Update Count : 942 14 14 // 15 15 … … 593 593 (ostype &)(os | fmt | "" | fmt2); \ 594 594 } else if ( f.base == 'o' ) { \ 595 if ( fmt.flags.pc && fmt.pc > 2 1 ) fmt.pc -= 21; \595 if ( fmt.flags.pc && fmt.pc > 22 ) fmt.pc -= 22; \ 596 596 if ( fmt.flags.left ) { \ 597 597 fmt.flags.left = false; \ 598 598 fmt.wd = 1; \ 599 599 fmt.val = (unsigned long long int)fmt.val >> 2; \ 600 printf( "L %llo %d %d '%c' %x\n", fmt.val, fmt.wd, fmt.pc, fmt.base, fmt.all ); \ 600 601 fmt2.wd = 1; \ 601 602 fmt2.val = ((msig & 0x3) << 1) + 1; \ … … 603 604 sepOff( os ); \ 604 605 fmt2.flags.left = true; \ 605 fmt2.wd = f.wd - ( ceiling( high1( fmt.val ), 3 ) + 1 ); \ 606 int msigd = ceiling( high1( fmt.val ), 3 ) + 1; \ 607 fmt2.wd = f.wd - (fmt.pc > msigd ? fmt.pc : msigd); \ 608 if ( fmt2.wd < 0 ) fmt2.wd = 21; \ 606 609 fmt2.flags.pc = true; fmt2.pc = 21; \ 607 if ( ! fmt.flags.nobsdp ) { fmt2.wd-= 1; } \610 if ( ! fmt.flags.nobsdp ) { if ( fmt.pc < fmt.wd ) fmt.wd -= 1; else fmt.pc -= 1; } \ 608 611 fmt2.val = lsig & 0x7fffffffffffffff; \ 609 612 (ostype &)(os | fmt2); \
Note: See TracChangeset
for help on using the changeset viewer.