summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-04-19 15:11:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-04-19 15:11:29 (GMT)
commit793f7c72dcf3a9875f5162091f4047e6caed6de5 (patch)
treee4a02bf1a446234570dc8e939f22f6b6cd01958f /src/H5G.c
parent721c3fb6b6c99a8d4a054d30dfbc37d8c73407d3 (diff)
downloadhdf5-793f7c72dcf3a9875f5162091f4047e6caed6de5.zip
hdf5-793f7c72dcf3a9875f5162091f4047e6caed6de5.tar.gz
hdf5-793f7c72dcf3a9875f5162091f4047e6caed6de5.tar.bz2
[svn-r8388] Purpose:
Bug fix Description: Fix small problem with 1.4 backward compatibility Platforms tested: FreeBSD 4.9 (sleipnir) w/1.4 backward compatibility
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5G.c b/src/H5G.c
index e615963..91c3643 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -2566,7 +2566,11 @@ H5G_get_objinfo (H5G_entry_t *loc, const char *name, hbool_t follow_link,
statbuf->mtime = 0;
}
}
- statbuf->type = (H5G_obj_t)H5G_get_type(&obj_ent, dxpl_id);
+ statbuf->type =
+#ifndef H5_WANT_H5_V1_4_COMPAT
+ (H5G_obj_t)
+#endif /*H5_WANT_H5_V1_4_COMPAT*/
+ H5G_get_type(&obj_ent, dxpl_id);
H5E_clear(); /*clear errors resulting from checking type*/
/* Get object header information */