Backport #2392

"Date.valid_civil?" issue in p383

Added by Ozgun Koyun about 2 years ago. Updated 10 months ago.

[ruby-core:26868]
Status:Closed Start date:11/23/2009
Priority:Normal Due date:
Assignee:Kirk Haines % Done:

100%

Category:-
Target version:-

Description

This is how I tested:

$ irb
ruby-1.8.6-p383 > require "date"
 => true
ruby-1.8.6-p383 > Date.valid_civil?(2009, 11, 23)
 => nil


System information:


$ rvm info

system:
  uname: "Linux batmobile 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux"

ruby:
  interpreter:  "ruby"
  version:      "1.8.6"
  date:         "2009-08-04"
  platform:     "i686-linux"
  patchlevel:   "2009-08-04 patchlevel 383"
  full_version: "ruby 1.8.6 (2009-08-04 patchlevel 383) [i686-linux]"

homes:
  gem:          "/home/ozgun/.rvm/gems/ruby/1.8.6"
  ruby:         "/home/ozgun/.rvm/ruby-1.8.6-p383"

binaries:
  ruby:         "/home/ozgun/.rvm/ruby-1.8.6-p383/bin/ruby"
  irb:          "/home/ozgun/.rvm/ruby-1.8.6-p383/bin/irb"
  gem:          "/home/ozgun/.rvm/ruby-1.8.6-p383/bin/gem"
  rake:         "/home/ozgun/.rvm/ruby-1.8.6-p383/bin/rake"

environment:
  GEM_HOME:     "/home/ozgun/.rvm/gems/ruby/1.8.6"
  MY_RUBY_HOME: "/home/ozgun/.rvm/ruby-1.8.6-p383"
  IRBRC:        "/home/ozgun/.rvm/ruby-1.8.6-p383/.irbrc"


This is my first post here, hope I'm doing it right.

Thanks.

Associated revisions

Revision 28153
Added by wyhaines over 1 year ago

Backport #2392 [ruby-core:26868]; backport of r23353 which suppresses a strict-aliasing warning in gcc-4.4.x -O2.

History

Updated by Nobuyoshi Nakada about 2 years ago

  • Status changed from Open to Closed
I can't reproduce it with p388.

Updated by Ozgun Koyun about 2 years ago

Hi Nobuyoshi,

Did you try it on Linux? I asked a friend to test it. Although it was working well on Mac, he was able to reproduce on Ubunut 9.10.

"I can't reproduce it with p388." You mean p383, right?

Thanks.

Updated by tadayoshi funaba about 2 years ago

i couldn't reproduce this problem.
but, it seems to be an issue on build.
i strongly recommend you to execute "make test-all".

Updated by Nobuyoshi Nakada about 2 years ago

Hi,

At Tue, 24 Nov 2009 00:30:32 +0900,
Ozgun Koyun wrote in [ruby-core:26875]:
> "I can't reproduce it with p388." You mean p383, right?

No, the latest is p388.

-- 
Nobu Nakada

Updated by Nobuyoshi Nakada about 2 years ago

  • Status changed from Closed to Assigned
  • Assignee set to Kirk Haines

Updated by Nobuyoshi Nakada about 2 years ago

r23353.

Updated by Kirk Haines over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
This issue was solved with changeset r28153.
Ozgun, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

Also available in: Atom PDF