[svn-r22061] Description:

Change to use versioned API call, to avoid problems when defaulting to
older AI versions.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug
This commit is contained in:
Quincey Koziol 2012-03-13 09:38:37 -05:00
parent c17a5d1278
commit 46a289c796

View File

@ -156,7 +156,7 @@ h5tools_close(void)
if (h5tools_init_g) {
H5Eget_auto2(H5tools_ERR_STACK_g, &tools_func, &tools_edata);
if(tools_func!=NULL)
H5Eprint(H5tools_ERR_STACK_g, rawerrorstream);
H5Eprint2(H5tools_ERR_STACK_g, rawerrorstream);
if (rawdatastream && rawdatastream != stdout) {
if (fclose(rawdatastream))
perror("closing rawdatastream");