summaryrefslogtreecommitdiffstats
path: root/src/H5HL.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /src/H5HL.c
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5HL.c')
-rw-r--r--src/H5HL.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5HL.c b/src/H5HL.c
index 72a1005..ee31ecc 100644
--- a/src/H5HL.c
+++ b/src/H5HL.c
@@ -870,11 +870,11 @@ H5HL_offset_into(H5F_t *f, const H5HL_t *heap, size_t offset)
* Modifications:
*
* John Mainzer - 6/8/05/
- * Modified function to use the new dirtied parmeter of
+ * Modified function to use the new dirtied parmeter of
* H5AC_unprotect(), which allows management of the is_dirty
* field of the cache info to be moved into the cache code.
*
- * This required the addition of the heap_dirtied parameter
+ * This required the addition of the heap_dirtied parameter
* to the function's parameter list.
*
*-------------------------------------------------------------------------
@@ -947,7 +947,7 @@ H5HL_remove_free(H5HL_t *heap, H5HL_free_t *fl)
* The ADDR argument is passed by value.
*
* John Mainzer, 6/7/05
- * Modified code to use the dirtied parameter of
+ * Modified code to use the dirtied parameter of
* H5AC_unprotect() instead of manipulating the is_dirty
* field of the cache info directly.
*
@@ -1100,7 +1100,7 @@ H5HL_insert(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t buf_size, const void *
(sizeof_hdr + heap->mem_alloc));
if (NULL==heap->chunk)
HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, (size_t)(-1), "memory allocation failed");
-
+
/* clear new section so junk doesn't appear in the file */
HDmemset(heap->chunk + sizeof_hdr + old_size, 0, need_more);
}
@@ -1143,7 +1143,7 @@ done:
* The ADDR argument is passed by value.
*
* John Mainzer, 6/7/05
- * Modified code to use the dirtied parameter of
+ * Modified code to use the dirtied parameter of
* H5AC_unprotect() instead of manipulating the is_dirty
* field of the cache info directly.
*
@@ -1177,7 +1177,7 @@ H5HL_write(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t offset, size_t size, co
HDmemcpy(heap->chunk + H5HL_SIZEOF_HDR(f) + offset, buf, size);
done:
- if (heap && H5AC_unprotect(f, dxpl_id, H5AC_LHEAP, addr, heap, heap_flags) != SUCCEED &&
+ if (heap && H5AC_unprotect(f, dxpl_id, H5AC_LHEAP, addr, heap, heap_flags) != SUCCEED &&
ret_value != FAIL)
HDONE_ERROR(H5E_HEAP, H5E_PROTECT, FAIL, "unable to release object header");
@@ -1213,7 +1213,7 @@ done:
* The ADDR argument is passed by value.
*
* John Mainzer, 6/7/05
- * Modified code to use the dirtied parameter of
+ * Modified code to use the dirtied parameter of
* H5AC_unprotect() instead of manipulating the is_dirty
* field of the cache info directly.
*
@@ -1343,7 +1343,7 @@ done:
* Modifications:
*
* John Mainzer - 6/17/05
- * Modified function to use the new dirtied parmeter of
+ * Modified function to use the new dirtied parmeter of
* H5AC_unprotect(), which allows management of the is_dirty
* field of the cache info to be moved into the cache code.
*