Merge pull request #98 in HDFFV/hdf5 from ~BMRIBLER/hdf5_1_8_bmr_packet_table:hdf5_1_8 to hdf5_1_8
Commit my improvement to test_packet_vlen.c along with an old commit from the trunk.
* commit '12a26c2374d01076c34005d458cf0970a9cf30b1':
Description: - Merged my commits to develop that fixed HDFFV-9758: b3b7ae087edbc20891a088db2f4e4f83e186c8b0 14e308b2e6eada778818abf53949ceef0e7b2a34 - Merged a commit from trunk by Quincey: commit ec2fbe0883f9e76df60bcfbebbd4b6f62d5a09e6 Author: Quincey Koziol <koziol@hdfgroup.org> Date: Thu Jul 7 13:54:11 2016 -0500
Purpose: Fixed Packet Table issues Description: - Removed calls to H5Tget_native_type from PT APIs because it is up to the application, whether it wants the buffer to be read into memory in the machine’s native architecture. Currently, however, the PT doesn't allow an application to specify memory datatype. Perhaps, a new API can be added to provide that capability. - Added calls to H5Tcopy to H5PTcreate/H5PTcreate_fl/H5PTopen to save a copy of the application's datatype or the dataset's datatype. - Added various missing H5Tclose to the packet table tests, and various error checkings. Note: leave out changes to test_packet_vlen.c for this commit to wait on QAK about merging the commit ec2fbe0883f9e76df60bcfbebbd4b6f62d5a09e6 [svn-r30158] first. This commit is associated with develop's commits: 14e308b2e6eada778818abf53949ceef0e7b2a34 be613da6b804e56a51f43a053bf35d898dccb420 Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)