Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
kwset: fix spelling in comments
author
Stefano Lattarini
<stefano.lattarini@gmail.com>
Thu, 11 Apr 2013 22:36:10 +0000
(
00:36
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 12 Apr 2013 19:25:08 +0000
(12:25 -0700)
Correct spelling mistakes noticed using Lucas De Marchi's codespell
tool.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Acked-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
kwset.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
0f7b4c2
)
diff --git
a/kwset.c
b/kwset.c
index 51b2ab6c7e61413851a958f7a4009a0194744b68..5800999b4c16cd8f5eeb2301f72c33ec62c5ea71 100644
(file)
--- a/
kwset.c
+++ b/
kwset.c
@@
-26,7
+26,7
@@
The author may be reached (Email) at the address mike@ai.mit.edu,
or (US mail) as Mike Haertel c/o Free Software Foundation. */
The author may be reached (Email) at the address mike@ai.mit.edu,
or (US mail) as Mike Haertel c/o Free Software Foundation. */
-/* The algorithm implemented by these routines bears a startling resembl
e
nce
+/* The algorithm implemented by these routines bears a startling resembl
a
nce
to one discovered by Beate Commentz-Walter, although it is not identical.
See "A String Matching Algorithm Fast on the Average," Technical Report,
IBM-Germany, Scientific Center Heidelberg, Tiergartenstrasse 15, D-6900
to one discovered by Beate Commentz-Walter, although it is not identical.
See "A String Matching Algorithm Fast on the Average," Technical Report,
IBM-Germany, Scientific Center Heidelberg, Tiergartenstrasse 15, D-6900
@@
-435,7
+435,7
@@
kwsprep (kwset_t kws)
/* Update the delta table for the descendents of this node. */
treedelta(curr->links, curr->depth, delta);
/* Update the delta table for the descendents of this node. */
treedelta(curr->links, curr->depth, delta);
- /* Compute the failure function for the de
cende
nts of this node. */
+ /* Compute the failure function for the de
scenda
nts of this node. */
treefails(curr->links, curr->fail, kwset->trie);
/* Update the shifts at each node in the current node's chain
treefails(curr->links, curr->fail, kwset->trie);
/* Update the shifts at each node in the current node's chain