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

ruby-changes:42906

From: usa <ko1@a...>
Date: Thu, 12 May 2016 00:21:53 +0900 (JST)
Subject: [ruby-changes:42906] usa:r54980 (trunk): * win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio

usa	2016-05-12 00:21:49 +0900 (Thu, 12 May 2016)

  New Revision: 54980

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

  Log:
    * win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio
      2012 or later, because VS2010 seems to causes a SEGV in
      test/ruby/test_enum.rb.

  Modified files:
    trunk/ChangeLog
    trunk/win32/Makefile.sub
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 54979)
+++ win32/Makefile.sub	(revision 54980)
@@ -741,7 +741,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L741
 #define HAVE_TZNAME 1
 #define HAVE_DAYLIGHT 1
 #define HAVE_GMTIME_R 1
-!if $(RT_VER) >= 80
+!if $(RT_VER) >= 120
 #define HAVE_QSORT_S
 !endif
 #define HAVE_TYPE_NET_LUID 1
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54979)
+++ ChangeLog	(revision 54980)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu May 12 00:18:19 2016  NAKAMURA Usaku  <usa@r...>
+
+	* win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio
+	  2012 or later, because VS2010 seems to causes a SEGV in
+	  test/ruby/test_enum.rb.
+
 Wed May 11 23:59:47 2016  Masaya Tarui  <tarui@r...>
 
 	* vm_insnhelper.c (vm_getivar): describe fast-path explicit

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

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