Commit 18020257 authored by Sven Buijssen's avatar Sven Buijssen Committed by Brad King
Browse files

DOC: Fixed typos in documentation and comments

parent fe9a74c7
......@@ -71,7 +71,7 @@ typedef struct H5E_t H5E_t;
/*
* HGOTO_DONE macro, used to facilitate normal return between a FUNC_ENTER()
* and a FUNC_LEAVE() within a function body. The argument is the return
* value which is assigned to the `ret_value' variable. Control branches to
* value which is assigned to the `ret_value' variable. Control branches to
* the `done' label.
*/
#define HGOTO_DONE(ret_val) {ret_value = ret_val; goto done;}
......
......@@ -154,7 +154,7 @@ typedef struct H5F_blk_aggr_t H5F_blk_aggr_t;
/* Decode a variable-sized buffer into a 32-bit unsigned integer */
/* (Assumes that the high bits of the integer will be zero) */
/* (Note: this is exactly the same code as the 64-bit variable-length decoder
* and bugs/improvements should be make in both places - QAK)
* and bugs/improvements should be made in both places - QAK)
*/
# define UINT32DECODE_VAR(p, n, l) { \
size_t _i; \
......@@ -191,7 +191,7 @@ typedef struct H5F_blk_aggr_t H5F_blk_aggr_t;
/* Decode a variable-sized buffer into a 64-bit unsigned integer */
/* (Assumes that the high bits of the integer will be zero) */
/* (Note: this is exactly the same code as the 32-bit variable-length decoder
* and bugs/improvements should be make in both places - QAK)
* and bugs/improvements should be made in both places - QAK)
*/
# define UINT64DECODE_VAR(p, n, l) { \
size_t _i; \
......
......@@ -291,7 +291,7 @@ done:
* Function: H5HG_flush
*
* Purpose: Flushes a global heap collection from memory to disk if it's
* dirty. Optionally deletes teh heap from memory.
* dirty. Optionally deletes the heap from memory.
*
* Return: Non-negative on success/Negative on failure
*
......
......@@ -643,7 +643,7 @@ H5I_clear_type(H5I_type_t type, hbool_t force, hbool_t app_ref)
delete_node = TRUE;
} /* end if */
else {
/* Indicate node should _NOT_ be remove from list */
/* Indicate node should _NOT_ be removed from list */
delete_node = FALSE;
} /* end else */
} /* end if */
......
......@@ -3622,7 +3622,7 @@ done:
*
* Return: Success: non-negative
*
* Failure: nagative
* Failure: negative
*
* Programmer: Robb Matzke
* Tuesday, December 22, 1998
......
......@@ -69,7 +69,7 @@ static const char *FileHeader = "\n\
/* Define H5SETJMP/H5LONGJMP depending on if sigsetjmp/siglongjmp are */
/* supported. */
#if defined(H5_HAVE_SIGSETJMP) && defined(H5_HAVE_SIGLONGJMP)
/* Always save blocked signals to be restore by siglongjmp. */
/* Always save blocked signals to be restored by siglongjmp. */
#define H5JMP_BUF sigjmp_buf
#define H5SETJMP(buf) HDsigsetjmp(buf, 1)
#define H5LONGJMP(buf, val) HDsiglongjmp(buf, val)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment