[Forensics-changes] [yara] 155/368: Fix typos

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:30:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.5.0
in repository yara.

commit 1e94ca776a4d0a313f99ed7b0ecd4bb75955798a
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Fri Jan 22 18:00:25 2016 +0100

    Fix typos
---
 libyara/lexer.l | 2 +-
 libyara/re.c    | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libyara/lexer.l b/libyara/lexer.l
index 78c4984..33b6037 100644
--- a/libyara/lexer.l
+++ b/libyara/lexer.l
@@ -403,7 +403,7 @@ u?int(8|16|32)(be)? {
 
   if (strlen(yytext) > 128)
   {
-    yyerror(yyscanner, compiler, "indentifier too long");
+    yyerror(yyscanner, compiler, "identifier too long");
   }
 
   yylval->c_string = yr_strdup(yytext);
diff --git a/libyara/re.c b/libyara/re.c
index 49df79c..ee61423 100644
--- a/libyara/re.c
+++ b/libyara/re.c
@@ -17,7 +17,7 @@ limitations under the License.
 
 /*
 
-This modules implements a regular expressions engine based on Thompson's
+This module implements a regular expressions engine based on Thompson's
 algorithm as described by Russ Cox in http://swtch.com/~rsc/regexp/regexp2.html.
 
 What the article names a "thread" has been named a "fiber" in this code, in
@@ -244,7 +244,7 @@ void yr_re_destroy(
 //
 // yr_re_parse
 //
-// Parses a regexp but don't emit its code. A further call to y
+// Parses a regexp but don't emit its code. A further call to
 // yr_re_emit_code is required to get the code.
 //
 
@@ -1121,9 +1121,9 @@ int yr_re_emit_code(
   if (re->flags & RE_FLAGS_DOT_ALL)
     emit_flags |= EMIT_DOT_ALL;
 
-  // Ensure that we have enough contiguos memory space in the arena to
+  // Ensure that we have enough contiguous memory space in the arena to
   // contain the regular expression code. The code can't span over multiple
-  // non-contiguos pages.
+  // non-contiguous pages.
 
   yr_arena_reserve_memory(arena, RE_MAX_CODE_SIZE);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list