summaryrefslogtreecommitdiffstats
path: root/src/H5Fpkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-12-01 14:20:41 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-12-01 14:20:41 (GMT)
commitc909c5e7cf43828027e52a21b2dbea220134586b (patch)
tree9b3365e02a583c92d09b59dc77b8e771bb31fa79 /src/H5Fpkg.h
parentb4b16947b781c8e14c3ed874bb082cd76ecc2292 (diff)
downloadhdf5-c909c5e7cf43828027e52a21b2dbea220134586b.zip
hdf5-c909c5e7cf43828027e52a21b2dbea220134586b.tar.gz
hdf5-c909c5e7cf43828027e52a21b2dbea220134586b.tar.bz2
[svn-r17941] Description:
Bring r17939 from trunk to 1.8 branch: Handle external links from symlinked files by adding another check to look for "child" files for links from the actual location of the "parent" file, instead of from the location of the symlink. Tested on: FreeBSD/32 6.3 (duty) (h5committested on trunk)
Diffstat (limited to 'src/H5Fpkg.h')
-rw-r--r--src/H5Fpkg.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/H5Fpkg.h b/src/H5Fpkg.h
index 9dd73b5..f0da958 100644
--- a/src/H5Fpkg.h
+++ b/src/H5Fpkg.h
@@ -222,7 +222,7 @@ typedef struct H5F_file_t {
unsigned gc_ref; /* Garbage-collect references? */
hbool_t latest_format; /* Always use the latest format? */
hbool_t store_msg_crt_idx; /* Store creation index for object header messages? */
- int ncwfs; /* Num entries on cwfs list */
+ int ncwfs; /* Num entries on cwfs list */
struct H5HG_heap_t **cwfs; /* Global heap cache */
struct H5G_t *root_grp; /* Open root group */
H5FO_t *open_objs; /* Open objects in file */
@@ -248,14 +248,12 @@ typedef struct H5F_file_t {
/*
* This is the top-level file descriptor. One of these structures is
* allocated every time H5Fopen() is called although they may contain pointers
- * to shared H5F_file_t structs. The reference count (nrefs) indicates the
- * number of times the file has been opened (the application can only open a
- * file once explicitly, but the library can open the file a second time to
- * indicate that the file is mounted on some other file).
+ * to shared H5F_file_t structs.
*/
struct H5F_t {
unsigned intent; /* The flags passed to H5F_open()*/
- char *name; /* Name used to open file */
+ char *open_name; /* Name used to open file */
+ char *actual_name; /* Actual name of the file, after resolving symlinks, etc. */
char *extpath; /* Path for searching target external link file */
H5F_file_t *shared; /* The shared file info */
unsigned nopen_objs; /* Number of open object headers*/