diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2002-03-01 21:10:29 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2002-03-01 21:10:29 (GMT) |
commit | 0bb7111f436731fc765b00c8ef17368d1f57b126 (patch) | |
tree | e5e64bc9e8e475c24ccc01da98c88ffb19d60553 /c++/src/H5File.cpp | |
parent | 3f4184c6d3795acad440206f0bd88d89df21a137 (diff) | |
download | hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.zip hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.gz hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.bz2 |
[svn-r5030]
Purpose:
Small bug fixing
Description:
Replaced NULL by 0 for initializing or passing null "string".
The problem showed up on platinum.
Platforms tested:
SunOS 5.7 (arabica)
Linux 6.2 (eirene)
IA-32 Linux Cluster (platinum)
Diffstat (limited to 'c++/src/H5File.cpp')
-rw-r--r-- | c++/src/H5File.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5File.cpp b/c++/src/H5File.cpp index 9a668c4..4b92806 100644 --- a/c++/src/H5File.cpp +++ b/c++/src/H5File.cpp @@ -155,7 +155,7 @@ void H5File::p_close() const herr_t ret_value = H5Fclose( id ); if( ret_value < 0 ) { - throw FileIException(NULL, "H5Fclose failed"); + throw FileIException(0, "H5Fclose failed"); } } |