summaryrefslogtreecommitdiffstats
path: root/src/H5Lexternal.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-04-04 04:26:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-04-04 04:26:12 (GMT)
commitbd7499db1fb2c73352943c2d365c71a8cce7421b (patch)
tree4d24f041093576319f9357d5714e39398d7b7511 /src/H5Lexternal.c
parent16f45fc25a3b24eab31ac846cde0851179e3d7bf (diff)
downloadhdf5-bd7499db1fb2c73352943c2d365c71a8cce7421b.zip
hdf5-bd7499db1fb2c73352943c2d365c71a8cce7421b.tar.gz
hdf5-bd7499db1fb2c73352943c2d365c71a8cce7421b.tar.bz2
[svn-r20407] Description:
Bring r20406 from trunk to 1.8 branch: Refactor root group routines to centralize and simplify them some. Also patch root group's file pointer when it doesn't match the querying file, from H5G_rootof. Tested on: Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode (h5committested on trunk)
Diffstat (limited to 'src/H5Lexternal.c')
-rw-r--r--src/H5Lexternal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Lexternal.c b/src/H5Lexternal.c
index 2ac0726..74ef46b 100644
--- a/src/H5Lexternal.c
+++ b/src/H5Lexternal.c
@@ -434,7 +434,7 @@ H5L_extern_traverse(const char UNUSED *link_name, hid_t cur_group,
/* Retrieve the "group location" for the file's root group */
- if(H5G_loc_root(ext_file, &root_loc) < 0)
+ if(H5G_root_loc(ext_file, &root_loc) < 0)
HGOTO_ERROR(H5E_SYM, H5E_BADVALUE, FAIL, "unable to create location for file")
/* Open the object referenced in the external file */