[前][次][番号順一覧][スレッド一覧]

ruby-changes:38684

From: hsbt <ko1@a...>
Date: Thu, 4 Jun 2015 11:53:29 +0900 (JST)
Subject: [ruby-changes:38684] hsbt:r50765 (trunk): * ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton

hsbt	2015-06-04 11:53:11 +0900 (Thu, 04 Jun 2015)

  New Revision: 50765

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50765

  Log:
    * ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton
      [fix GH-923]
    * include/ruby/st.h: ditto.
    * include/ruby/util.h: ditto.

  Modified files:
    trunk/ChangeLog
    trunk/ext/win32ole/win32ole.c
    trunk/include/ruby/st.h
    trunk/include/ruby/util.h
Index: include/ruby/util.h
===================================================================
--- include/ruby/util.h	(revision 50764)
+++ include/ruby/util.h	(revision 50765)
@@ -48,7 +48,7 @@ extern "C" { https://github.com/ruby/ruby/blob/trunk/include/ruby/util.h#L48
 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 *);
Index: include/ruby/st.h
===================================================================
--- include/ruby/st.h	(revision 50764)
+++ include/ruby/st.h	(revision 50765)
@@ -78,7 +78,7 @@ struct st_table { https://github.com/ruby/ruby/blob/trunk/include/ruby/st.h#L78
      *   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
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50764)
+++ ChangeLog	(revision 50765)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun  4 11:12:29 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* 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@r...>
 
 	* array.c: fix a typo. Patch by @manish-shrivastava
Index: ext/win32ole/win32ole.c
===================================================================
--- ext/win32ole/win32ole.c	(revision 50764)
+++ ext/win32ole/win32ole.c	(revision 50765)
@@ -3996,7 +3996,7 @@ Init_win32ole(void) https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole.c#L3996
      *   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());

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]