зеркало из https://github.com/github/ruby.git
* io.c (rb_write_error2): fwrite() returns ssize_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
4d6de2f7c4
Коммит
fb8ff8de93
|
@ -1,3 +1,7 @@
|
|||
Mon Nov 28 12:57:29 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (rb_write_error2): fwrite() returns ssize_t.
|
||||
|
||||
Mon Nov 28 12:47:19 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* parse.y (nodetype, nodeline): static. these functions are for
|
||||
|
|
2
io.c
2
io.c
|
@ -6599,7 +6599,7 @@ void
|
|||
rb_write_error2(const char *mesg, long len)
|
||||
{
|
||||
if (rb_stderr == orig_stderr || RFILE(orig_stderr)->fptr->fd < 0) {
|
||||
int unused;
|
||||
ssize_t unused;
|
||||
unused = fwrite(mesg, sizeof(char), len, stderr);
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче