Project

General

Profile

« Previous | Next » 

Revision f2f14f57

Added by kosaki (Motohiro KOSAKI) over 12 years ago

  • time.c (rb_strftime_alloc): raise ERANGE if width is too large.
    Patch by Nobuyoshi Nakada. [Bug #4457] [ruby-dev:43285]

  • test/ruby/test_time.rb (class TestTime): add a test for the
    above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e