summaryrefslogtreecommitdiffstats
path: root/mpi/mpi-types.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-01-25 21:20:12 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-01-25 21:20:12 -0800
commitf1086fe65e26498eb4135daf57d7c9089ecba6a8 (patch)
tree0a372bdacf63bdb98769640291ba01e014626c52 /mpi/mpi-types.h
parent7002d26ace1efc64f51bd3394b70621802ddb9b3 (diff)
downloadtxr-f1086fe65e26498eb4135daf57d7c9089ecba6a8.tar.gz
txr-f1086fe65e26498eb4135daf57d7c9089ecba6a8.tar.bz2
txr-f1086fe65e26498eb4135daf57d7c9089ecba6a8.zip
streams: use Boolean return value for stdio_fseek.
* stream.c (stdio_seek): Handle new-style Boolean return from stdio_fseek. * sysif.c (stdio_fseek): Return an int indication that is 1 for success, 0 for failure. There was a mistaken assumption here that fseeko returns the file offset, and the return value in the fseek case was mistakenly harmonized, using a wasteful call to stdio_ftell. The only call to this function relies only on a Boolean success/fail indication. * sysif.h (stdio_fseek): Declaration updated.
Diffstat (limited to 'mpi/mpi-types.h')
0 files changed, 0 insertions, 0 deletions