Skip to content

Commit

Permalink
* Typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Hunt committed Aug 26, 2011
1 parent cd73936 commit 0adfa37
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion nih/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 714,7 @@ nih_config_parse_command (const void *parent,
* @lineno: line number,
* @type: block identifier.
*
* Extracts a block of text from @line, stopping when the pharse "end @type"
* Extracts a block of text from @line, stopping when the phrase "end @type"
* is encountered without any quotes or blackslash escaping within it.
*
* @file may be a memory mapped file, in which case @pos should be given
Expand Down
12 changes: 6 additions & 6 deletions nih/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 111,7 @@ typedef struct nih_error {
* @message: human-readable message.
*
* Raises an error with the given details in the current error context,
* if an unhandled error already exists then an error message is emmitted
* if an unhandled error already exists then an error message is emitted
* through the logging system; you should try to avoid this.
*
* @message should be a static string, as it will not be freed when the
Expand All @@ -126,7 126,7 @@ typedef struct nih_error {
* @format: format string for human-readable message.
*
* Raises an error with the given details in the current error context,
* if an unhandled error already exists then an error message is emmitted
* if an unhandled error already exists then an error message is emitted
* through the logging system; you should try to avoid this.
*
* The human-readable message for the error is parsed according to @format,
Expand All @@ -140,7 140,7 @@ typedef struct nih_error {
* nih_error_raise_system:
*
* Raises an error with details taken from the current value of errno,
* if an unhandled error already exists then an error message is emmitted
* if an unhandled error already exists then an error message is emitted
* through the logging system; you should try to avoid this.
**/
#define nih_error_raise_system() \
Expand All @@ -162,7 162,7 @@ typedef struct nih_error {
* @error: existing object to raise.
*
* Raises the existing error object in the current error context,
* if an unhandled error already exists then an error message is emmitted
* if an unhandled error already exists then an error message is emitted
* through the logging system; you should try to avoid this.
*
* This is normally used to raise a taken error that has not been handled,
Expand All @@ -182,7 182,7 @@ typedef struct nih_error {
* @message: human-readable message.
*
* Raises an error with the given details in the current error context,
* if an unhandled error already exists then an error message is emmitted
* if an unhandled error already exists then an error message is emitted
* through the logging system; you should try to avoid this.
*
* Will return from the current function with @retval, which may be left
Expand All @@ -199,7 199,7 @@ typedef struct nih_error {
* @retval: return value for function.
*
* Raises an error with details taken from the current value of errno,
* if an unhandled error already exists then an error message is emmitted
* if an unhandled error already exists then an error message is emitted
* through the logging system; you should try to avoid this.
*
* Will return from the current function with @retval, which may be left
Expand Down
6 changes: 3 additions & 3 deletions nih/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 901,7 @@ nih_io_reopen (const void *parent,
* read and placed into the receive buffer or queue, and the reader function
* is called if set.
*
* Any data or messaages in the send buffer or queue are written out if the
* Any data or messages in the send buffer or queue are written out if the
* @events includes NIH_IO_WRITE.
*
* Errors are handled when data is read, and result in the error handled
Expand Down Expand Up @@ -1211,7 1211,7 @@ nih_io_error (NihIo *io)
* This function is called when the local end of a file descriptor being
* managed by NihIo should be closed. Usually this is because the remote
* end has been closed (without error) but it can also be because no
* error handler was given
* error handler was given.
*
* Normally this just calls the close handler, or if not available, it
* closes the file descriptor and frees the structure (which may be
Expand Down Expand Up @@ -1291,7 1291,7 @@ nih_io_shutdown_check (NihIo *io)
* @io: structure to be destroyed.
*
* Closes the file descriptor associated with an NihIo structure so that
* the structure can be freed. IF an error is caught by closing the
* the structure can be freed. If an error is caught by closing the
* descriptor, the error handler is called instead of the error being raised;
* this allows you to group your error handling in one place rather than
* special-case close.
Expand Down
2 changes: 1 addition & 1 deletion nih/test_files.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 39,7 @@
* TEST_FILENAME:
* @_var: variable to store filename in.
*
* Generate a filename that may be used for testing, it's unlinked it if
* Generate a filename that may be used for testing, it's unlinked if it
* exists and it's up to you to unlink it when done. @_var should be at
* least PATH_MAX long.
**/
Expand Down

0 comments on commit 0adfa37

Please sign in to comment.