[svn-r17972] Description:
Bring r17971 from trunk to 1.8 branch:
Allow the core VFD to properly support opening backing store files through
symbolic links and have the external links in the file be treated in the same
way as for the sec2 driver.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committested on trunk)
This commit is contained in:
@@ -328,19 +328,18 @@ done:
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
/* ARGSUSED */
|
||||
static H5FD_t *
|
||||
H5FD_sec2_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
|
||||
{
|
||||
int o_flags;
|
||||
int fd=(-1);
|
||||
H5FD_sec2_t *file=NULL;
|
||||
H5FD_sec2_t *file = NULL; /* sec2 VFD info */
|
||||
int fd = (-1); /* File descriptor */
|
||||
int o_flags; /* Flags for open() call */
|
||||
#ifdef _WIN32
|
||||
HFILE filehandle;
|
||||
struct _BY_HANDLE_FILE_INFORMATION fileinfo;
|
||||
#endif
|
||||
h5_stat_t sb;
|
||||
H5FD_t *ret_value;
|
||||
H5FD_t *ret_value; /* Return value */
|
||||
|
||||
FUNC_ENTER_NOAPI(H5FD_sec2_open, NULL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user