[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to grep/src/search.c
From: |
Stepan Kasal |
Subject: |
Changes to grep/src/search.c |
Date: |
Thu, 16 Dec 2004 03:39:23 -0500 |
Index: grep/src/search.c
diff -u grep/src/search.c:1.30 grep/src/search.c:1.31
--- grep/src/search.c:1.30 Thu Dec 16 07:18:15 2004
+++ grep/src/search.c Thu Dec 16 08:19:29 2004
@@ -146,7 +146,7 @@
#ifdef MBS_SUPPORT
/* This function allocate the array which correspond to "buf".
Then this check multibyte string and mark on the positions which
- are not singlebyte character nor the first byte of a multibyte
+ are not single byte character nor the first byte of a multibyte
character. Caller must free the array. */
static char*
check_multibyte_string(char const *buf, size_t size)
@@ -167,7 +167,7 @@
if (mbclen == (size_t) -1 || mbclen == (size_t) -2 || mbclen == 0)
{
/* An invalid sequence, or a truncated multibyte character.
- We treat it as a singlebyte character. */
+ We treat it as a single byte character. */
mbclen = 1;
}
else if (match_icase)