mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merges r20379 from trunk into ruby_1_9_1.
* strftime.c (rb_strftime): should add padding for %%. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c16831bff7
commit
7367da56c0
2 changed files with 3 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
Thu Nov 27 23:54:37 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
Thu Nov 27 21:41:29 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* gc.c (gc_mark): still needs to check stack depth during GC.
|
||||
|
||||
* gc.c (stack_check): ditto.
|
||||
* strftime.c (rb_strftime): should add padding for %%.
|
||||
|
||||
Thu Nov 27 16:32:53 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
|
|
|
@ -319,6 +319,7 @@ rb_strftime(char *s, size_t maxsize, const char *format, const struct tm *timept
|
|||
goto unknown;
|
||||
|
||||
case '%':
|
||||
FILL_PADDING(1);
|
||||
*s++ = '%';
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue