diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-09-15 19:27:23 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-09-15 19:27:23 (GMT) |
commit | 8656a64d002335cdb40b846dd8eb9013cc295226 (patch) | |
tree | 031cfb619394dc14a59887c3318de2cd3d52dd98 /src/H5G.c | |
parent | 0cd492bb8e5fb8db0d227ad1fc6073be14e36b44 (diff) | |
download | hdf5-8656a64d002335cdb40b846dd8eb9013cc295226.zip hdf5-8656a64d002335cdb40b846dd8eb9013cc295226.tar.gz hdf5-8656a64d002335cdb40b846dd8eb9013cc295226.tar.bz2 |
[svn-r83] Bug fixed in H5G_namei().
Arg type changes in H5Bprivate.h
Sorted Makefile.in
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -263,6 +263,11 @@ H5G_namei (hdf5_file_t *f, H5G_entry_t *cwd, const char *name, H5O_reset (H5O_NAME, &mesg); *base = *dir; aside = TRUE; + } else { + /* component not found */ + H5O_reset (H5O_NAME, &mesg); + if (dir_ent) *dir_ent = *dir; + HRETURN_ERROR (H5E_DIRECTORY, H5E_NOTFOUND, -2); } H5O_reset (H5O_NAME, &mesg); } else { |