< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事(スレッド移動)
N :次の記事(スレッド移動)
|<:前のスレッド
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Issue #6652 has been updated by tadf (tadayoshi funaba).
Status changed from Assigned to Closed
already accepts if rational also accept
----------------------------------------
Bug #6652: broken Marshal compatibilities on Date and DateTime
https://bugs.ruby-lang.org/issues/6652#change-27696
Author: nobu (Nobuyoshi Nakada)
Status: Closed
Priority: Normal
Assignee: tadf (tadayoshi funaba)
Category: ext
Target version: 2.0.0
ruby -v: 2.0.0
=begin
(({Date})) and (({DateTime})) dumped by 1.8 or earlier cannot be loaded by trunk.
$ /usr/bin/ruby -v
ruby 1.8.7 (2011-12-28 patchlevel 357) [universal-darwin11.0]
$ ruby -v
ruby 2.0.0dev (2012-06-26 trunk 36225) [universal.x86_64-darwin11]
$ /usr/bin/ruby -rdate -e 'Marshal.dump(Date.today, STDOUT)' | ruby -rdate -e 'p Marshal.load(STDIN)'
-e:1:in `load': class Date needs to have method `_load' (TypeError)
from -e:1:in `<main>'
bash: exit 1
$ /usr/bin/ruby -rdate -e 'Marshal.dump(DateTime.now, STDOUT)' | ruby -rdate -e 'p Marshal.load(STDIN)'
-e:1:in `load': class DateTime needs to have method `_load' (TypeError)
from -e:1:in `<main>'
bash: exit 1
Patch attached.
=end
--
http://bugs.ruby-lang.org/