diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | strftime.c | 1 |
2 files changed, 3 insertions, 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> diff --git a/strftime.c b/strftime.c index 79c5fe4fa..248c695e0 100644 --- a/strftime.c +++ b/strftime.c @@ -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; |