[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39491] Change H5Giterate to H5Literate
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #39491] Change H5Giterate to H5Literate |
Date: |
Wed, 17 Jul 2013 05:19:15 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 |
Update of bug #39491 (project octave):
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #2:
This shouldn't be that difficult to fix if someone has a little time. The old
API for the H5Giterate function is here
(http://www.hdfgroup.org/HDF5/doc/RM/H5G/H5Giterate.htm). The replacement
function is here
(http://www.hdfgroup.org/HDF5/doc/RM/RM_H5L.html#Link-Iterate). They function
prototypes aren't quite the same so someone will have to do a little reading
to see how to replace the function. The function only appears a few times in
the code. Below is a grep in the source tree.
./corefcn/ls-hdf5.cc:237:// This function is designed to be passed to
H5Giterate, which calls it
./corefcn/ls-hdf5.cc:243:// It returns 1 on success (in which case H5Giterate
stops and returns),
./corefcn/ls-hdf5.cc:244:// -1 on error, and 0 to tell H5Giterate to continue
on to the next item
./corefcn/ls-hdf5.cc:592: herr_t H5Giterate_retval = -1;
./corefcn/ls-hdf5.cc:603: H5Giterate_retval = H5Giterate (hs.file_id, "/",
&hs.current_item,
./corefcn/ls-hdf5.cc:606: if (H5Giterate_retval > 0)
./corefcn/ls-hdf5.cc:614: // an error occurred (H5Giterate_retval < 0) or
there are no
./octave-value/ov-fcn-handle.cc:1154: if (H5Giterate
(group_hid, "symbol table", ¤t_item,
./octave-value/ov-struct.cc:1038: && (retval2 = H5Giterate (loc_id,
name, ¤t_item,
./octave-value/ov-struct.cc:1671: && (retval2 = H5Giterate (loc_id,
name, ¤t_item,
./octave-value/ov-cell.cc:1237: retval2 = H5Giterate (loc_id, name,
¤t_item,
./octave-value/ov-class.cc:1768: && (retval2 = H5Giterate (group_hid,
name, ¤t_item,
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39491>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/