OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call to
[pf3gnuchains/pf3gnuchains3x.git]
/
newlib
/
libc
/
stdlib
/
mbtowc_r.c
diff --git
a/newlib/libc/stdlib/mbtowc_r.c
b/newlib/libc/stdlib/mbtowc_r.c
index
0fa57fa
..
863404f
100644
(file)
--- a/
newlib/libc/stdlib/mbtowc_r.c
+++ b/
newlib/libc/stdlib/mbtowc_r.c
@@
-221,7
+221,7
@@
_DEFUN (__utf8_mbtowc, (r, pwc, s, n, charset, state),
return 0; /* s points to the null character */
}
- if (ch
>= 0x0 && ch
<= 0x7f)
+ if (ch <= 0x7f)
{
/* single-byte sequence */
state->__count = 0;