Commit Graph

3340 Commits

Author SHA1 Message Date
Bill Wendling
b6740c1689 [svn-r6810] Purpose:
Update

Description:
    Some of the TRACE macros were updated to reflect a new parameter.

Platforms tested:
    Linux
    Solaris w/ zlib
    Irix w/ zlib

Misc. update:
2003-05-06 16:05:00 -05:00
Bill Wendling
d30d2ba5b9 [svn-r6807] Purpose:
Change

Description:
    Instead of using the "USE_GPFS" macro, use the "H5_HAVE_GPFS" macro
    which is defined during configuration and then use the new parameter
    to the H5P{get,set}_fapl_mpiposix functions to control if GPFS is
    enabled or not.

Platforms tested:
    Modi4 (only affects the parallel stuff, so no need for full testing).

Misc. update:
2003-05-06 12:44:35 -05:00
Quincey Koziol
e19e9e2a28 [svn-r6803] Purpose:
Code cleanup.

Description:
    Cleaned up a few debugging printfs.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Triple check not needed.
2003-05-06 09:20:31 -05:00
Bill Wendling
117444cc25 [svn-r6797] Purpose:
Feature

Description:
    Added new flag to the H5pubconf.h file --- NO_SHARED_WRITING
    (H5_NO_SHARED_WRITING). It's only defined for CodeWarrior and should
    never be defined for other platforms unless the "open()" bug that CW
    has shows up on other platforms.

Platforms tested:
    Verbena. Configure only, so no need for full tests.

Misc. update:
2003-05-05 16:13:49 -05:00
Bill Wendling
c12f91908b [svn-r6795] Purpose:
Feature Add

Description:
	Added knob so that the programmer can enable or disable GPFS
	hints during runtime instead of having it only enabled at
	configure/compile time. Some of the public APIs were changed
	to add an extra parameter for this option...

Platforms tested:
	Blue (LLNL). It only affects the MPI/POSIX driver, so no need
	to test it on non-GPFS platforms.

Misc. update:
2003-05-05 15:48:33 -05:00
HDF Admin
f69ae67faa [svn-r6793] Snapshot version 1.5 release 52 2003-05-03 06:54:14 -05:00
Quincey Koziol
60754030c7 [svn-r6784] Purpose:
Bug fix

Description:
    Corrected a couple of problems with Ray's v1.4 compat checkin yesterday.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/ & w/o --enable_hdf5v1_4 compat switch
    Triple check unnecessary.
2003-04-30 08:55:51 -05:00
Raymond Lu
11fe5b0657 [svn-r6780] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:49 -05:00
Raymond Lu
b58192dfe7 [svn-r6779] Purpose: Backward compatibility change
Description: 1.4 compatibility for H5G_obj_t type and H5Zregister test.

Solution: use macro H5_WANT_H5_V1_4_COMPAT

Platforms tested: h5committest
2003-04-29 14:49:48 -05:00
MuQun Yang
f555485a00 [svn-r6777] Purpose:
A bug fix for windows.
Description:
Many tests failed on windows when stdio driver is on.
I suspect it is the compiler bug.
After some investigation, the symptom is:
The signature of HDF5 file cannot be found.
The real problem is the signature was appended at the end of the whole
file instead of inserting at the starting of the file.
It seems when the file pointer(signature) is reset to the starting of the file,
windows mis-placed it to the end of the file after finding the file is close to
the end.

Solution:
Fortuately, ftell and fseek still function well on windows,
so I use ftell and fseek to force the file pointer to go to the position it is supposed
to go.

Platforms tested:
since the only change in this file is within ifdef WIN32 macro; it won't
affect the mainstream platforms, so I don't have to three platforms.

Platforms to confirm(test with basic function): Linux 2.4
Platforms to throughly test: windows 2000 with VS6.0
test on three different

Misc. update:
2003-04-29 14:13:21 -05:00
Pedro Vicente Nunes
6c21457720 [svn-r6776] Purpose:
removed and change comments

Description:
removed the modification  comment about the while loop, it is not sufficiently important to be there
changed the "Id to name" comment in the test description, it was incorrecly about other thing

Solution:

Platforms tested:
none , just comments

Misc. update:
2003-04-29 12:30:16 -05:00
Elena Pourmal
2db5bd023a [svn-r6773]
Purpose: Windows maintenance and code cleanup

Description: There were a lot of places in the source code where varibale
             was declared but never used.

Solution: Cleaned the source code to avoid warnings on Windows and Unix
          platforms.

Platforms tested: arabica, modi4, Windows
                  Probably my environment is wrong on Linux, cannot
                  compile at all when fortran is enabled
                  If daily tests fails tomorrow, this will be my fault
                  but I want to go home now :-)

Misc. update:
2003-04-28 19:01:04 -05:00
Albert Cheng
51dd09ec04 [svn-r6769] Purpose:
Minor improvement

Description:
Moved the H5FD_mpio_Debug initialization to H5FD_mpio_init() so
that it is done only once instead of every file open.

Fixed blocked out patch that checks on INFO object so that
H5FD_mpio_Debug can be set via the INFO object.

(All these had been done to v1.4, now folded them int v1.5)

Platforms tested:
Did not h5committest since this is purely parallel code.
The changes were made in an isolated copy in Copper.
Tested in Copper parallel.

Misc. update:
2003-04-28 18:08:35 -05:00
Albert Cheng
83b2e3213a [svn-r6767]
Purpose:
Code cleanup

Description:
Removed debug statement bracketed by H5FDmpiposix_DEBUG or alike.
They were added in by mistakes.

Platforms tested:
Did not h5committested but tested in Copper since there changes are
limited in parallel codes.

Misc. update:
2003-04-28 16:06:40 -05:00
HDF Admin
6b7a945a65 [svn-r6761] Snapshot version 1.5 release 51 2003-04-26 05:03:11 -05:00
Albert Cheng
7f6ece1329 [svn-r6754] Purpose:
Feature

Description:
Added the feature to store and return a duplicate of Communicator in
the access of property list and file operations.  (no duplicate for
INFO object because MPIPOSIX driver does not process INFO object.


Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:25:26 -05:00
Albert Cheng
d2bdbd0480 [svn-r6753] Purpose:
Code cleanup

Description:
Replaced the comm/info freeing with H5FD_mpio_comm_info_free to make
it cleaner and consistent.
Replaced couple FUNC_LEAVE_NOAPI(SUCCEED) with FUNC_LEAVE_NOAPI(ret_value).
These were bugs since it was possible errors may occur at FUNC_ENTER...()
time and this hardcoding would not report those errors.
Documented some modification history.


Platforms tested:
Did not h5committested because these are all MPI code and well protected
by HAVE_PARALLEL.
Tested in eirene and modi4, both parallel mode.

Misc. update:
2003-04-25 09:21:16 -05:00
Quincey Koziol
0462c0bc2c [svn-r6752] Purpose:
Code cleanup

Description:
    Remove some cruft left over from the switch from int->H5G_obj_t

Platforms tested:
    FreeBSD 4.8 (sleipnir), triple check not necessary.
2003-04-25 07:10:44 -05:00
Raymond Lu
6818f6e981 [svn-r6744]
Purpose: A little code rewriting

Description: object types were defined as macros in H5Gpublic.h

Solution: changed them to enumerate type

Platforms tested: h5committtest
2003-04-24 15:15:42 -05:00
Quincey Koziol
46cb3df9f5 [svn-r6738] Purpose:
Code cleanup

Description:
    Add & improve assertion that was removed in last commit, to check for
    compact dataset storage.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    triple check not necessary.
2003-04-23 09:57:38 -05:00
Raymond Lu
696b504a37 [svn-r6731]
Purpose: handling special case

Description: This fletcher32 didn't handle Cray's special data type sizes.


Platforms tested: h5committested.  Cray
2003-04-22 11:54:13 -05:00
Raymond Lu
3f620fc1e1 [svn-r6729]
Purpose: bug fix

Description: VL datatype in compact dataset fails because a wrong type size
	     is used.

Platforms tested: h5committested

Misc. update:
2003-04-22 11:20:25 -05:00
Albert Cheng
7b976dd7a3 [svn-r6728] Purpose:
Silly bug fix.

Description:
Forgot to put the comm/info duplication code in.

Solution:
Put them back in.

Platforms tested:
Did not run h5committest since the changes are all in the MPIO driver code.
Tested on eirene and Modi4, both parallel modes.

Misc. update:
2003-04-22 00:50:12 -05:00
Bill Wendling
fce396c5a7 [svn-r6724] Purpose:
Commenting

Description:
    Added comments to the H5Fget_access_plist function to remind people
    that if they are going to be overwriting a value in the plist which
    was originally opened and inserted into the plist, then it should be
    closed before overwriting that value.

Platforms tested:
    Modi4 (Only comment change, so no h5committest needed).

Misc. update:
2003-04-21 17:43:12 -05:00
Pedro Vicente Nunes
8203a4ce4e [svn-r6721] Purpose:
bug fix

Description:
in the close strong case in H5F_close there was a do..while loop
that executed when nfiles==0, calling malloc(0)
this was causing a failure in the close call in Code Warrior, that returns 0
in the call pt=malloc(0)

Solution:
replaced with a while loop (checks the condition before executing)

Platforms tested:
code warrior, linux

Misc. update:
2003-04-21 17:26:32 -05:00
Bill Wendling
099e781c61 [svn-r6719] Purpose:
Bug Fix

Description:
    A resource leak happened if the H5Fget_access_plist() function was
    called. What was happening: the driver ID and info parts of the
    property list copied in H5Fget_access_plist were being overwritten,
    but those properties were copied initially, so we lost information.

Solution:
    Before copying over those values, call the H5F_acs_close() function
    to close those values.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Arabica (Fortran)
    Verbena (Fortran & C++)

Misc. update:
2003-04-21 13:30:09 -05:00
Albert Cheng
8eb1a6150f [svn-r6711] Purpose:
Bug fix

Description:
Sometimes when H5detect fails (incorrect code, incorrect mpi launch
command, insufficient resources,...), it generates an incomplete or
even empty H5Tinit.c file.  If the empty file is not removed but
the make is run again, make will just use the empty file to generate
the library which will have lots of missing routines.  Make won't
fail until much later and the missing routines would be puzzling
to inexperienced users.

Solution:
If H5detect fails, the generated H5Tinit.c will be removed unless
$HDF5_Make_Ignore is set.  This is similar to removing .o file if
the compile fails.

Platforms tested:
Copper (parallel) which has a condition causing H5detect to fail.
That verified the change works.
Eirene (parallel) in which H5detect runs well.  This verified the
change works in normal conditions too.
Did not do the h5committest because this is just a makefile change
and the above two tests covered it well.

Misc. update:
2003-04-17 23:30:26 -05:00
Albert Cheng
3585f15d91 [svn-r6708] Purpose:
Bug fixes/API changes

Description:
    Previously, the Communicator and Info object arguments supplied
    to H5Pset_fapl_mpio() are stored in the property with its handle
    values.  This meant changes to the communicator or the Info object
    after calling H5Pset_fapl_mpio would affect the how the property
    list function.  This was also the case when H5Fopen/create operated.
    They just stored the handle value.  This is not according to the
    MPI-2 defined behavior of how Info objects should be handled. (MPI-2
    defines Info objects must be parsed when called.)
    The old design was trying to avoid numerous duplicates of the same
    information (e.g., every property object holds one version, every
    file opened holds another version, when all of them are referring to
    the same original version.)  Nevertheless it is safer to implement
    it according to MPI-2 definition.
    Futhermore, the library often needs to do message passing using the
    supplied communicator.  Using the same communicator as the application
    version may result in some messages mix up.
Solution:
    H5Pset_fapl_mpio now stores a duplicate of each of the communicator
    and Info object.
    H5Pget_fapl_mpio returns a duplicate of its stored communicator and
    Info object.  It is now the responsibility of the applications to free
    those objects when done.
    H5Fopen/create also stores a duplicate of the communicator and Info
    object supplied by the File Access Property list.
    H5Fclose frees those duplicates.
    There are a few more internal VFL call back functions that they
    follow this "make duplicates" requirement.

Platforms tested:
"h5committested".
What other platforms/configurations were tested?
    Eirene (mpicc), sol(mpicc), copper(parallel)

Misc. update:
2003-04-17 22:03:52 -05:00
MuQun Yang
7c832af9aa [svn-r6707] Purpose:
A compiling error fixed for windows only

Description:
Use file handler instead of file stream  at H5FDstdio.c when using getfileHandle function of windows.

Solution:
see above, however; stdio driver tests failed on windows. I am still investigating the bug.
The current check will not fix the failure of stdio driver test on windows.
The good news is that it won't affect the release since the default driver used for test is sec2 driver and
all tests passed for sec2 driver on windows.

Platforms tested:
windows 2000 and confirmed at Linux.
Since the only change is two-line code inside #ifdef WIN32 #endif macro block,
it is not necessary to test all UNIX platforms. Still confirmed at eirene.

Misc. update:
2003-04-17 17:19:17 -05:00
Quincey Koziol
eb26303cf4 [svn-r6689] Purpose:
Bug fix.

Description:
    The stdio filer driver is not reducing the file's size in the manner
that the sec2 driver does.

Solution:
    Copy code from the sec2 for handling this properly.

Platforms tested:
    h5committested
2003-04-16 14:24:05 -05:00
Bill Wendling
28d2520341 [svn-r6672] Purpose:
Bug Fix

Description:
    When calling "H5F_get_access_plist" after setting the FAPL to a multi
    driver, and then trying to get the multi driver back, it resulted in
    returing a "NULL" value instead of the driver.

Solution:
    The stuff at the location pointed to by the driver was being stored
    into the property list and not the pointer to the driver itself.
    Changed the "H5P_set" code so that it stores the pointer instead of
    the driver...(Added an "&" in from of the "driver_info" variable).

Platforms tested:
    Arabica (Fortran)
    Burrwhite (Fortran & C++)
    Modi4 (Fortran & Parallel)

Misc. update:
2003-04-14 19:27:11 -05:00
Quincey Koziol
7e0748de22 [svn-r6659] Purpose:
New feature, sorta

Description:
    Track changes to various internal APIs


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-14 00:05:46 -05:00
Quincey Koziol
aa1cedb4f8 [svn-r6658] Purpose:
New feature

Description:
    Track changes in the internal metadata API with clearing the metadata
dirty flag without flushing object.

    Added ability to delete an object header in the file and restore all the
space referenced by various header messages.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-14 00:03:26 -05:00
Quincey Koziol
4e4bdd9163 [svn-r6657] Purpose:
Code cleanup, bug fix & new feature.

Description:
    The local heaps were missed in the last changes to the metadata "dirty"
flag, making them operate incorrectly in the metadata cache.  Fixed by changing
to use "cache_info.dirty" flag instead.

    Track changes for internal metadata API, regarding marking metadata as clean
without flushing it to the file.

    Added ability to delete a local heap in the file.

    Added ability to reduce the size of a  local heap if there is a free-space
block at the end of the heap and the free-space block is over half the size of
the local heap.

    Some migration of package-specific information out of the private header
and into the code module as well.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-14 00:00:20 -05:00
Quincey Koziol
1259957b5e [svn-r6656] Purpose:
Bug fix & new feature.

Description:
    The global heap 'dirty' flag was missed in the last round of changes to
the metadata cache and was not using the new "cache_info.dirty" flag.

Solution:
    Switched to using correct flag for marking dirty objects in the metadata
cache.

    Also, added new metadata callback for marking a piece of metadata as clean
without writing it back to the file.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:54:52 -05:00
Quincey Koziol
1f9f510ad4 [svn-r6655] Purpose:
New feature.

Description:
    Added ability to release space used for storing symbol table entries and
nodes when a group is deleted in a file.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:51:53 -05:00
Quincey Koziol
32aed76605 [svn-r6654] Purpose:
Code cleanup

Description:
    Stop using hard-coded constant for the initial size of the root group's
symbol table local heap and use macro.

    Also, changed existing (unused) macro for the initial heap size to be the
same as the hard-coded constant.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:49:26 -05:00
Quincey Koziol
f37cc25026 [svn-r6653] Purpose:
New feature.

Description:
    Added ability to free space used for storing raw data for both contiguous
and chunked datasets.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:46:56 -05:00
Quincey Koziol
4a0a933366 [svn-r6652] Purpose:
New feature.

Description:
    Update prototypes for recent internal API addition.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:45:08 -05:00
Quincey Koziol
7711ce2a7f [svn-r6651] Purpose:
New feature.

Description:
    Mark an object in the "open object list" as deleted when it's reference
count within the file is reduced to zero and it is only being held open by an
ID in the user's application.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:42:30 -05:00
Quincey Koziol
974119364d [svn-r6650] Purpose:
New feature.

Description:
    Allow the file to shrink as well as expand when flushing a file before
closing it.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:40:27 -05:00
Quincey Koziol
9b60a446b3 [svn-r6649] Purpose:
Bug fix.

Description:
    Corrected fencepost error which was incorrectly checking for merging
metadata at the front of the metadata accumulator.  This now allows the
metadata cache to cache I/O operations more efficiently.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:39:11 -05:00
Quincey Koziol
17937903c4 [svn-r6648] Purpose:
New code.

Description:
    Added internal routine to clear the sieve buffer if it overlaps a address-
length range in the file.  This is used currently to clear the sieve buffer
when an object is deleted from the file.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:37:04 -05:00
Quincey Koziol
cfd1db1786 [svn-r6647] Purpose:
Code cleanup & new feature

Description:
    Track changes to H5AC API (code cleanup)

    Added routine to delete B-tree in file.


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:30:32 -05:00
Quincey Koziol
c54ea2b978 [svn-r6646] Purpose:
Code cleanup, bug fix & new feature.

Description:
    Moved some "package-scope" information out of the private header file and
into the code module. (code cleanup).

    Fixed a few places where the "destroy but don't flush" code wasn't working
correctly, which mostly affects the FPH5 effort. (bug fix).

    Added the ability to "unprotect" a metadata object and delete it at the
same time. (new feature).


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:21:18 -05:00
Quincey Koziol
c2c94ab707 [svn-r6644] Purpose:
Code cleanup

Description:
    Uncompressed buffers can't get to the szip filter's decompression code now
that they are handled correctly by the chunk's filter mask.

Solution:
    Remove handling of uncompressed buffers from szip filter's decompression
code.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    h5committest not necessary & doesn't test szip code.
2003-04-12 07:45:10 -05:00
HDF Admin
e9232d6def [svn-r6643] Snapshot version 1.5 release 50 2003-04-12 04:30:10 -05:00
Bill Wendling
15a0473d74 [svn-r6640] Purpose:
Fix

Description:
    This is an analogue to the previous bug-fix for filters not being
    applied to data written but being applied when read. The old way was
    if the SZlib library couldn't deflate a dataset, then we'd munge
    along pretending that it was okay.

Solution:
    Trigger it as an error in this situation. The H5Z_pipeline code which
    calls this function can clear the error stack if need be.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:13:44 -05:00
Quincey Koziol
e804b4c75b [svn-r6632] Purpose:
Bug fix

Description:
    This fixes a bug in the low-level metadata caching code in the library
which could possibly lose metadata during file I/O when a lot of objects are
inserted into a group.

    This also fixes a couple of (similar) fencepost bugs in the B-tree
deletion code.

Solution:
    For the metadata bug - call the low-level driver's 'write' routine instead
of H5FD_write.

    For the B-tree bug - include the correct number of keys.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel

    (h5committest is still not working for me on burrwhite)

Misc. update:
2003-04-11 11:37:18 -05:00
Bill Wendling
705194a4ea [svn-r6628] Purpose:
Buglet Fix

Description:
    When filtering data, those filters which failed and are optional
    weren't being specified inside of the H5Z_pipeline() function like
    they're supposed to be.

Solution:
    Modified the code to set the appropriate bit in the "failed" flag to
    say that the filter failed if it did and was optional. Removed some
    cases of setting the "failed" flag where it didn't have any effect
    (like, right before an HGOTO_ERROR() statement).

Platforms tested:
    Burrwhite (Fortran)
    Arabica (Fortran)
    Modi4 (Parallel & Fortran)

Misc. update:
2003-04-10 13:34:00 -05:00