diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-22 04:06:46 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-09-22 04:06:46 +0000 |
| commit | 9c28b386e98a795d373ef99bfc6f866deb63a854 (patch) | |
| tree | 95dcc4dd1cf962fcaa376a4416c24375be05e28a /win32 | |
| parent | 01b8fc5f8524deb74c319e16528586796e215347 (diff) | |
| download | ruby-9c28b386e98a795d373ef99bfc6f866deb63a854.tar.gz ruby-9c28b386e98a795d373ef99bfc6f866deb63a854.tar.xz ruby-9c28b386e98a795d373ef99bfc6f866deb63a854.zip | |
* win32/win32.c (rb_w32_call_handler): workaround for Ctrl-C.
merge from HEAD.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6947 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 50753fcf9..86a791da0 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -2879,7 +2879,7 @@ static void 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* setup_handler(struct handler_arg_t *harg, |
