mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
e56f2abe4b
Error caused by unalignment access on Sparc-Solaris (and possibly on other similar environment.) This patch just do memcpy always instead of checking architecture. I see no perf drop on my 64bit env. For more details, see #4320. * test/digest/test_digest.rb: add test for unalignment access. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
143 lines
4.8 KiB
Text
143 lines
4.8 KiB
Text
Fri Jul 15 09:10:41 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
|
|
|
|
* ext/digest/sha2/sha2.c (SHA256_Update, SHA512_Update): avoid Bus
|
|
Error caused by unalignment access on Sparc-Solaris (and possibly on
|
|
other similar environment.) This patch just do memcpy always instead
|
|
of checking architecture. I see no perf drop on my 64bit env. For
|
|
more details, see #4320.
|
|
|
|
* test/digest/test_digest.rb: add test for unalignment access.
|
|
|
|
Fri Jul 15 01:51:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|
|
|
* regint.h (PLATFORM_UNALIGNED_WORD_ACCESS): Power PC does not
|
|
allow unaligned word access.
|
|
|
|
* st.c (UNALIGNED_WORD_ACCESS): x86_64 allows unaligned word
|
|
access as well as i386.
|
|
|
|
Thu Jul 14 12:19:34 2011 Hiroshi Nakamura <nahi@ruby-lang.org>
|
|
|
|
* ext/openssl/ossl.c (ossl_verify_cb): trap the exception from
|
|
verify callback of SSLContext and X509Store and make the
|
|
verification fail normally. Raising exception directly from callback
|
|
causes orphan resouces in OpenSSL stack. Patched by Ippei Obayashi.
|
|
See #4445.
|
|
|
|
* test/openssl/test_ssl.rb
|
|
(test_exception_in_verify_callback_is_ignored): test it.
|
|
|
|
Tue Jul 12 23:41:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
|
|
|
* NEWS: add a description of Signal.trap change.
|
|
|
|
Tue Jul 12 20:02:35 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
|
|
|
* signal.c (reserved_signal_p): reverted a part of r32523.
|
|
chikanaga noticed trap(:CHLD) has some realworld usecase.
|
|
* test/ruby/test_signal.rb (TestSignal#test_reserved_signal):
|
|
ditto.
|
|
|
|
Tue Jul 12 17:12:45 2011 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|
|
|
* vm_method.c (rb_add_method): should not call method_added hook
|
|
for undef operation. [Bug #5015]
|
|
|
|
Tue Jul 12 16:58:44 2011 Shota Fukumori <sorah@tubusu.net>
|
|
|
|
* lib/test/unit.rb(Test::Unit::Options#process_args): Fix bug.
|
|
Fix process_args didn't return `@option` after r30939.
|
|
|
|
Tue Jul 12 14:07:46 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
|
|
|
* signal.c (install_sighandler): fixed a race.
|
|
|
|
Tue Jul 12 13:49:32 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
|
|
|
* signal.c (sig_trap): don't permit to change a signal handler which
|
|
the interpreter reserved.
|
|
* signal.c (reserved_signal_p): ditto.
|
|
[Bug #2616] [ruby-core:27625]
|
|
|
|
* test/ruby/test_signal.rb (TestSignal#test_reserved_signal):
|
|
added a test for reserved signal.
|
|
|
|
Tue Jul 12 11:58:28 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
|
|
|
* win32/setup.mak: support x86-amd64 cross compile environment.
|
|
|
|
Mon Jul 11 23:22:28 2011 Yutaka Kanemoto <kanemoto@ruby-lang.org>
|
|
|
|
* time.c: can't compile time.c on AIX due to missing declaration for
|
|
ffs(). It is declared in strings.h on AIX.
|
|
|
|
Mon Jul 11 15:54:24 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
|
|
|
* process.c: removed signal() macro. It's no longer used.
|
|
|
|
Mon Jul 11 15:02:24 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
|
|
|
* numeric.c (rb_num2ull): use FIX2LONG instead of FIX2ULONG. see
|
|
rb_num2ulong(). fixed the problem of ObjectSpace._id2ref of IL32LLP64
|
|
platforms, introduced at r32433.
|
|
|
|
Mon Jul 11 05:38:05 2011 Yutaka Kanemoto <kanemoto@ruby-lang.org>
|
|
|
|
* thread_pthread.c (get_stack): need to adjust stack addr for
|
|
[Bug #1813] on AIX.
|
|
|
|
Mon Jul 11 01:16:27 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
|
|
|
* thread_pthread.c (rb_thread_create_timer_thread): removed
|
|
rb_disable_interrupt()/rb_enable_interrupt().
|
|
* vm_core.h: ditto.
|
|
* process.c (static void before_exec): ditto.
|
|
* process.c (static void after_exec): ditto.
|
|
[Bug #4765] [ruby-dev:43571]
|
|
|
|
* eval_intern.h: removed rb_trap_restore_mask().
|
|
* vm_eval.c (rb_throw_obj): ditto.
|
|
* eval.c (setup_exception): ditto.
|
|
|
|
* signal.c: removed trap_last_mask.
|
|
* signal.c (trap_restore_mask): removed.
|
|
* signal.c (init_sigchld): comment clarification why signal block
|
|
is needed. and removed trap_last_mask operation.
|
|
* signal.c (trap_ensure): removed trap_last_mask operation.
|
|
|
|
* signal.c (rb_disable_interrupt, rb_enable_interrupt): made
|
|
static and removed sigdelset(SIGVTALRM) and sigdelset(SIGSEGV).
|
|
|
|
* process.c (rb_syswait): removed implicit signal handler change.
|
|
|
|
Sun Jul 10 23:49:12 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
|
|
|
* docs/NEWS-1.9.3: moved from NEWS.
|
|
|
|
* docs/ChangeLog-1.9.3: merged ChangeLog for 1.9.3.
|
|
|
|
* NEWS: NEWS for 1.9.4 that describes changes since 1.9.3
|
|
|
|
* ChangeLog: new ChangeLog for 1.9.4.
|
|
|
|
Sun Jul 10 23:30:52 2011 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
|
|
|
* version.h (RUBY_VERSION): ruby_1_9_3 branch was forked.
|
|
|
|
For the changes before 1.9.3, see doc/ChangeLog-1.9.3
|
|
For the changes before 1.8.0, see doc/ChangeLog-1.8.0
|
|
|
|
Local variables:
|
|
coding: us-ascii
|
|
add-log-time-format: (lambda ()
|
|
(let* ((time (current-time))
|
|
(system-time-locale "C")
|
|
(diff (+ (cadr time) 32400))
|
|
(lo (% diff 65536))
|
|
(hi (+ (car time) (/ diff 65536))))
|
|
(format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t)))
|
|
indent-tabs-mode: t
|
|
tab-width: 8
|
|
change-log-indent-text: 2
|
|
end:
|
|
vim: tabstop=8 shiftwidth=2
|