projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'integer_length_ll'.
[gnulib.git]
/
lib
/
wcrtomb.c
diff --git
a/lib/wcrtomb.c
b/lib/wcrtomb.c
index
79df99f
..
6632589
100644
(file)
--- a/
lib/wcrtomb.c
+++ b/
lib/wcrtomb.c
@@
-1,5
+1,5
@@
/* Convert wide character to multibyte character.
/* Convert wide character to multibyte character.
- Copyright (C) 2008 Free Software Foundation, Inc.
+ Copyright (C) 2008
-2011
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2008.
This program is free software: you can redistribute it and/or modify
Written by Bruno Haible <bruno@clisp.org>, 2008.
This program is free software: you can redistribute it and/or modify
@@
-43,11
+43,11
@@
wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
int ret = wctomb (s, wc);
if (ret >= 0)
int ret = wctomb (s, wc);
if (ret >= 0)
- return ret;
+
return ret;
else
else
- {
- errno = EILSEQ;
- return (size_t)(-1);
- }
+
{
+
errno = EILSEQ;
+
return (size_t)(-1);
+
}
}
}
}
}