diff options
author | Robb Matzke <matzke@llnl.gov> | 2000-06-23 17:45:31 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 2000-06-23 17:45:31 (GMT) |
commit | 6f8f4a3c6e5f1f2fa04bccd84d7555e1cef08e63 (patch) | |
tree | 11380aff92f39857d66174eb3015f911aff2af9b /src/H5FDlog.c | |
parent | 2c56fcbe237d71cc7da4ff89ddd087c0d46c34a5 (diff) | |
download | hdf5-6f8f4a3c6e5f1f2fa04bccd84d7555e1cef08e63.zip hdf5-6f8f4a3c6e5f1f2fa04bccd84d7555e1cef08e63.tar.gz hdf5-6f8f4a3c6e5f1f2fa04bccd84d7555e1cef08e63.tar.bz2 |
[svn-r2410] Changed H5MM_strdup() to H5MM_xstrdup() so we get a core dump sooner
if allocation fails.
Diffstat (limited to 'src/H5FDlog.c')
-rw-r--r-- | src/H5FDlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5FDlog.c b/src/H5FDlog.c index 9e3851f..ab76e95 100644 --- a/src/H5FDlog.c +++ b/src/H5FDlog.c @@ -262,7 +262,7 @@ H5Pset_fapl_log(hid_t fapl_id, const char *logfile, int verbosity) if (H5P_FILE_ACCESS!=H5Pget_class(fapl_id)) HRETURN_ERROR(H5E_PLIST, H5E_BADTYPE, FAIL, "not a fapl"); - fa.logfile = H5MM_strdup(logfile); + fa.logfile = H5MM_xstrdup(logfile); fa.verbosity=verbosity; ret_value= H5Pset_driver(fapl_id, H5FD_QAK, &fa); |