path: root/compat/regex/regex.c
diff options
authorMike Ralphson <>2009-04-17 18:13:30 (GMT)
committerJunio C Hamano <>2009-04-23 02:02:12 (GMT)
commit3ea3c215c02dc4a4e7d0881c25b2223540960797 (patch)
treee6e8e312ae4af706982a1fa1dd9ddfb3faedc2f0 /compat/regex/regex.c
parentbad542f0b1bca3b57e300a21fc7268c1800e6752 (diff)
Fix typos / spelling in comments
Signed-off-by: Mike Ralphson <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'compat/regex/regex.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/regex/regex.c b/compat/regex/regex.c
index 87b33e4..5ea0075 100644
--- a/compat/regex/regex.c
+++ b/compat/regex/regex.c
@@ -1043,7 +1043,7 @@ regex_compile (pattern, size, syntax, bufp)
they can be reliably used as array indices. */
register unsigned char c, c1;
- /* A random tempory spot in PATTERN. */
+ /* A random temporary spot in PATTERN. */
const char *p1;
/* Points to the end of the buffer, where we should append. */
@@ -1796,7 +1796,7 @@ regex_compile (pattern, size, syntax, bufp)
we're all done, the pattern will look like:
set_number_at <jump count> <upper bound>
set_number_at <succeed_n count> <lower bound>
- succeed_n <after jump addr> <succed_n count>
+ succeed_n <after jump addr> <succeed_n count>
<body of loop>
jump_n <succeed_n addr> <jump count>
(The upper bound and `jump_n' are omitted if