Skip to content

Commit 0eb195c

Browse files
committed
* ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton
[fix rubyGH-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
1 parent 05f3eaa commit 0eb195c

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

ChangeLog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
Thu Jun 4 11:12:29 2015 SHIBATA Hiroshi <[email protected]>
2+
3+
* ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton
4+
[fix GH-923]
5+
* include/ruby/st.h: ditto.
6+
* include/ruby/util.h: ditto.
7+
18
Thu Jun 4 10:54:30 2015 SHIBATA Hiroshi <[email protected]>
29

310
* array.c: fix a typo. Patch by @manish-shrivastava

ext/win32ole/win32ole.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3996,7 +3996,7 @@ Init_win32ole(void)
39963996
* p WIN32OLE::ARGV # => [10, 20, 30]
39973997
*
39983998
* You can use WIN32OLE_VARIANT object to retrieve the value of reference
3999-
* arguments instead of refering WIN32OLE::ARGV.
3999+
* arguments instead of referring WIN32OLE::ARGV.
40004000
*
40014001
*/
40024002
rb_define_const(cWIN32OLE, "ARGV", rb_ary_new());

include/ruby/st.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ struct st_table {
7878
* implementation-defined type. It is implementation-defined whether
7979
* atomic types are permitted.
8080
* In short, long and long long bit-field are implementation-defined
81-
* feature. Therefore we want to supress a warning explicitly.
81+
* feature. Therefore we want to suppress a warning explicitly.
8282
*/
8383
__extension__
8484
#endif

include/ruby/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern "C" {
4848
RUBY_SYMBOL_EXPORT_BEGIN
4949

5050
#define DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999)
51-
/* an approximation of ceil(n * log10(2)), upto 65536 at least */
51+
/* an approximation of ceil(n * log10(2)), up to 65536 at least */
5252

5353
#define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e)))
5454
unsigned long ruby_scan_oct(const char *, size_t, size_t *);

0 commit comments

Comments
 (0)