[git commit] comment fixes, no code changes

Denys Vlasenko vda.linux at googlemail.com
Thu Jul 16 00:27:04 UTC 2009


commit: http://git.busybox.net/busybox/commit/?id=f6106e6041895d05ab10fdc5383f12a3dba1a16d
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master


Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/unicode.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libbb/unicode.c b/libbb/unicode.c
index b977437..773a074 100644
--- a/libbb/unicode.c
+++ b/libbb/unicode.c
@@ -2,7 +2,7 @@
 /*
  * Unicode support routines.
  *
- * Copyright (C) 2008 Denys Vlasenko
+ * Copyright (C) 2009 Denys Vlasenko
  *
  * Licensed under GPL version 2, see file LICENSE in this tarball for details.
  */
@@ -84,6 +84,7 @@ static size_t wcrtomb_internal(char *s, wchar_t wc)
 		wc >>= 6;
 		n++;
 	}
+	/* 80-7FF -> 110yyyxx 10xxxxxx */
 	s[1] = (wc & 0x3f) | 0x80;
 	wc >>= 6;
 	s[0] = wc | (uint8_t)(0x3f00 >> n);
-- 
1.6.3.3


More information about the busybox-cvs mailing list