summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-13 14:53:40 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-13 14:53:40 +0000
commitc4b6e967489b7c8027da99299c1dd5fa257796e6 (patch)
tree861d6746aed80e0eb50dd69139563d4f4404059c
parent15798b606e48a478e3a8ef03547858fd320f912c (diff)
* vsnprintf.c: Fix spelling from compliment to complement.
Patch by @agrimm. Closes GH-422. * include/ruby/ruby.h: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--include/ruby/ruby.h2
-rw-r--r--vsnprintf.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f0d932..669875c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-10-13 Andrew Grimm <andrew.j.grimm@gmail.com>
+
+ * vsnprintf.c: Fix spelling from compliment to complement.
+ Patch by @agrimm.
+
+ * include/ruby/ruby.h: ditto
+
2013-10-13 Nobuyoshi Nakada <nobu@ruby-lang.org>
* vm.c (Init_BareVM): initialize defined_module_hash here,
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index d0ba1c2..17f3a36 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -187,7 +187,7 @@ typedef char ruby_check_sizeof_voidp[SIZEOF_VOIDP == sizeof(void*) ? 1 : -1];
# 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
diff --git a/vsnprintf.c b/vsnprintf.c
index 8958aaa..5266927 100644
--- a/vsnprintf.c
+++ b/vsnprintf.c
@@ -95,7 +95,7 @@
# 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