projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix return value of ungetc when argument is outside unsigned char range
[musl]
/
src
/
ctype
/
iswpunct.c
diff --git
a/src/ctype/iswpunct.c
b/src/ctype/iswpunct.c
index
16e8703
..
f0b9ea0
100644
(file)
--- a/
src/ctype/iswpunct.c
+++ b/
src/ctype/iswpunct.c
@@
-10,3
+10,10
@@
int iswpunct(wint_t wc)
return (table[table[wc>>8]*32+((wc&255)>>3)]>>(wc&7))&1;
return 0;
}
+
+int __iswpunct_l(wint_t c, locale_t l)
+{
+ return iswpunct(c);
+}
+
+weak_alias(__iswpunct_l, iswpunct_l);