summaryrefslogtreecommitdiffstats
path: root/src/H5FDmpiposix.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-12-29 19:34:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-12-29 19:34:11 (GMT)
commit5db6c61f18198ac4477a6ba99d405ff82cf467a7 (patch)
tree4cf9ef4d947830f28f12d110148c3bfea6ff49e9 /src/H5FDmpiposix.c
parentb6fd9f9d760dbe4e6ab530b12e0672088570224a (diff)
downloadhdf5-5db6c61f18198ac4477a6ba99d405ff82cf467a7.zip
hdf5-5db6c61f18198ac4477a6ba99d405ff82cf467a7.tar.gz
hdf5-5db6c61f18198ac4477a6ba99d405ff82cf467a7.tar.bz2
[svn-r7993] Purpose:
Code cleanup, bug fixes Description: Wrap up rest of changes necessary for fixing the "short" MPI-I/O read problem that Robb reported. Platforms tested: FreeBSD 4.9 (sleipnir) too minor to require h5committest
Diffstat (limited to 'src/H5FDmpiposix.c')
-rw-r--r--src/H5FDmpiposix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c
index 647fb35..4dadb1b 100644
--- a/src/H5FDmpiposix.c
+++ b/src/H5FDmpiposix.c
@@ -1209,7 +1209,7 @@ H5FD_mpiposix_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id,
if (0==nbytes) {
/* end of file but not end of format address space */
HDmemset(buf, 0, size);
- size = 0;
+ break;
} /* end if */
assert(nbytes>=0);
assert((size_t)nbytes<=size);