diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/date/date_strftime.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Mar 20 23:09:34 2011 Tadayoshi Funaba <tadf@dotrb.org> + + * ext/date/date_strftime.c: checks duplicated modifiers. + Sun Mar 20 22:32:30 2011 Tadayoshi Funaba <tadf@dotrb.org> * ext/date/date_strftime.c: removed unused code and arguments. diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c index 06ca9b0aff..3ac20c87f5 100644 --- a/ext/date/date_strftime.c +++ b/ext/date/date_strftime.c @@ -663,10 +663,12 @@ date_strftime_wo_timespec(char *s, size_t maxsize, const char *format, case 'E': /* POSIX locale extensions, ignored for now */ + SKIP_MODIFIER_EO; flags |= BIT_OF(LOCALE_E); goto again; case 'O': /* POSIX locale extensions, ignored for now */ + SKIP_MODIFIER_EO; flags |= BIT_OF(LOCALE_O); goto again; |