diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-22 04:05:11 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-22 04:05:11 +0000 |
| commit | 22b217dc6fcdf142195ea29a28f5ace02b9a624b (patch) | |
| tree | 33fa7d5921460cf7b10591da999779938585efd6 /win32 | |
| parent | d6036bcc3e93398f5c3b1654c0b0c6be17dd7988 (diff) | |
| download | ruby-22b217dc6fcdf142195ea29a28f5ace02b9a624b.tar.gz ruby-22b217dc6fcdf142195ea29a28f5ace02b9a624b.tar.xz ruby-22b217dc6fcdf142195ea29a28f5ace02b9a624b.zip | |
* win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 55c807c90..1363d7871 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3012,7 +3012,7 @@ rb_w32_call_handler(struct handler_arg_t* h) rb_jump_tag(status); } h->finished = 1; - Sleep(INFINITE); /* safe on Win95? */ + yield_until(0); } static struct handler_arg_t * |
