projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0161244
)
fix fputwc return value
author
Rich Felker
<dalias@aerifal.cx>
Mon, 11 Apr 2011 05:52:23 +0000
(
01:52
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 11 Apr 2011 05:52:23 +0000
(
01:52
-0400)
src/stdio/fputwc.c
patch
|
blob
|
history
diff --git
a/src/stdio/fputwc.c
b/src/stdio/fputwc.c
index 292a53fb8ed46b0ae14ce609862300f402c17f1a..45ea8c23ac2bc5cb43fea7a0ad4c33ba80c94412 100644
(file)
--- a/
src/stdio/fputwc.c
+++ b/
src/stdio/fputwc.c
@@
-25,7
+25,7
@@
wint_t fputwc(wchar_t c, FILE *f)
FLOCK(f);
c = __fputwc_unlocked(c, f);
FUNLOCK(f);
- return
0
;
+ return
c
;
}
weak_alias(__fputwc_unlocked, fputwc_unlocked);