diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-17 13:15:13 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-17 13:15:13 +0000 |
commit | 9869ec7a7d5c1b044b2ee8df59a86653d7ad1053 (patch) | |
tree | 7a53f6f3dae2da18881204155b87ea17498864eb | |
parent | e9f77725d2455f442d9b7bb598664faaf88fd847 (diff) | |
download | bundler-9869ec7a7d5c1b044b2ee8df59a86653d7ad1053.tar.gz |
Fix typos.
* node.c: strucutre -> structure
* random.c: acquried -> acquired
* thread.c: accross -> across
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | node.c | 2 | ||||
-rw-r--r-- | random.c | 4 | ||||
-rw-r--r-- | thread.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -1020,7 +1020,7 @@ rb_parser_dump_tree(const NODE *node, int comment) return buf; } -/* Setup NODE strucutre. +/* Setup NODE structure. * NODE is not an object managed by GC, but it imitates an object * so that it can work with `RB_TYPE_P(obj, T_NODE)`. * This dirty hack is needed because Ripper jumbles NODEs and other type @@ -496,12 +496,12 @@ fill_random_bytes_syscall(void *seed, size_t size, int unused) prov = (HCRYPTPROV)INVALID_HANDLE_VALUE; } old_prov = (HCRYPTPROV)ATOMIC_PTR_CAS(perm_prov, 0, prov); - if (LIKELY(!old_prov)) { /* no other threads acquried */ + if (LIKELY(!old_prov)) { /* no other threads acquired */ if (prov != (HCRYPTPROV)INVALID_HANDLE_VALUE) { rb_gc_register_mark_object(Data_Wrap_Struct(0, 0, release_crypt, &perm_prov)); } } - else { /* another thread acquried */ + else { /* another thread acquired */ if (prov != (HCRYPTPROV)INVALID_HANDLE_VALUE) { CryptReleaseContext(prov, 0); } @@ -2110,7 +2110,7 @@ rb_threadptr_execute_interrupts(rb_thread_t *th, int blocking_timing) } else { if (err == th->vm->special_exceptions[ruby_error_stream_closed]) { - /* the only special exception to be queued accross thread */ + /* the only special exception to be queued across thread */ err = ruby_vm_special_exception_copy(err); } /* set runnable if th was slept. */ |