summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 07:25:51 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-28 07:25:51 +0000
commit07d12a2a5f99ed6446f86aeb6e13e6c906a238be (patch)
tree586b9deb74521daf23dcefb1623f850725d5cc33 /signal.c
parent8aa618d8e27e9728b6d102bf69e3294d7e9283e6 (diff)
downloadruby-07d12a2a5f99ed6446f86aeb6e13e6c906a238be.tar.gz
* vm_core.h (rb_vm_struct): fix typo: bufferd -> buffered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal.c b/signal.c
index 53e2a0f19f..bd2579dd0a 100644
--- a/signal.c
+++ b/signal.c
@@ -451,7 +451,7 @@ sighandler(int sig)
{
rb_vm_t *vm = GET_VM(); /* fix me for Multi-VM */
ATOMIC_INC(vm->signal_buff[sig]);
- ATOMIC_INC(vm->bufferd_signal_size);
+ ATOMIC_INC(vm->buffered_signal_size);
#if !defined(BSD_SIGNAL) && !defined(POSIX_SIGNAL)
ruby_signal(sig, sighandler);
@@ -501,7 +501,7 @@ rb_get_next_signal(rb_vm_t *vm)
rb_disable_interrupt();
{
ATOMIC_DEC(vm->signal_buff[i]);
- ATOMIC_DEC(vm->bufferd_signal_size);
+ ATOMIC_DEC(vm->buffered_signal_size);
}
rb_enable_interrupt();
sig = i;