summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2002-12-04 15:44:03 (GMT)
committerRobb Matzke <matzke@llnl.gov>2002-12-04 15:44:03 (GMT)
commite9f828ecfb2de86cef4a7d60e8d76edfc1e0d893 (patch)
tree9f961956e48597bcb1bb3b0365bddf2e5ea9b696
parentdc7de8f7156f44d9b37bc1d3494ec2579198917f (diff)
downloadhdf5-e9f828ecfb2de86cef4a7d60e8d76edfc1e0d893.zip
hdf5-e9f828ecfb2de86cef4a7d60e8d76edfc1e0d893.tar.gz
hdf5-e9f828ecfb2de86cef4a7d60e8d76edfc1e0d893.tar.bz2
[svn-r6177] ./hdf5-devel/src/H5E.c
Purpose: New Feature; Optimization; Clean-up (Merged from 1.4 branch) Description: There is no symbolic constant to pass to functions that take an optional object ID for when the caller wants to indicate no object ID. In the past the caller always passed a negative integer. GPFS performs poorly. The h5ls tool decides whether to list the file name in the output based on a compile-time choice, which isn't always optimal at run time. Solution: Added a symbolic constant H5I_INVALID_HID. Added code to tell the mmfsd of GPFS to forego byte range token prefetching. h5ls decides whether to print the file name at runtime based on the number of objects being listed. Platforms tested: SuSE Linux (arborea), gcc and mpich-1.2.4 SunOS (baldric), gcc 2002-12-03 22:50:23 Robb Matzke <matzke@arborea.spizella.com> *: Added H5E_FCNTL minor error number.
-rw-r--r--src/H5E.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 260ab1c..98bfe1d 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -109,6 +109,7 @@ static const H5E_minor_mesg_t H5E_minor_mesg_g[] = {
{H5E_WRITEERROR, "Write failed"},
{H5E_CLOSEERROR, "Close failed"},
{H5E_OVERFLOW, "Address overflowed"},
+ {H5E_FCNTL, "File control (fcntl) failed"},
/* Function entry/exit interface errors */
{H5E_CANTINIT, "Unable to initialize object"},