[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:
Quincey Koziol
2009-12-06 22:27:19 -05:00
parent 77a3cc2292
commit 1d8a1b22f1
8 changed files with 118 additions and 58 deletions

View File

@@ -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)