cf310f97416686e93841e202462c8bb60fb332e6
|
2011-07-30 |
* strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10 and i686-linux. fix [Bug #4456] [ruby-dev:43284] |
3fb456953417cd85514968587c819b428b75b6b5
|
2011-08-04 |
* configure.in: when Solaris cc, use $(CC) to link shared libs. |
700aeee754648204314b644f24a75aaebe438ca7
|
2011-08-05 |
* complex.c (f_signbit): fix compile error in gcc4 on Solaris with CFLAGS="-std=gnu99". [ruby-dev:44355] fix [Bug #5159] |
9fb5dca9c95460200d04766f769afb1fd02928c4
|
2011-08-05 |
* numeric.c (rb_infinity, rb_nan): use WORDS_BIGENDIAN to get endian. fix [Bug #5160] [ruby-dev:44356] |
321be14fe7418356073a6bddc1fcb8ce841d3a46
|
2011-08-09 |
* test/fiddle/helper.rb (libc_so, libm_so): Solaris support added. * test/dl/test_base.rb (libc_so, libm_so): on Solaris, remove libc and libm version numbers for detecting default libc and libm. |
75a84097adf38474b20e6f4f3b2fa2ef35e4bd60
|
2011-08-09 |
* ChangeLog: mention [ruby-core:38853] [Bug #5168] for r32892 |
4d71d348555f75ea705f8a0e4782e0e5935a7094
|
2011-08-09 |
* ext/fiddle/conversions.c (generic_to_value): ffi_arg and ffi_sarg should be used to handle shorter return value. fix [Bug #3861] [ruby-core:32504] * ext/fiddle/closure.c (callback): ditto * ext/fiddle/conversions.h (fiddle_generic): ditto * ext/fiddle/conversions.c (value_to_generic): char, short and int are strictly distinguished on big-endian CPU, e.g. sparc64. |
b28715b2fb177d3040ddef19df58f72d77c43d29
|
2011-08-21 |
* configure.in: use LD_LIBRARY_PATH_64 on 64-bit Solaris. |
073f94e24f17ee2786df6f5d54624482ba95284f
|
2011-08-24 |
* test/ruby/test_rubyoptions.rb (test_script_from_stdin): slave pty should be manipulated because master pty may not be a tty on some environment (e.g. Solaris). [Bug:#5222] [ruby-dev:44420] |
8b8c7fd386022f30f846ce7fd4c8224d61118b57
|
2011-08-24 |
* test/fileutils/test_fileutils.rb (test_chmod_symbol_mode): Solaris seems to behave the same as FreeBSD. |
5558de40b6344f5bdba783b170a54df80f4b4e6d
|
2011-10-13 |
* atomic.h (ATOMIC_*): use atomic_ops(3C) when SunStudio on Solaris. [ruby-dev:44596] [Bug #5439] |
a1d308456d5506c809c8fcabfb41e1861d832999
|
2011-10-20 |
* vm_eval.c (check_funcall): set array elements one-by-one to fix compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc. |
67db3f817712f26fd812b8b159a1642761b71ecc
|
2011-10-20 |
* ChangeLog: forgot [Bug #5464] [ruby-dev:44632] for the previous commit |
b073b5347bc90a6786f1cdea32bcfce69430ea1b
|
2011-10-21 |
* atomic.h: change Solaris checking macro because atomic_ops can work not only with Sun Studio but also with Fujitsu C Compiler. |
971769cd7632cd13be53c9c2e777b7f6810bfd4b
|
2011-10-21 |
* numeric.c (rb_infinity, rb_nan): use union to prevent bus error caused by misalignment. [Bug #5469] [ruby-dev:44657] * include/ruby/missing.h (INFINITY, NAN): ditto |
d332891fddbcf9d319369968b5898b294742343b
|
2011-10-23 |
* ext/io/wait/wait.c: ioctl(2) is declared in unistd.h on Solaris. |
fa00b6516c96ffc888c194caf9bf964255c6ec54
|
2011-11-15 |
* include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm code to a separete file sparc.c for preventing inlining optimization. Patched by Jurij Smakov. [Bug #5244] [ruby-core:40685] * sparc.c (rb_sparc_flush_register_windows): ditto. * configure.in: ditto. |
3d85b0ff5a0ebe583235c99dfe17791d9d5d6587
|
2011-11-15 |
* fix ANSI C compliance of r33757 |
8457bea9ab5394cb43f4d5019ccb8836675366ad
|
2011-12-18 |
* vm.c (vm_define_method): improve guard of iseq from GC. Fix failure or segmentation fault in test_singleton_method(TestGc) on sparc Solaris10 compiled with Oracle Solaris Studio 12.2. [Bug #5762] [ruby-dev:45000] [Bug #4178] |
c5831f39267e836bab7d541fe1cb91231beab5f1
|
2012-01-11 |
* string.c (rb_str_concat): set array element after definition to fix compile error with Fujitsu C Compiler 5.6 on Solaris 10 on Sparc. [Bug #5878] [ruby-dev:45123] |
3f4b0e17f4729facb1e6f3db6edf4fd63274f592
|
2012-06-12 |
* process.c (rb_exec_arg_fixup): fix compile error |
bff44ef4cd69dd073fbe85384c4eeff71cb8150f
|
2012-06-13 |
* test/dl/test_func.rb (test_qsort1, test_qsort2): use TYPE_SIZE_T for size_t variables. [ruby-dev:45733] [Bug #6584] |
1e972da39c58162672b4f0f2811145468303af0f
|
2012-07-03 |
* gc.c (ATOMIC_SIZE_EXCHANGE): fix function name on Solaris [Bug #6689] [ruby-dev:45904] |
87c25d897b4c9cef0c2031ddd9e75474383a2f04
|
2012-07-04 |
* gc.c, atomic.h (ATOMIC_SIZE_*): moved from gc.c to atomic.h [ruby-dev:45909] |
e2418e3fcada21067b98032d514c34586f078b5b
|
2012-11-06 |
* atomic.h: add #include <sys/atomic.h> for the workaround of header file name conflict of atomic.h with /usr/include/atomic.h on Solaris 10. [ruby-dev:46414] [Bug #7287] |
c4e1ecef13458e9ec260bad524bacb7f3e185816
|
2012-11-09 |
* atomic.h: Revert r37491 which is a temporary workaroud. |
05a05cc62b7668dc9806b94fda6aea95116cee81
|
2012-11-09 |
* ruby_atomic.h: renamed from atomic.h to avoid header file name conflict on Solaris 10. [ruby-dev:46414] [Bug #7287] * gc.c, signal.c, vm_core.h, common.mk: reflect the rename from atomic.h to ruby_atomic.h. |
1f225be2e51f0ff7376846d5631fd6287eb03d14
|
2012-11-18 |
* configure.in, Makefile.in, common.mk: support DTrace on Solaris 10, based on r26235 by Yugui. On Solaris 10, low optimization level may also be needed, e.g. optflags="-xO1" or "-xO0" with Oracle SolarisStudio 12.3 cc. |
979dff3ee48c2bc26ca9ac817425e2b073e12d73
|
2012-11-18 |
* vm_core.h, probes_helper.h (RUBY_DTRACE_FUNC_ENTRY_HOOK, RUBY_DTRACE_FUNC_RETURN_HOOK): move from vm_core.h to new file probes_helper.h for narrowing dependency to probes.h. * common.mk (VM_CORE_H_INCLUDES): remove dependency to probes.h. * common.mk (vm.$(OBJEXT)): add dependency to probes_helper.h. * vm.c, vm_insnhelper.c: include probes_helper.h. |
f17aa9b361f3d7eb2eac2d1403d1818e9522a315
|
2012-11-19 |
* vm_dump.c: not to include probes.h because the code does not depend on it. * common.mk (vm_dump.$(OBJEXT)): remove dependency on probes.h |
029b59ba53d0cc42630d623b52d94cae0df62734
|
2012-11-19 |
* configure.in (--enable-dtrace): change help message * configure.in (--enable-dtrace): remove ineffective "else AS_CASE ..." because the variable $rb_cv_prog_dtrace_g is normally "yes" on FreeBSD and the AS_CASE is not evaluated on FreeBSD. |
5faf4cc77b6a223dc86fddc69e0f377d27f5585a
|
2012-11-27 |
* ruby_atomic.h (ATOMIC_CAS): added for Solaris and other platforms. * ruby_atomic.h, signal.c (NEED_RUBY_ATOMIC_OPS): renamed from NEED_RUBY_ATOMIC_EXCHANGE. * signal.c (ruby_atomic_compare_and_swap): naive, non-atomic compare-and-swap implementation only used for platforms without valid support for atomic operations. |
58b8573081fb6dbc542f5b5313bc844e8b162e25
|
2012-11-28 |
* configure.in: revert r37911, r37906 and r37904 which break build with non-gcc and/or non-IA32 compilers, e.g. Solaris Studio, Fujitsu C Compiler. [ruby-dev:46646] [Bug #7451] |
36c40166aca9dd59dc867ac2e46f102cc443c4b2
|
2012-11-29 |
* ext/openssl/ossl_ssl.c (ssl_npn_encode_protocol_i): fix byte order issue on big-endian architecture [ruby-core:50292] [Bug #7463] |
4bb1bfa0ed10a3a1e2ca04ada24d72e0227ebce7
|
2012-11-30 |
* ext/fiddle/extconf.rb, ext/fiddle/function.c (Fiddle::Function::STDCALL): FFI_STDCALL is not a macro, but an enumeration. [ruby-core:50398] [Bug #7483] |
7b103012dc9fa53f138ea7aa6db9133a3f02081b
|
2012-12-04 |
* ext/fiddle/lib/fiddle/import.rb (import_function, bind_function): should respect call_type for migration from DL to Fiddle. [Bug #7484] [ruby-core:50405] |
b6b8960018dd87fca321be2b701be7cc934f312d
|
2012-12-04 |
* ext/fiddle/lib/fiddle/types.rb: copied from ext/dl/lib/dl/types.rb and modified for Fiddle, needed for migration from DL to Fiddle. |
34422887c2e42866680d289a7207ea4b8cff48fe
|
2012-12-04 |
* test/ruby/memory_status.rb (Memory): use fiddle/types if available. * test/ruby/memory_status.rb (Memory::Win32): :stdcall is needed on x86 WIN32. This commit partly reverts r38054. |
f1841f43eb9d7ec45bcbee7f70abae77d999f76d
|
2012-12-05 |
* ext/dl/lib/dl/func.rb (DL::Function#initialize, DL::Function#bind): ABI should be set by using CFunc#calltype even when Fiddle is used. When Fiddle is used and a block is given, name shoud not be ignored. [ruby-core:50562] [Bug #7514] * ext/dl/lib/dl/import.rb (DL::Importer#bind_function): should respect abi and name when Fiddle is used. * test/dl/test_func.rb (test_name_with_block): test for "name" method with giving a block. |
9920da55936adc025fb65bc00d2973cf0d952d87
|
2012-12-05 |
* ext/dl/lib/dl/func.rb (DL::Function#bind): When Fiddle is used, @ptr should be updated. This fixes SEGV raised in DL::Function#call after calling DL::Function#bind. [Bug #7516] [ruby-dev:46708] * test/dl/test_func.rb (test_bind): test for the above |
382217c8b6633fc6a6c8dbf1173ff491ab86da25
|
2012-12-06 |
* ext/fiddle/lib/fiddle/import.rb (CALL_TYPE_TO_ABI): exclude private constant from RDoc |
34592fb5b6798b15a3fbc1dd62ad5e0250411f52
|
2012-12-06 |
* ext/dl/lib/dl/func.rb (CALL_TYPE_TO_ABI, FiddleClosureCFunc): exclude private constants and methods from rdoc |
0bc733d9e3cf49c67b79a120ba08f1433ce82c7b
|
2012-12-06 |
* ext/fiddle/lib/fiddle/function.rb (Fiddle::Function#name): new attribute needed to switch Win32::Registry from DL to Fiddle. |
a297576c375d1543748f228805619d4d02fc952e
|
2012-12-07 |
* ext/fiddle/function.c (Fiddle::Function.new): fix typo in documentation |
97de2b36e92cc4efec081c51aea62ff40e8c1b56
|
2012-12-07 |
* ext/fiddle/closure.c (Fiddle::Closure.new): fix typo in documentation |
3e6a624a8346ca0c26a292676adb4d0595090f09
|
2012-12-11 |
* ext/fiddle/function.c (Fiddle::Function.new): new keyword argument :name to set the name attribute. * ext/fiddle/lib/fiddle/import.rb (import_function, bind_function): set function name by using the :name keyword argument. Re-fixes r38243. [ruby-core:50566] * test/fiddle/test_function.rb (test_name): test for the :name keyword argument and Fiddle::Function#name. |
1fcde7c2e2bd780fc3bf4bf98fad7054177de5aa
|
2012-12-11 |
* ext/dl/lib/dl/func.rb (DL::Function#unbind, #bound?): suppress NoMethodError when Fiddle is available. [ruby-core:50756] [Bug #7543] * test/dl/test_func.rb (test_bound*, test_unbind*): tests for the above. |
a1a5c879f74720d729f1c6f5db994ad0d2905345
|
2012-12-11 |
* test/dl/test_func.rb (test_name_with_block, test_bind, test_qsort1): call unbind to release the callback closure because maximum number of callbacks is limited to DL::MAX_CALLBACK (== 5) with pure DL without Fiddle. |
13b20230f9c01c94f6878f0aebfb86d659960234
|
2012-12-14 |
* ext/.document: add fiddle/pointer.c, fiddle/handle.c, and fiddle/win32/lib as documentation. |
48bcb55c41135ed72805ebc7847ad3570867c099
|
2012-12-15 |
* ext/fiddle/pointer.c (rb_fiddle_ptr2cptr): fix error message forgotten to be changed from DL to Fiddle. |
e90ccd3beb0b9bf1125461ef68943578739bebbe
|
2012-12-19 |
* marshal.c (marshal_dump, marshal_load): fix SEGV during make rdoc and test failure in TestMarshal#test_gc and test_context_switch on SPARC Solaris 10 compiled with Oracle Solaris Studio 12.3. [Bug #7591] [ruby-dev:46772] |
c84a9acb28f6e566d4047d6601db711d0689e26c
|
2013-02-22 |
* signal.c (ruby_abort): fix typo in r39354 [Bug #5014] |
82b8467e23757a01805698bf0e982fa3b93d9310
|
2013-03-21 |
* marshal.c (marshal_dump, marshal_load): workaround for segv on Intel Solaris compiled with Oracle SolarisStudio 12.3. Partly revert r38174. [ruby-core:52042] [Bug #7805] |
5427a5df05264eb07f295861a1cc5c64222127b5
|
2013-04-06 |
* addr2line.c: quad_t and u_quad_t is not available on Solaris. __inline is not available with old compilers on Solaris. [ruby-dev:47229] [Bug #8227] |
f70a7cd20f5087867d0d6f61c9df180e6eccdf23
|
2013-04-06 |
* configure.in (AC_CHECK_HEADERS): atomic.h for Solaris atomic_ops. * ruby_atomic.h: Skip using Solaris10 atomic_ops on Solaris 9 or earlier if atomic.h is not available. [ruby-dev:47229] [Bug #8228] |
4d0fd22e7dc2b508d56cbd537f2f910e178575ef
|
2013-08-20 |
* test/gdbm/test_gdbm.rb: skip TestGDBM#test_s_open_lock on Solaris. On Solaris (and platforms which do not have flock and have lockf), with GDBM 1.10, gdbm_open(3) blocks when opening already locked gdbm file. [Bug #8790] [ruby-dev:47631] |
a6f13053807a121e2169c3002984ae3916ce089f
|
2013-09-12 |
* Makefile.in (libruby-static.a): change LDFLAGS order. LDFLAGS may include library path that should be specified before LIBS. [ruby-dev:47707] [Bug #8901] |
c3c06ff78c956f6546f1769259328b77c062c444
|
2013-11-14 |
* ruby_atomic.h (ATOMIC_SIZE_CAS): fix compile error on Solaris since r43460. |
42ae24a6e86440d6e05faf81fb278a310aed71ef
|
2013-12-13 |
* internal.h (ruby_sized_xrealloc2): fix typo introduced in r44117, which cause compile error on Solaris. |
1377f38c9b55c9f22647b30af22e1704c426df69
|
2014-04-25 |
* lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the directory is not an empty directory, rmdir() shall fail and set errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST. [Bug #9571] [ruby-dev:48017] |
793d9c14df163808ba142a9435c2d54eb6ea6df6
|
2014-04-30 |
* file.c (FSTATFS): check availability of struct statfs and struct statvfs in addition to fstatfs(2) and fstatvfs(2). This fixes error in Solaris. [Bug #9788] [ruby-dev:48145] |
09f51c56d8c07ef787647f58b1135145980dd59f
|
2014-05-02 |
* file.c (HAVE_STRUCT_STATVFS_F_BASETYPE): File::Statfs#fstypename is supported on AIX, HP-UX, and Solaris, by using the value of struct statvfs.f_basetype. * configure.in (HAVE_STRUCT_STATVFS_F_BASETYPE): check struct statvfs.f_basetype which is available on AIX, HP-UX, and Solaris. |
60ee5e03f14360af6af89e50faffa5e624ae25b7
|
2014-07-09 |
* common.mk (DTRACE_DEPENDENT_OBJS): fix build failure on Solaris introduced in r46768. Object files containing dtrace probes should be listed in DTRACE_DEPENDENT_OBJS. |
90b1b2e607fc0761a9e19af9d10a1f5b499e5894
|
2014-07-10 |
* hash.c (ruby_setenv): Fix TestEnv#test_aset failure on Solaris 9. When name contains '=', ruby_setenv raises Errno::EINVAL. That is the same behavior as Solaris 10. NULL check for malloc return value is also added. |
ca1c23e2a74da7cccb89fd75b95fee87f5b52fb0
|
2014-07-11 |
* test/ruby/envutil.rb (assert_no_memory_leak): On Solaris 9 or later, if possible, execute child ruby with environment variables LD_PRELOAD=libumem.so UMEM_OPTIONS="backend=mmap". With these variables, freed memory is immediately returned to the OS. [Bug #10020] [ruby-dev:48391] |
e49a7bed21e764110ba28fa0d54717d8a5213584
|
2014-07-16 |
* vm_core.h (struct rb_iseq_struct): temporal workaround of [Bug 10037]. Add padding on big-endian 64-bit architecture (e.g. sparc64). |
e54e53f355038fa63091fe441c57a735e187eae7
|
2014-07-16 |
* vm_core.h (struct rb_iseq_struct): stack_max is changed to int because all calculations related to stack_max in compile.c (iseq_set_sequence) and vm_insnhelper.c (vm_push_frame) are conducted by using int. This partly reverts r23945. * vm_insnhelper.c (vm_push_frame): ditto. This reverts r42401. |
834eb1a8f6edd9d5d8c3d283032faa988eafea16
|
2014-07-24 |
* include/ruby/io.h (struct rb_io_buffer_t): PACKED_STRUCT should not be used for platform-specific optimization. PACKED_STRUCT_UNALIGNED should be used. [ruby-core:63988] [Bug #10088] |
6af209e451ba2644856b6719f9f402332ded99ae
|
2014-07-24 |
* ext/rbconfig/sizeof/depend (sizes.c): fix build failure since r46924. [Bug #10089] [ruby-dev:48446] |
9631e3e788f95449d4b81395889c07670ef2dc82
|
2014-10-09 |
* bignum.c (absint_numwords_generic): set an array element after definition of a variable to fix compile error with older version of fcc (Fujitsu C Compiler) 5.6 on Solaris 10 on Sparc. [Bug #10350] [ruby-dev:48608] |
da4a5ef141a7d78f8e72567fc46db2de820833f7
|
2014-11-05 |
* compile.c (compile_data_alloc): add padding when strict alignment is required for memory access. Currently, the padding is enabled only when the CPU is 32-bit SPARC and the compiler is GCC. [Bug #9681] [ruby-core:61715] |
7632a82d5750b7908bd173eda3268ecb0855b934
|
2014-12-25 |
* gc.c (wmap_final_func): fix memory size shortage when realloc wmap. Fix SEGV during finilize of WeakRef on Solaris (though the SEGV could occur on all OS/platforms). [ruby-dev:48779] [Bug #10646] |
b7ff3d3b6811aaef57bb2d7bcef492aa3b921bd0
|
2015-02-03 |
* common.mk (ruby-glommed.o): dependency on $(OBJ) should be written in common.mk (in which OBJ is defined) because of Makefile include and parse order. This partly reverts r49419. [ruby-dev:48849] [Bug #10808] |
ba536e41549f694d5c7434edb967ee571b2161c2
|
2015-03-02 |
* test/net/ftp/test_ftp.rb (create_ftp_server): set SO_OOBINLINE for receiving OOB data which is sended with MSG_OOB flag in portable way. [Bug #10915] [ruby-dev:48885] * test/net/ftp/test_ftp.rb (test_abort, test_status): use gets for receiving OOB data in portable way. |
2e522aec8fe1a8bbfc676b6c36bf6a7f1b55f9a9
|
2015-03-02 |
* configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error. [Bug #10926] [ruby-dev:48888] * configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition to 64-bit. |
607abcc7be089d7eaf30ad3a702aaaebba20c108
|
2015-06-05 |
* ext/socket/ancdata.c (bsock_sendmsg_internal): all arguments are parsed even on systems without HAVE_STRUCT_MSGHDR_MSG_CONTROL to prevent SEGV caused by passing Qnil to RARRAY_LENINT and to preserve behavior before r50776. [Bug #11224] [ruby-core:69468] [Bug #11225] [ruby-core:69469] |
edb8c7a9f3a9e862355a0c30ea7ba040d48759ff
|
2015-06-10 |
* lib/mkmf.rb: revert r50804 because of build failure when specifying LDFLAGS during configure, observed on Solaris with GCC 4.6. [Bug #11245] |
f59356a85a3c672357e2893ab1ac905bb7655829
|
2015-06-19 |
* process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP to generate envp_str anytime on Solaris 10 (or earlier version of Solaris) to avoid calling execv() which is async-signal unsafe on Solaris 10. [Bug #11265] [ruby-dev:49089] |
05f78a6fd28519feb29e2ea9cd9d90601b08765c
|
2015-06-22 |
* test/lib/test/unit.rb (Test::Unit::Parallel#start_watchdog): removed because it has been meaningless since r36385. [Bug:11288] |
63dda7f9776b722fb67f84da7736d2e82498cc17
|
2015-06-22 |
fix typo aroud Bug numbering format |
8ffefcb621510e7964f0e33290d7b247bfaa4988
|
2015-06-25 |
* test/lib/envutil.rb (Test::Unit::Assertions#assert_no_memory_leak): NO_MEMORY_LEAK_ENVS is moved to Memory::NO_MEMORY_LEAK_ENVS to reduce child executions during test-all on Solaris. |
d47a2b571296b9e726531f61690010eb1fa3d402
|
2015-06-25 |
* configure.in: not to use vfork on Solaris to avoid deadlock occurred in vfork(2) with multi-threading and dynamic linker on Solaris. [Bug #11265] [ruby-dev:49089] |
33a17d48397518c2110be41ad8793705a701a7fe
|
2015-06-25 |
* test/-ext-/popen_deadlock/test_popen_deadlock.rb: test [Bug #11265] |
4d23a784f5b001450715ef1d44ae2ef9fd06902b
|
2015-07-10 |
* process.c (rb_f_exec): rb_exec_without_timer_thread should be used on every OS, not only on Mac OS X or Haiku, to prevent timer thread communications using file descriptor 3 after setting redirection of the fd 3 before calling exec. [Bug #11336] [ruby-core:69886] |
d1bce9ec5576598a5d943de10da2162ae8a22f94
|
2015-07-15 |
* process.c (redirect_close, parent_redirect_close): should not close reserved FD. It should be closed in the exec system call due to the O_CLOEXEC or FD_CLOEXEC flag. [Bug #11353] [ruby-core:69977] |
7a1413a768f4f45aa62584e5cd51cb6078e67c7f
|
2015-07-15 |
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): use RUBY (= EnvUtil.rubybin) |
66a36e9b13e3e7eee3ecc4f844be72416d1863cf
|
2015-07-15 |
* test/ruby/test_process.rb (test_exec_close_reserved_fd): test for [Bug #11353] |
db2fe4b8ef549c0794a54178a3e6b2bdd88a6291
|
2015-07-16 |
Revert r51209 because signals after stopping timer thread before entering exec(2) system call may be lost. |
f242e17f9b011e1e78cf64eabf1d39d67a7ca274
|
2015-07-16 |
* process.c (redirect_dup2): when the new FD of dup2() coflicts with one of the timer thread FDs, the internal FD is diverted. [Bug #11336] [ruby-core:69886] [Bug #11350] [ruby-core:69961] |
6f8d3709dac0cd20c01d46cf6e890e07eaf081a2
|
2015-07-24 |
* test/rinda/test_rinda.rb (RingIPv6#prepare_ipv6): prevent to use IPv6 loopback interface for Rinda::TestRingFinger#test_make_socket_ipv6_multicast and Rinda::TestRingFinger#test_make_socket_ipv6_multicast_hops. The tests are skipped if there are no IPv6 devices other than the loopback device. [Bug #11394] [ruby-dev:49199] |
061b5041695899b63ea0c9481f314a0e2cc188c1
|
2015-10-28 |
* probes_helper.h (RUBY_DTRACE_HOOK): add RB_GC_GUARD, though paranoic. |
2819e3b841e662bac8b265ee25dcb114b7923e34
|
2015-10-28 |
revert r52312 because the failure does not always occur on Solaris depending on the content of /etc/inet/services, and skipping the assertion by using RUBY_PLATFORM is generally a bad idea. In addition, no ChangeLog is given with the commit. |
1dcd94df24b47983c3c723c7196463db326f4156
|
2015-10-28 |
* test/rubygems/test_gem_commands_server_command.rb (test_handle_options_port): change port from http to discard. Solaris does not include "http 80/tcp" in its default /etc/inet/services. AFAIK, discard (9/tcp) is older than http and it is expected that all OS can resolve the service name. [Bug #10004] [ruby-core:63518] |
71c972c05b23fe88543e9bb911be119edde52dd6
|
2015-11-02 |
* parse.y (NO_QCALL): fix type mismatch of operands that causes compile error with Oracle Solaris Studio on Solaris. [Bug #11645] [ruby-dev:49327] |
fcf63d1e54384420a1ac8b5b5e2b7bd0b53a5df3
|
2015-11-06 |
* include/ruby/ruby.h (rb_array_const_ptr, rb_struct_const_ptr): Suppress pointer type mismatch warnings occurred with old version of Fujitsu C Compiler (fcc) on Solaris 10. The warnings cause failure of TestMkmf::TestConvertible. [Bug #11644] [ruby-dev:49326] * include/ruby/ruby.h (FIX_CONST_VALUE_PTR): macro for the above, only effective with fcc. |
7ceb0f9eb4c5eea155e27a29a6e86a63229979d8
|
2015-11-06 |
* dir.c (dir_fileno, dirfd): support of Dir#fileno on Solaris 10. Solaris 10 does not have dirfd, but the file descriptor of a directory is stored in the d_fd or dd_fd member in the DIR struct. Note that Solaris 11 has dirfd(3C). |
b935a13ba559a6993f6fcbdcc1096ef6b2d41b02
|
2015-11-10 |
* bootstraptest/test_fork.rb ([ruby-dev:37934]): :NPROC (RLIMIT_NPROC) is not supported on some platforms (e.g. Solaris 10). |
238c6c5b89179d46e2e4ede21803c4cd55b9a767
|
2015-11-13 |
* pack.c (pack_unpack, AVOID_CC_BUG): Very ugly workaround for optimization bug of Oracle Solaris Studio 12.4 on Solaris with -xO4 optimization option. [Bug #11684] |
7506498f3894316ba4f644270497edfeddfbceab
|
2015-11-16 |
* test/dtrace/helper.rb (Dtrace::TestCase#trap_probe): dtrace buffer size is set as 8m on Solaris (default 4m). [Bug #11697] |
0917a3dea28f92d9ec7533faa1b83d690653c152
|
2015-11-21 |
* test/socket/test_socket.rb (test/socket/test_socket.rb): skip the test when Socket::SO_TIMESTAMP is not defined. Fix error on Solaris 10. [Bug #11728] [ruby-dev:49377] |
0a205155cf2eeee9ffc81ff931266a3e55322fdc
|
2015-11-21 |
* configure.in: Add -D_XOPEN_SOURCE=500 (or 600 or 700) on Solaris if available, mainly for enabling some features in sockets. |
9546cb5272a14a541b7c160b8be8185eb3019738
|
2015-11-22 |
* configure.in: On Solaris, add -D_XOPEN_SOURCE=n only when both AC_TRY_CPP and AC_TRY_COMPILE pass, because some options (e.g. -std=iso9899:1999) are not set when running C preprocessor or building ext. |
d71ead259e0b28aa8e6dc472c3fa33adbe0b23eb
|
2015-11-22 |
* lib/cmath.rb: methods which has suffix '!' are now deprecated. Re-apply r52469 made by Kazuki Tanaka, with fixing bug about mathn.rb compatibility. [ruby-core:68528] [Feature #10974] |
6965964df65c1c3679b92b92101225e4a709ba73
|
2015-11-23 |
* configure.in: On Solaris, with gcc, "-std=iso9899:1999" in $ansi_options is often also needed in CPPFLAGS, because some feature definitions vary depending on such standards options. |
06c04b3874a764b5bcdcadcea2e30ed9d9c69d86
|
2015-11-24 |
* configure.in: On Solaris, it is safe to define _LARGEFILE_SOURCE when _FILE_OFFSET_BITS=64 is defined (= when 32-bit compile). |
bc9ac3ab7fd708abda59ed87e1b79a05729a41c0
|
2015-12-04 |
* include/ruby/ruby.h (RB_OBJ_TAINT): follow-up of r52881. Turn into void expression not to use unexpected result. Fix "operands have incompatible types" error with Oracle Solaris Studio 12.x on Solaris. |
14c46e5f1a4e2b905dcc17880fa40e09a4690b53
|
2015-12-08 |
* test/io/console/test_io_console.rb (test_getpass): s.getpass should be tested. Narrow ensure block. This reverts r52911. [Bug #11780] [ruby-dev:49412] |
d573666e625aa83cc0957c1e59f56c9e7938b14e
|
2015-12-08 |
* test/io/console/test_io_console.rb (run_pty): Avoid waiting twice for a process. Fix Errno::ECHILD in TestIO_Console#test_close and TestIO_Console#test_sync. |
cef1f23e899a9ac36bb5e470b389e5d289f6cb0b
|
2015-12-15 |
* gc.c: Delete excess semicolon after RUBY_ALIAS_FUNCTION(). Suppress "syntax error: empty declaration" warnings by Oracle Solaris Studio 12.x on Solaris. [Bug #11821] |
804720d2eb2b04ebc9295fc1181185941a889cb5
|
2015-12-15 |
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize): TimeoutMutex should be acquired when accessing @timeout_info. To avoid deadlock, interrupt() calls are delayed. Due to the mutex, it is safe to treat ary without ary.dup. [Bug #11742] [ruby-dev:49387] |
e337dc65173f11b2be9e620acb34dc91a64fe520
|
2015-12-15 |
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): Acquire TimeoutMutex only when accessing @timeout_info for avoiding potential deadlock. [Bug #11742] [ruby-dev:49387] |
0967c1e3ad0fb8d36e0b4fe4117f8e6faca3e9f0
|
2015-12-18 |
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler): To prevent potential deadlocks, Queue is used to tell update of @timeout_info instead of sleep and wakeup. [Bug #11742] [ruby-dev:49387] |
a2bf609304a85a327824516be8ae614c11c14d37
|
2015-12-19 |
* enc/windows_1250.c: Should not use C++ style comments (C99 feature). [Bug #11843] |
3bf3f825c3fee660fd50ef9d7f3f69c8f58b106d
|
2015-12-21 |
* variable.c (struct ivar_update): rename "extended" to "iv_extended" to avoid name conflict with /usr/include/floatingpoint.h on Solaris. [Bug #11853] [ruby-dev:49448] |
1c8b8173bee3804d72e0940fb0e2b95782ea01b9
|
2016-01-04 |
* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of Fujitsu C Compiler (fcc) on Solaris. [Bug #11944] [ruby-dev:49468] |
5df321fb1dfdfc032d882f7e160279512c8078b8
|
2016-01-15 |
* regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): The value of UNALIGNED_WORD_ACCESS should be used to determine whether unaligned word access is allowed or not. After this commit, ./configure CPPFLAGS="-DUNALIGNED_WORD_ACCESS=0" disables unaligned word access even on platforms that support the feature. |
2b97ab88e031327b1beaa6b169cd3ec966901067
|
2016-05-20 |
Use RB_GNUC_EXTENSION_BLOCK instead of __extension__ |
8a775968586a1d3f1a3520ffe0b49989d59d3ae4
|
2016-05-20 |
Use HAVE_BUILTIN___BUILTIN_CONSTANT_P |
02cafdf4916480c2a5b015553cf5b02d6120aed4
|
2016-05-20 |
capa should be even number on 64-bit SPARC for 8-byte word alignment |
fd25eea0e4c1965a4e199317547ec47f4d8f1b93
|
2016-06-08 |
* include/ruby/intern.h: Remove excess semicolons in PUREFUNC(). Fix failure of TestMkmf::TestConvertible on Solaris with Oracle Solaris Studio 12. [ruby-dev:49651] [Bug #12470] * internal.h: ditto. |
404d6e9f38a8b7069287711bfb3431c52d363f56
|
2016-06-08 |
Makefile.in: revert r55303 because of an error on Solaris 10. [Bug #12471] [ruby-dev:49654] |
8a8d3e2ed433a7a305253ea2bb6698510b6e1ed6
|
2016-06-10 |
* include/ruby/defines.h (GCC_VERSION_SINCE): Fix logic error by adding parentheses. Fix failures of TestMkmf::TestConvertible with GCC 3.4.3 on Solaris 10. [Bug #12479] [ruby-dev:49660] |
8b251c6c2c32129c3bd8df23edf576ec7f4d2f85
|
2016-06-28 |
* ext/digest/md5/md5ossl.h: Remove excess semicolons. Suppress warning on Solaris with Oracle Solaris Studio 12. [ruby-dev:49692] [Bug #12524] |
f2ee22371b15411e818b23199161d1658ba08622
|
2016-06-30 |
* string.c: Fix memory corruptions when using UTF-16/32 strings. [Bug #12536] [ruby-dev:49699] |
6734a0c3d9cf46d3c7e2b0368fd42ab40e74a5c8
|
2016-07-01 |
string.c: Add parentheses to avoid C source code ambiguity. [Bug #12536] |
10e28726a149d7d01e0c3dedb9694ec312cd8a9d
|
2016-07-01 |
* string.c (rb_str_subseq, str_substr): When RSTRING_EMBED_LEN_MAX is used, TERM_LEN(str) should be considered with it because embedded strings are also processed by TERM_FILL. Additional fix for [Bug #12536] [ruby-dev:49699]. |
053c1e08e3cf3986d194ea809947f7916877f494
|
2016-07-01 |
* test/fiddle/test_pointer.rb (test_to_str, test_to_s, test_aref_aset): Attempt to use independent strings for destructive tests that directly modify values on memory by using Fiddle::Pointer. [Bug #12537] [ruby-dev:49700] |
a92a537bf4ada05a763ad3e43c9ebef0038643d8
|
2016-07-01 |
* string.c: Specify termlen as far as possible. Additional fix for [Bug #12536] [ruby-dev:49699]. |
61f2ee0d90e017e387c537bba6322075fbf4884c
|
2016-07-01 |
* string.c (str_fill_term): When termlen increases, re-allocation of memory for termlen should always be needed. In this fix, if possible, decrease capa instead of realloc. [Bug #12536] [ruby-dev:49699] |
3418a277d8359ac10ba0ccc047b9189d8f5f6fe3
|
2016-07-01 |
* string.c: Partially reverts r55547 and r55555. ChangeLog about the reverted changes are also deleted in this file. [Bug #12536] [ruby-dev:49699] [ruby-dev:49702] |
5eff15d1bdda4efcdd8aa59c91c804e345394a1c
|
2016-07-05 |
* string.c (rb_str_change_terminator_length): New function to change termlen and resize heap for the terminator. This is split from rb_str_fill_terminator (str_fill_term) because filling terminator and changing terminator length are different things. [Bug #12536] |
2529b3835f10eb2659705fc373dc0d79a4dd9c5a
|
2016-07-06 |
enc/iso_8859_14.c: Fix compile error by old version of fcc on Solaris 10. [Bug #12559] |
79e46488e82402c5db6ca403597508e0e7fed059
|
2016-07-08 |
* thread.c (rb_wait_for_single_fd): Clean up fds.revents every time before calling ppoll(2). [Bug #12575] [ruby-dev:49725] |
2bb292fccf9560b2c885b4368e5c5fc3fe2a2bda
|
2016-07-15 |
* string.c (str_buf_cat): Fix capa size for embed string. Fix bug in r55547. [Bug #12536] |
20c4461d86487447e0c8208514ff90835104b89c
|
2016-07-15 |
* string.c (str_buf_cat): Fix potential interger overflow of capa. In addition, termlen is used instead of +1. |
4e062d14d205c6a23c59829aa6b2a570d4bfea35
|
2016-08-24 |
* include/ruby/defines.h (ALWAYS_INLINE): Add alternative definition. Fix compile error with compilers that do not have force inline attribute, including old version of fcc on Solaris 10. |
8fb654e4260453245204aff5bc078fc233ee5736
|
2016-08-24 |
Fix ChangeLog [ci skip] |
c1dbcf9b7e463b3edbebfec5ab6f4ab4681bb6b7
|
2016-09-16 |
* hash.c (each_pair_i_fast): Fix compile error with old version of fcc on Solaris 10. [Bug #12768] [ruby-dev:49808] |
16391af2e2f58047a6b47336e0b8970bbdaddb34
|
2016-09-16 |
* internal.h (MAYBE_UNUSED): The fallback definition is needed. Fix compile error with some non-GCC compilers such as Oracle Solaris Studio 12.3 on Solaris 10. [Bug #12767] [ruby-dev:49807] |
54fa33ea491bb1c47400d4534f649efbd47767e3
|
2016-09-16 |
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): Fix compile error with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #12769] [ruby-dev:49809] |
902240180986dc209bf4e223397f316448693db0
|
2016-12-21 |
regcomp.c: Fix compile error with old version of fcc on Solaris |
f687a147ebd7ef029a9b95d599cebabbc04bbf1c
|
2017-04-14 |
Workaround for optimization bug of Oracle Solaris Studio 12.4 and 12.5 |
d088cb2727f8ee68e02b95b4d0a88e422439bd58
|
2017-12-18 |
eval_error.c: Fix compile error on Solaris 10 |
b75828fdfadaff6c5e09e42be32dff1216ed8fb1
|
2017-12-18 |
Support C89 if possible |
504842d81ff614f21a3e756625cdfe3741a6de06
|
2017-12-19 |
Workaround for optimization bug of Oracle Developer Studio 12.4-12.6 |
b37fc5aa7e3ec121380f1db658498ea879c7c3b7
|
2017-12-19 |
skip test_aspawn_too_long_path on Solaris 10 or earlier |
2adf28159308bd09fdaa92c019ce7ed15b7c94e4
|
2017-12-30 |
bit fields treating negative values should be declared as signed int |
f62a2fd1eb8b44d0471f0e36febf0de2489e5b74
|
2018-01-16 |
fix macro argument names inconsistency |
5cc2ac98a93c74a75d7fc3a773193d288906cdc4
|
2018-05-11 |
mkmf.rb: set cppflags |
1c67c46efbfd07e35e6e02fdade5a368f1a5a026
|
2018-05-11 |
transform_mjit_header.rb: workaround for Solaris 10 with old GCC |
3d1e34c1ce3e9e20782d860ca5458637b1488ed0
|
2018-05-11 |
configure.ac: remove ineffective check on Solaris with GCC |
80bf542a6ccc8988e7ac6dbabcfe8955c587d402
|
2018-05-15 |
Split TestThread#test_join_limits into peaces |
577002efacf9a4c47e5a0e32f9fa9e55d25dc0b7
|
2018-05-15 |
Change logic to check _XOPEN_SOURCE on Solaris |
52b29a3314e7dc2b1ca096ee39d78b12611982bc
|
2018-05-16 |
configure.ac: revert r63438 |
88cb22e979d28bbb81519ab06c85b2d4776def11
|
2018-05-16 |
configure.ac: move checks of -std=gnu99 and _XOPEN_SOURCE on Solaris |
a667fe79ead7714c8c563da882a4bb5f9fd1d6f4
|
2018-05-16 |
configure.ac: move the checks of _XOPEN_SOURCE on Solaris |
26cbe46e6815f030bea01fa0f06d729d92b82773
|
2018-05-23 |
ext/pty/pty.c: I_FIND before I_PUSH if possible |
b7595f2c2ec14389170808dfb36b1d99c9d0e899
|
2018-06-05 |
include/ruby/missing.h: defined(__cplusplus) before using __cplusplus |
2c68033a6d2d56d92a1ff787eb3d5913d98729b8
|
2018-07-02 |
Makefile.in: ARCH_FLAG may contain "-m64" etc. |