Hi Ed,
Hmm, OK, I'll look into this later today and see if I can get a fix into
CVS for you.
Quincey
> As suggested in the ref manual I am using H5Gget_objinfo to test for
> the existence of an object in a HDF5 file.
>
> When I pass NULL as the last argument, I get a segmentation
> fault. When I pass in a valid hunk of memory, it works.
>
> I believe the docs say that I can pass a NULL here to test for object
> existence without caring about the contents of the H5G_stat_t
> struct...
>
> Here's the code that works:
>
> H5G_stat_t info;
> if (H5Gget_objinfo(grp->hdf_grpid, var->name, 1, &info) >= 0)
> replace_existing_var++;
>
> Sorry, I'm blazing through something here and don't have time to
> isolate this one in it's own program yet...
>
> Thanks!
>
> Ed
>
> --
> Ed Hartnett -- ed@xxxxxxxxxxxxxxxx
>