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

ruby-changes:42500

From: nobu <ko1@a...>
Date: Thu, 14 Apr 2016 13:32:21 +0900 (JST)
Subject: [ruby-changes:42500] nobu:r54574 (trunk): cont.c: wrong _MSC_VER check

nobu	2016-04-14 14:28:58 +0900 (Thu, 14 Apr 2016)

  New Revision: 54574

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

  Log:
    cont.c: wrong _MSC_VER check
    
    * cont.c (fiber_initialize_machine_stack_context): fix wrong
      _MSC_VER check, should be decimal but not hexadecimal.
      [ruby-core:74936] [Bug #12279]

  Modified files:
    trunk/ChangeLog
    trunk/cont.c
Index: cont.c
===================================================================
--- cont.c	(revision 54573)
+++ cont.c	(revision 54574)
@@ -657,7 +657,7 @@ fiber_initialize_machine_stack_context(r https://github.com/ruby/ruby/blob/trunk/cont.c#L657
     rb_thread_t *sth = &fib->cont.saved_thread;
 
 #ifdef _WIN32
-# if defined(_MSC_VER) && _MSC_VER <= 0x1200
+# if defined(_MSC_VER) && _MSC_VER <= 1200
 #   define CreateFiberEx(cs, stacksize, flags, entry, param) \
     CreateFiber((stacksize), (entry), (param))
 # endif
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54573)
+++ ChangeLog	(revision 54574)
@@ -1,3 +1,15 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Apr 14 14:28:55 2016  cremno phobia  <cremno@m...>
+
+	* cont.c (fiber_initialize_machine_stack_context): fix wrong
+	  _MSC_VER check, should be decimal but not hexadecimal.
+	  [ruby-core:74936] [Bug #12279]
+
+Thu Apr 14 13:47:52 2016  cremno phobia  <cremno@m...>
+
+	* cont.c (fiber_initialize_machine_stack_context): fix wrong
+	  _MSC_VER check, should be decimal but not hexadecimal.
+	  [ruby-core:74936] [Bug #12279]
+
 Wed Apr 13 22:51:38 2016  Tanaka Akira  <akr@f...>
 
 	* array.c (rb_ary_sum): Array#sum is implemented.

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

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