Displaying 3 results from an estimated 3 matches for "do_hdf5load".
2011 Mar 04
2
Fixing the HDF5 package: the on.exit mystery
...e HDF5 format. The bug appeared during a period in which R changed
but the package did not.
I include below both the R and C code, stripped of everything except what is
needed to show the bug. What is supposed to happen is
(*) the user calls R function hdf5load()
(*) hdf5load() calls C function do_hdf5load()
(*) do_hdf5load() opens the HDF5 file recording its HDF5 file id (fid)
(*) do_hdf5load() calls C function setup_onexit, passing fid to it
(*) setup_onexit sets up the on.exit call to be R function hdf5cleanup with
fid as its argument
(*) C function do_hdf5load() walks the HDF5 file's tree s...
2000 Jan 29
1
HDF5 as a module
...00/01/29 00:23:18
***************
*** 515,522 ****
{"parse", do_parse, 0, 11, 4, PP_FUNCALL},
{"save", do_save, 0, 111, 4, PP_FUNCALL},
{"load", do_load, 0, 111, 2, PP_FUNCALL},
- {"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL},
- {"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL},
{"deparse", do_deparse, 0, 11, 2, PP_FUNCALL},
{"dput", do_dput, 0, 111, 2, PP_FUNCALL},
{"dump", do_dump, 0, 111, 2, PP_FUNCALL},
--- 515,520 ----
Index: src/main/names.h
==================================================================...
1999 Jan 27
0
load() patch
...if
{"parse", do_parse, 0, 11, 4, PP_FUNCALL},
{"save", do_save, 0, 111, 3, PP_FUNCALL},
-{"load", do_load, 0, 111, 1, PP_FUNCALL},
+{"load", do_load, 0, 111, 2, PP_FUNCALL},
{"hdf5save", do_hdf5save, 0, 0, -1, PP_FUNCALL},
{"hdf5load", do_hdf5load, 0, 11, 2, PP_FUNCALL},
{"deparse", do_deparse, 0, 11, 2, PP_FUNCALL},
diff -r --unified R-0.63.2.orig/src/main/saveload.c R-0.63.2/src/main/saveload.c
--- R-0.63.2.orig/src/main/saveload.c Tue Nov 10 19:23:54 1998
+++ R-0.63.2/src/main/saveload.c Tue Jan 26 16:14:57 1999
@@ -1136,7 +11...