Commit 873a7fa
committed
io/ompio: fix get_byte_offset for 0-size fview
Handle a file view size of 0 correctly in File_get_byte_offset to avoid
a division by zero problem.
Fixes Issue open-mpi#8841
Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu>1 parent 9f74df9 commit 873a7fa
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
522 | 527 | | |
523 | 528 | | |
524 | 529 | | |
| |||
0 commit comments