mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r6172] Purpose:
Bug fix Description: Correct another missing field I overlooked earlier.
This commit is contained in:
parent
7662d643fa
commit
2de9d78474
@ -86,8 +86,9 @@ typedef struct H5FD_mpiposix_t {
|
||||
haddr_t eoa; /*end-of-address marker */
|
||||
haddr_t last_eoa; /* Last known end-of-address marker */
|
||||
haddr_t pos; /* Current file I/O position */
|
||||
hsize_t naccess; /* Number of (write) accesses to file */
|
||||
int op; /* Last file I/O operation */
|
||||
hsize_t naccess; /* Number of (write) accesses to file */
|
||||
size_t blksize; /* Block size of file system */
|
||||
#ifndef WIN32
|
||||
/*
|
||||
* On most systems the combination of device and i-node number uniquely
|
||||
@ -677,6 +678,7 @@ H5FD_mpiposix_open(const char *name, unsigned flags, hid_t fapl_id,
|
||||
/* Set the general file information */
|
||||
file->fd = fd;
|
||||
file->eof = sb.st_size;
|
||||
file->blksize = sb.st_blksize;
|
||||
|
||||
/* Set the MPI information */
|
||||
file->comm = fa->comm;
|
||||
|
Loading…
Reference in New Issue
Block a user