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

ruby-changes:31195

From: charliesome <ko1@a...>
Date: Sun, 13 Oct 2013 23:53:46 +0900 (JST)
Subject: [ruby-changes:31195] charliesome:r43274 (trunk): * vsnprintf.c: Fix spelling from compliment to complement.

charliesome	2013-10-13 23:53:40 +0900 (Sun, 13 Oct 2013)

  New Revision: 43274

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

  Log:
    * vsnprintf.c: Fix spelling from compliment to complement.
      Patch by @agrimm. Closes GH-422.
    
    * include/ruby/ruby.h: ditto

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/ruby.h
    trunk/vsnprintf.c
Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 43273)
+++ include/ruby/ruby.h	(revision 43274)
@@ -187,7 +187,7 @@ typedef char ruby_check_sizeof_voidp[SIZ https://github.com/ruby/ruby/blob/trunk/include/ruby/ruby.h#L187
 #  ifdef HAVE_LIMITS_H
 #   include <limits.h>
 #  else
-    /* assuming 32bit(2's compliment) long */
+    /* assuming 32bit(2's complement) long */
 #   define LONG_MAX 2147483647
 #  endif
 # endif
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43273)
+++ ChangeLog	(revision 43274)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+2013-10-13  Andrew Grimm  <andrew.j.grimm@g...>
+
+	* vsnprintf.c: Fix spelling from compliment to complement.
+	  Patch by @agrimm.
+
+	* include/ruby/ruby.h: ditto
+
 2013-10-13  Nobuyoshi Nakada  <nobu@r...>
 
 	* vm.c (Init_BareVM): initialize defined_module_hash here,
Index: vsnprintf.c
===================================================================
--- vsnprintf.c	(revision 43273)
+++ vsnprintf.c	(revision 43274)
@@ -95,7 +95,7 @@ https://github.com/ruby/ruby/blob/trunk/vsnprintf.c#L95
 #  ifdef HAVE_LIMITS_H
 #   include <limits.h>
 #  else
-    /* assuming 32bit(2's compliment) long */
+    /* assuming 32bit(2's complement) long */
 #   define LONG_MAX 2147483647
 #  endif
 # endif

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

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