mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/win32.c (rb_w32_write_console): fix argument type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f4c909b965
commit
8fba2b63ec
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Mon Nov 29 22:52:23 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_write_console): fix argument type.
|
||||
|
||||
Mon Nov 29 21:12:51 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* misc/ruby-mode.el (ruby-forward-sexp): stop after literal hash
|
||||
|
|
|
@ -5287,11 +5287,12 @@ rb_w32_write(int fd, const void *buf, size_t size)
|
|||
}
|
||||
|
||||
long
|
||||
rb_w32_write_console(VALUE str, int fd)
|
||||
rb_w32_write_console(uintptr_t strarg, int fd)
|
||||
{
|
||||
static int disable;
|
||||
HANDLE handle;
|
||||
DWORD dwMode, reslen;
|
||||
VALUE str = strarg;
|
||||
|
||||
if (disable) return -1L;
|
||||
handle = (HANDLE)_osfhnd(fd);
|
||||
|
|
Loading…
Add table
Reference in a new issue