diff options
author | Michael Adam <obnox@samba.org> | 2010-10-29 22:11:30 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-11-03 22:45:19 +0000 |
commit | f16ddcae6938f7feda331c5fabc02a9539978bcb (patch) | |
tree | 625efc762a3c10788292c867157d1c608871bff6 /source3/lib | |
parent | 5b6a88b9bf8bd49e179156c29fb3a7268b16808b (diff) | |
download | samba-f16ddcae6938f7feda331c5fabc02a9539978bcb.tar.gz samba-f16ddcae6938f7feda331c5fabc02a9539978bcb.tar.bz2 samba-f16ddcae6938f7feda331c5fabc02a9539978bcb.zip |
s3:lib/charcnv: clarify comments in next_codepoint_ext()
(giving the unicod U+<hexnumber> notation of the codepoints
referred to in the comments)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/charcnv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 57e0f3a789..3b6dfc5099 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -1827,7 +1827,7 @@ codepoint_t next_codepoint_ext(const char *str, charset_t src_charset, /* * We assume that no multi-byte character can take more than - * 5 bytes. This is OK as we only support codepoints up to 1M + * 5 bytes. This is OK as we only support codepoints up to 1M (U+100000) */ ilen_orig = strnlen(str, 5); @@ -1843,7 +1843,7 @@ codepoint_t next_codepoint_ext(const char *str, charset_t src_charset, /* * This looks a little strange, but it is needed to cope - * with codepoints above 64k which are encoded as per RFC2781. + * with codepoints above 64k (U+10000) which are encoded as per RFC2781. */ olen = 2; outbuf = (char *)buf; |