[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Typos in source code comments.
From: |
Ralf Wildenhues |
Subject: |
[PATCH] Typos in source code comments. |
Date: |
Sun, 31 Aug 2008 08:02:34 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* src/builtin.c: Fix typos in comments.
* src/input.c: Likewise.
* src/m4.c: Likewise.
---
Hi Eric,
this is against branch-1.6.
Cheers,
Ralf
src/builtin.c | 8 ++++----
src/input.c | 10 +++++-----
src/m4.c | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/builtin.c b/src/builtin.c
index a4e5bee..bf09756 100644
--- a/src/builtin.c
+++ b/src/builtin.c
@@ -586,11 +586,11 @@ numeric_arg (const call_info *name, const char *arg, int
*valuep)
}
/*------------------------------------------------------------------------.
-| The function ntoa () converts VALUE to a signed ascii representation in |
+| The function ntoa () converts VALUE to a signed ASCII representation in |
| radix RADIX. |
`------------------------------------------------------------------------*/
-/* Digits for number to ascii conversions. */
+/* Digits for number to ASCII conversions. */
static char const digits[] = "0123456789abcdefghijklmnopqrstuvwxyz";
static const char *
@@ -1099,7 +1099,7 @@ m4_defn (struct obstack *obs, int argc, macro_arguments
*argv)
(WIFSIGNALED (status) ? WTERMSIG (status) << 8 : 0)
#else /* !UNIX && !defined WEXITSTATUS */
-/* Platforms such as mingw do not support the notion of reporting
+/* Platforms such as MinGW do not support the notion of reporting
which signal terminated a process. Furthermore if WEXITSTATUS was
not provided, then the exit value is in the low eight bits. */
# define M4SYSVAL_EXITBITS(status) status
@@ -1449,7 +1449,7 @@ m4_changeword (struct obstack *obs, int argc,
macro_arguments *argv)
/*-------------------------------------------------------------------------.
| Generic include function. Include the file given by the first argument, |
-| if it exists. Complain about inaccesible files iff SILENT is false. |
+| if it exists. Complain about inaccessible files iff SILENT is false. |
`-------------------------------------------------------------------------*/
static void
diff --git a/src/input.c b/src/input.c
index b967087..67f535c 100644
--- a/src/input.c
+++ b/src/input.c
@@ -902,7 +902,7 @@ peek_input (bool allow_argv)
| return CHAR_QUOTE and leave consumption of data for |
| append_quote_token; otherwise, if ALLOW_ARGV and the current input |
| matches an argv reference with the correct quoting, return |
-| CHAR_ARGV and leave consuption of data for init_argv_token. |
+| CHAR_ARGV and leave consumption of data for init_argv_token. |
`-------------------------------------------------------------------*/
#define next_char(AQ, AA) \
@@ -1270,9 +1270,9 @@ match_input (const char *s, size_t slen, bool consume)
&& ((slen) >> 1 ? match_input (s, slen, consume) : (slen)))
-/*----------------------------------------------------------.
-| Inititialize input stacks, and quote/comment characters. |
-`----------------------------------------------------------*/
+/*--------------------------------------------------------.
+| Initialize input stacks, and quote/comment characters. |
+`--------------------------------------------------------*/
void
input_init (void)
@@ -1494,7 +1494,7 @@ set_quote_age (void)
quote_age to zero, but at least a quote_age of zero always produces
correct results (although it may take more time in doing so). */
- /* Hueristic of characters that might impact rescan if they appear
+ /* Heuristic of characters that might impact rescan if they appear
in a quote delimiter. Using a single NUL as one of the two quote
delimiters is safe, but strchr matches it, so we must special
case the strchr below. If we were willing to guarantee a
diff --git a/src/m4.c b/src/m4.c
index 93beb40..6a1ded9 100644
--- a/src/m4.c
+++ b/src/m4.c
@@ -187,7 +187,7 @@ stackovf_handler (void)
_("ERROR: stack overflow. (Infinite define recursion?)"));
}
-#endif /* USE_STACKOV */
+#endif /* USE_STACKOVF */
/*---------------------------------------------.
--
1.5.5.40.g4cdda
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Typos in source code comments.,
Ralf Wildenhues <=