projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add PTRACE_PEEKSIGINFO to ptrace.h
[musl]
/
src
/
multibyte
/
mbsinit.c
diff --git
a/src/multibyte/mbsinit.c
b/src/multibyte/mbsinit.c
index
d307e5a
..
c0e7e49
100644
(file)
--- a/
src/multibyte/mbsinit.c
+++ b/
src/multibyte/mbsinit.c
@@
-13,5
+13,5
@@
int mbsinit(const mbstate_t *st)
{
- return !*(unsigned *)st;
+ return !
st || !
*(unsigned *)st;
}