projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto: fix bug in large buffer handling
[gnulib.git]
/
lib
/
unistr
/
u8-strmbtouc.c
diff --git
a/lib/unistr/u8-strmbtouc.c
b/lib/unistr/u8-strmbtouc.c
index
36562d1
..
7440d5f
100644
(file)
--- a/
lib/unistr/u8-strmbtouc.c
+++ b/
lib/unistr/u8-strmbtouc.c
@@
-1,5
+1,6
@@
/* Look at first character in UTF-8 string.
/* Look at first character in UTF-8 string.
- Copyright (C) 1999-2000, 2002, 2006-2007 Free Software Foundation, Inc.
+ Copyright (C) 1999-2000, 2002, 2006-2007, 2009-2012 Free Software
+ Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
@@
-23,7
+24,7
@@
int
u8_strmbtouc (ucs4_t *puc, const uint8_t *s)
{
int
u8_strmbtouc (ucs4_t *puc, const uint8_t *s)
{
- /* Keep in sync with unistr.h and u
tf8-ucs4
.c. */
+ /* Keep in sync with unistr.h and u
8-mbtouc-aux
.c. */
uint8_t c = *s;
if (c < 0x80)
uint8_t c = *s;
if (c < 0x80)