summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-06-23 17:45:31 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-06-23 17:45:31 (GMT)
commit6f8f4a3c6e5f1f2fa04bccd84d7555e1cef08e63 (patch)
tree11380aff92f39857d66174eb3015f911aff2af9b
parent2c56fcbe237d71cc7da4ff89ddd087c0d46c34a5 (diff)
downloadhdf5-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.
-rw-r--r--src/H5FDlog.c2
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);