diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-04 02:53:11 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-04 02:53:11 +0000 |
commit | 0eb195cee314d100e845efcd86b45dd3282b52aa (patch) | |
tree | 571126a81f81dd1ef1f33783c75cf54e0f745f65 | |
parent | 05f3eaa739dadd51476cdc975bfa0ed535026624 (diff) |
* ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton
[fix GH-923]
* include/ruby/st.h: ditto.
* include/ruby/util.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/win32ole/win32ole.c | 2 | ||||
-rw-r--r-- | include/ruby/st.h | 2 | ||||
-rw-r--r-- | include/ruby/util.h | 2 |
4 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +Thu Jun 4 11:12:29 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org> + + * ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton + [fix GH-923] + * include/ruby/st.h: ditto. + * include/ruby/util.h: ditto. + Thu Jun 4 10:54:30 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org> * array.c: fix a typo. Patch by @manish-shrivastava diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 56e625642e..26e6865f4f 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -3996,7 +3996,7 @@ Init_win32ole(void) * p WIN32OLE::ARGV # => [10, 20, 30] * * You can use WIN32OLE_VARIANT object to retrieve the value of reference - * arguments instead of refering WIN32OLE::ARGV. + * arguments instead of referring WIN32OLE::ARGV. * */ rb_define_const(cWIN32OLE, "ARGV", rb_ary_new()); diff --git a/include/ruby/st.h b/include/ruby/st.h index 0ef499944a..b4fdf7e8ea 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -78,7 +78,7 @@ struct st_table { * implementation-defined type. It is implementation-defined whether * atomic types are permitted. * In short, long and long long bit-field are implementation-defined - * feature. Therefore we want to supress a warning explicitly. + * feature. Therefore we want to suppress a warning explicitly. */ __extension__ #endif diff --git a/include/ruby/util.h b/include/ruby/util.h index 74cdd0ffd1..10cccb4876 100644 --- a/include/ruby/util.h +++ b/include/ruby/util.h @@ -48,7 +48,7 @@ extern "C" { RUBY_SYMBOL_EXPORT_BEGIN #define DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999) -/* an approximation of ceil(n * log10(2)), upto 65536 at least */ +/* an approximation of ceil(n * log10(2)), up to 65536 at least */ #define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e))) unsigned long ruby_scan_oct(const char *, size_t, size_t *); |